joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f4920
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 0x4f4a3a
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 0x4f4991
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8
Function at 0x4f4aa0
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.004f5000
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f4e80
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.004f4d40
inc esi
cmp esi, 0x10
jl 0x4f4b6b
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 0x4f4bb0
push 0x40
lea eax, [ebp + 0x680]
push ecx
push eax
mov ecx, ebp
call fcn.004f5040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8
Function at 0x4f4bf0
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.004f5000
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f4e80
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.004f4d40
inc esi
cmp esi, 0x10
jl 0x4f4cbb
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 0x4f4d07
push 0x40
lea eax, [ebp + 0x688]
push ecx
push eax
mov ecx, ebp
call fcn.004f5040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8

Function at 0x4f4e80
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 0x4f4e96
pop edi
pop esi
ret 8

Function at 0x4f4eb0
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 0x4f4ec6
pop edi
pop esi
ret 8

Function at 0x4f4ee0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x4f4f0b
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 0x4f4efb
pop esi
pop ebx
pop edi
ret 0x10
Function at 0x4f4fd0
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 0x4f4fe6
pop edi
pop esi
ret 8

Function at 0x4f5640
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 0x4f5687
mov eax, dword [esp + 0x1c]
push 0
push eax
push 0x63a644
call fcn.004ec3e0
mov edi, 0x63a644
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 0x63a644
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 0x4f56ab
add edi, eax
cmp edi, ebp
jne 0x4f5691
mov al, byte [esp + 0x20]
test al, al
je 0x4f56df
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4f56df
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 0x4f56d9
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 0x4f7640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b8a6b
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 0x4f9860
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 0x4f992a
dec eax
je 0x4f9888
sub eax, 0x13
je 0x4f992a
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 0x4f9a17
cmp dword [esi + 0x78], 0x1b
je 0x4f9a17
mov edx, dword [esi + 0x3f4]
xor eax, eax
test edx, edx
jle 0x4f9a17
mov ecx, dword [esi + 0x3f0]
mov edi, dword [esp + 0x10]
cmp edi, dword [ecx]
je 0x4f98dd
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f98c1
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 0x4f9910
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f9912
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 0x4f9a20
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 0x4f9971
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 0x4f9981
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 0x4f99eb
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 0x4f99eb
call sub.MFC42.DLL_CAsyncSocket::Detach
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4f99fd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f99ff
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 0x4fc9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b913f
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 0x4fca2e
dec eax
or eax, 0xfffffff0
inc eax
mov dl, byte [esp + eax + 0x10]
lea ecx, [esp + 8]
push edx
call fcn.00596ca0
dec esi
jne 0x4fca20
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 0x50c980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ba49f
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 [0x62710c]
mov eax, dword [str.1234567890ABCDEF]
mov edx, dword [0x627110]
mov dword [esp + 0x14], ecx
mov cl, byte [0x627118]
mov dword [esp + 0x10], eax
mov eax, dword [0x627114]
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 0x50ca32
call edi
and eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x50ca23
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 0x50ca0b
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 0x512660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5badc1
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 0x519230
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bb918
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 0x520c00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5bc14b
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 0x520c34
mov ecx, esi
call fcn.00520cb0
test al, al
je 0x520c94
mov ecx, esi
call fcn.00520d20
push 0x2b0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x520c61
mov ecx, eax
call fcn.00528040
jmp 0x520c63
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 0x26c], eax
call fcn.00528250
test al, al
je 0x520c94
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 0x525d40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bc70b
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 0x525e04
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 0x525ded
add esi, 0x38
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.0049f7f0
mov eax, dword [esi + 4]
mov dword [esi], 0x5d0d98
test eax, eax
je 0x525e28
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
Function at 0x52b530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bcc36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], edi
lea ecx, [esi + 0x14]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x5d266c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x52c470
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov al, byte [esp + 8]
lea ecx, [esp + 8]
push ecx
push 0
push 0x63aae8
push 0x52c4b0
push 0
push 0
mov dword [0x63aae8], esi
mov byte [0x63aaec], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
mov dword [esi + 4], eax
test eax, eax
setne dl
mov al, dl
pop esi
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x5bcd97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 8], 0x5d0d98
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x3c]
mov byte [esp + 0x18], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x18], 4
mov dword [esi], 0x5d26bc
mov dword [esi + 4], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x30], 1
mov byte [esi + 0x31], bl
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov byte [esi + 0x38], bl
mov byte [esi + 0x39], bl
mov byte [esi + 0x3a], bl
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x40], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x53e510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5be468
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
call fcn.0052c530
xor edi, edi
lea ecx, [esi + 0x4078]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov al, 1
mov dword [esi + 0x4068], edi
mov dword [esi + 0x4070], edi
mov dword [esi + 0x406c], edi
mov dword [esi + 0x4064], edi
mov dword [esi + 0x4060], edi
mov byte [esi + 0x30], al
mov byte [esi + 0x4074], al
mov dword [esi + 0x407c], edi
mov dword [esi], 0x5d2828
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4