joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f2700
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, ecx
mov ecx, 8
or eax, 0xffffffff
push ebx
push esi
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x30]
test al, al
je 0x4f2774
mov esi, dword [edx + 0xa4]
xor eax, eax
mov cl, byte [edx + eax + 0x12c]
mov bl, byte [esi + eax]
xor cl, bl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x20
jl 0x4f2726
xor eax, eax
mov ecx, dword [edx + 0xa8]
mov esi, dword [edx + 0xa4]
mov cl, byte [ecx + eax]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x20
jl 0x4f273e
xor eax, eax
mov ecx, dword [edx + 0xa8]
mov bl, byte [esp + eax + 0xc]
mov byte [ecx + eax], bl
inc eax
cmp eax, 0x20
jl 0x4f2758
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
xor eax, eax
mov ecx, dword [edx + 0xa4]
mov bl, byte [ecx + eax]
lea esi, [ecx + eax]
mov cl, byte [edx + eax + 0x12c]
xor bl, cl
inc eax
cmp eax, 0x20
mov byte [esi], bl
jl 0x4f2776
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4

Function at 0x4f27a0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x40
xor eax, eax
movsx edx, byte [eax + 0x5d17f8]
inc eax
mov dl, byte [edx + ecx + 0x63]
cmp eax, 0x40
mov byte [esp + eax - 1], dl
jl 0x4f27a5
push esi
push edi
lea edi, [ecx + 0x64]
mov ecx, 0x10
lea esi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
add esp, 0x40
ret
Function at 0x4f4880
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x78
push esi
mov esi, ecx
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], 0
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x88]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, esi
call fcn.004f4fe0
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
movsx edx, byte [eax + 0x5d1e50]
inc eax
mov cl, byte [esp + edx + 0x3f]
cmp eax, 0x38
mov byte [esp + eax + 7], cl
jl 0x4f48c9
mov edx, dword [esp + 0x88]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.004f4900
pop edi
pop esi
add esp, 0x78
ret 8
Function at 0x4f4900
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
mov edx, ecx
push edi
xor ebx, ebx
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0xc4]
mov ecx, 7
mov esi, eax
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x1c]
mov ecx, 7
lea edi, [esp + 0x6c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x10], eax
lea ecx, [ecx + ecx*2]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x14], ecx
movsx eax, byte [eax + 0x5d1eb8]
mov edx, eax
lea edi, [esp + 0x34]
neg edx
lea esi, [esp + eax + 0x50]
lea ebp, [edx + 0x1c]
mov ecx, ebp
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x50]
mov ebx, ecx
lea edi, [esp + edx + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
lea esi, [esp + eax + 0x6c]
mov ebx, ecx
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
lea esi, [esp + 0x6c]
lea edi, [esp + edx + 0x34]
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xd
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
lea esi, [esp + 0x34]
lea edi, [esp + 0x88]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x18]
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
movsx ecx, byte [eax + 0x5d1e88]
inc eax
mov cl, byte [esp + ecx + 0x87]
cmp eax, 0x30
mov byte [edx + eax - 1], cl
jl 0x4f4a1a
mov eax, dword [esp + 0x10]
mov ecx, 7
lea esi, [esp + 0x34]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
inc eax
mov ecx, 7
lea esi, [esp + 0x18]
lea edi, [esp + 0x6c]
add edx, 0x30
cmp eax, 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jl 0x4f4971
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8
Function at 0x4f4a80
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd1]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x118]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x94]
push eax
push ecx
mov ecx, ebp
call fcn.004f4fe0
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f4e60
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x118]
xor esi, esi
push edi
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, ebp
call fcn.004f4d20
inc esi
cmp esi, 0x10
jl 0x4f4b4b
mov ecx, 8
lea esi, [esp + 0x10]
lea edi, [esp + 0xd0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x30]
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x600]
movsx edx, byte [eax + 0x5d2158]
inc eax
mov dl, byte [esp + edx + 0xcf]
cmp eax, 0x40
mov byte [ecx + eax - 1], dl
jl 0x4f4b90
push 0x40
lea eax, [ebp + 0x680]
push ecx
push eax
mov ecx, ebp
call fcn.004f5020
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8
Function at 0x4f4bd0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x91]
mov byte [esp + 0x90], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xd1]
push 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x118]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x94]
push eax
push ecx
mov ecx, ebp
call fcn.004f4fe0
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f4e60
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x70]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x118]
xor esi, esi
mov ecx, 0xf
push edi
sub ecx, esi
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, ebp
call fcn.004f4d20
inc esi
cmp esi, 0x10
jl 0x4f4c9b
mov ecx, 8
lea esi, [esp + 0x10]
lea edi, [esp + 0xd0]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x30]
lea edi, [esp + 0xf0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x640]
movsx edx, byte [eax + 0x5d2158]
inc eax
mov dl, byte [esp + edx + 0xcf]
cmp eax, 0x40
mov byte [ecx + eax - 1], dl
jl 0x4f4ce7
push 0x40
lea eax, [ebp + 0x688]
push ecx
push eax
mov ecx, ebp
call fcn.004f5020
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8

Function at 0x4f4e60
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5d1ec8
push edi
mov edi, dword [esp + 0xc]
sub ecx, eax
mov esi, 0x40
movsx edx, byte [ecx + eax]
inc eax
dec esi
mov dl, byte [edx + edi - 1]
mov byte [eax - 1], dl
jne 0x4f4e76
pop edi
pop esi
ret 8

Function at 0x4f4e90
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5d1f08
push edi
mov edi, dword [esp + 0xc]
sub ecx, eax
mov esi, 0x30
movsx edx, byte [ecx + eax]
inc eax
dec esi
mov dl, byte [edx + edi - 1]
mov byte [eax - 1], dl
jne 0x4f4ea6
pop edi
pop esi
ret 8

Function at 0x4f4ec0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x4f4eeb
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x1c]
sub ecx, eax
sub esi, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor dl, bl
mov byte [esi + eax], dl
inc eax
dec edi
jne 0x4f4edb
pop esi
pop ebx
pop edi
ret 0x10
Function at 0x4f4fb0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5d2138
push edi
mov edi, dword [esp + 0xc]
sub ecx, eax
mov esi, 0x20
movsx edx, byte [ecx + eax]
inc eax
dec esi
mov dl, byte [edx + edi - 1]
mov byte [eax - 1], dl
jne 0x4f4fc6
pop edi
pop esi
ret 8

Function at 0x4f5600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x123c]
test al, al
jne 0x4f5647
mov eax, dword [esp + 0x1c]
push 0
push eax
push 0x63a654
call fcn.004ec3c0
mov edi, 0x63a654
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esi]
not ecx
dec ecx
push ecx
push 0x63a654
mov ecx, esi
call dword [edx + 0x1c]
mov byte [esi + 0x123c], 1
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor edi, edi
mov eax, dword [esi]
mov ecx, ebp
sub ecx, edi
lea edx, [edi + ebx]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x1c]
test eax, eax
jle 0x4f566b
add edi, eax
cmp edi, ebp
jne 0x4f5651
mov al, byte [esp + 0x20]
test al, al
je 0x4f569f
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4f569f
push 0
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
xor ebx, ebx
cmp ecx, ebx
je 0x4f5699
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x78], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x4f7600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b8c3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [esp + 0xc], esi
lea edi, [esi + 8]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov dword [edi], 0x5d0d4c
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x5d22b0
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 4], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f9820
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
sub eax, 0x40b
je 0x4f98ea
dec eax
je 0x4f9848
sub eax, 0x13
je 0x4f98ea
pop edi
pop esi
mov al, 1
ret 0xc
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4f99d7
cmp dword [esi + 0x78], 0x1b
je 0x4f99d7
mov edx, dword [esi + 0x3f4]
xor eax, eax
test edx, edx
jle 0x4f99d7
mov ecx, dword [esi + 0x3f0]
mov edi, dword [esp + 0x10]
cmp edi, dword [ecx]
je 0x4f989d
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f9881
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x54]
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
ret 0xc
mov ecx, esi
call sym.ETermProxy.exe_public:_void___thiscall_CClientObject::StartTimer_void_
mov edx, dword [edi + 4]
mov ecx, dword [esi + 0x3c]
push edx
mov edx, dword [edi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x48]
lea ecx, [esi + 0x54]
mov dword [edi + 8], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4f98d0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f98d2
xor eax, eax
mov eax, dword [eax + 0x20]
push edi
push esi
push 0x416
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov al, 1
ret 0xc
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4f99e0
lea eax, [esi + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call sym.ETermProxy.exe_public:_void___thiscall_CClientObject::StartTimer_void_
mov ecx, dword [esi + 0x74]
cmp edi, 0x40b
jne 0x4f9931
add ecx, 0x118
push ecx
mov ecx, dword [esi + 0x3c]
add ecx, 0x18
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x28]
push eax
lea eax, [esi + 8]
mov edx, dword [ecx]
jmp 0x4f9941
mov eax, dword [ecx + 0xa0]
mov ecx, dword [esi + 0x3c]
push 0x162
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
mov edi, eax
test edi, edi
je 0x4f99ab
mov ecx, dword [esi + 0x3c]
mov eax, 0x1388
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 4]
lea eax, [esp + 0xc]
push 4
push eax
push 0x1005
push 0xffff
push edx
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x10]
push 4
push eax
mov edx, dword [ecx + 4]
push 0x1006
push 0xffff
push edx
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 4]
mov dword [esi + 0x150], eax
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x4f99ab
call sub.MFC42.DLL_CAsyncSocket::Detach
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4f99bd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f99bf
xor eax, eax
neg edi
mov eax, dword [eax + 0x20]
sbb edi, edi
neg edi
dec edi
push edi
push esi
push 0x415
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0x54]
lea ecx, [esi + 0x54]
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
ret 0xc
Function at 0x4fc960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b930f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [str.1234567890abcdef]
mov ecx, dword [0x625e28]
mov edx, dword [0x625e2c]
mov dword [esp + 0x10], eax
mov eax, dword [0x625e30]
mov dword [esp + 0x14], ecx
mov cl, byte [0x625e34]
push 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], cl
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, dword [sym.imp.MSVCRT.dll_rand]
add esp, 8
mov esi, 0xc
call edi
and eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x4fc9ee
dec eax
or eax, 0xfffffff0
inc eax
mov dl, byte [esp + eax + 0x10]
lea ecx, [esp + 8]
push edx
call fcn.00596ed0
dec esi
jne 0x4fc9e0
mov esi, dword [esp + 0x34]
lea eax, [esp + 8]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x50c9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ba6af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x627104]
mov eax, dword [str.1234567890ABCDEF]
mov edx, dword [0x627108]
mov dword [esp + 0x14], ecx
mov cl, byte [0x627110]
mov dword [esp + 0x10], eax
mov eax, dword [0x62710c]
mov byte [esp + 0x20], cl
push str.00_00_00_00_00_00
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CString::operator
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, dword [sym.imp.MSVCRT.dll_rand]
add esp, 8
xor esi, esi
mov edx, dword [esp + 8]
cmp byte [esi + edx], 0x2d
je 0x50ca52
call edi
and eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x50ca43
dec eax
or eax, 0xfffffff0
inc eax
mov al, byte [esp + eax + 0x10]
lea ecx, [esp + 8]
push eax
push esi
call sub.MFC42.DLL_CString::SetAt
inc esi
cmp esi, 0x11
jl 0x50ca2b
mov esi, dword [esp + 0x34]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x512910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bafd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 0x28]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x54], 0x5d23a4
mov dword [esi + 0x58], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov byte [esi + 0x21], bl
mov byte [esi + 0x20], bl
mov byte [esi + 0x22], bl
mov byte [esi + 0x3d], bl
mov byte [esi + 0x3c], bl
mov byte [esi + 0x3b], bl
mov byte [esi + 0x3a], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x38], bl
mov byte [esi + 0x37], bl
mov byte [esi + 0x36], bl
mov byte [esi + 0x35], bl
mov byte [esi + 0x34], bl
mov dword [esi + 0x40], 0x2710
mov dword [esi + 0x44], 0xbb8
mov dword [esi + 0x50], 0x1f4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5194e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bbb28
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esi + 0x10]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x28]
lea edx, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
call dword [eax + 0x1c]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 4
Function at 0x520ef0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5bc35b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push str.data_v1.bin
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x520f24
mov ecx, esi
call fcn.00520fa0
test al, al
je 0x520f84
mov ecx, esi
call fcn.00521010
push 0x2b0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x520f51
mov ecx, eax
call fcn.00528150
jmp 0x520f53
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 0x26c], eax
call fcn.00528360
test al, al
je 0x520f84
mov al, 1
mov byte [esi + 0x2c8], al
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x525e50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bc91b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5d25f4
mov eax, dword [esi + 4]
mov dword [esp + 0x14], 0
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 8]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 0xc]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x10]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 0x14]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 0x18]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x1c]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 0x24]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x28]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 0x2c]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 0x30]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x34]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x40]
add esp, 0x34
xor edi, edi
test eax, eax
jle 0x525f14
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + edi*4]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x40]
add esp, 4
inc edi
cmp edi, eax
jl 0x525efd
add esi, 0x38
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0054c510
mov eax, dword [esi + 4]
mov dword [esi], 0x5d0d98
test eax, eax
je 0x525f38
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x5c7050
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret