joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3a00
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 + 0x5cce98]
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 + 0x5cce68]
inc eax
mov cl, byte [esp + ecx + 0x87]
cmp eax, 0x30
mov byte [edx + eax - 1], cl
jl 0x4f3b1a
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 0x4f3a71
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 8
Function at 0x4f3b80
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.004f40e0
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f3f60
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.004f3e20
inc esi
cmp esi, 0x10
jl 0x4f3c4b
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 + 0x5cd138]
inc eax
mov dl, byte [esp + edx + 0xcf]
cmp eax, 0x40
mov byte [ecx + eax - 1], dl
jl 0x4f3c90
push 0x40
lea eax, [ebp + 0x680]
push ecx
push eax
mov ecx, ebp
call fcn.004f4120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8
Function at 0x4f3cd0
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.004f40e0
lea edx, [esp + 0x50]
lea eax, [esp + 0x90]
push edx
push eax
mov ecx, ebp
call fcn.004f3f60
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.004f3e20
inc esi
cmp esi, 0x10
jl 0x4f3d9b
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 + 0x5cd138]
inc eax
mov dl, byte [esp + edx + 0xcf]
cmp eax, 0x40
mov byte [ecx + eax - 1], dl
jl 0x4f3de7
push 0x40
lea eax, [ebp + 0x688]
push ecx
push eax
mov ecx, ebp
call fcn.004f4120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8

Function at 0x4f3f60
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5ccea8
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 0x4f3f76
pop edi
pop esi
ret 8

Function at 0x4f3f90
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5ccee8
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 0x4f3fa6
pop edi
pop esi
ret 8

Function at 0x4f3fc0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x4f3feb
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 0x4f3fdb
pop esi
pop ebx
pop edi
ret 0x10
Function at 0x4f40b0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
mov ecx, 0x5cd118
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 0x4f40c6
pop edi
pop esi
ret 8
Function at 0x4f6710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b448b
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], 0x5cbd24
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], 0x5cd290
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 0x4f8980
Capabilities:
Set socket configuration

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
sub eax, 0x40b
je 0x4f8a4a
dec eax
je 0x4f89a8
sub eax, 0x13
je 0x4f8a4a
pop edi
pop esi
mov al, 1
ret 0xc
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4f8b25
cmp dword [esi + 0x74], 0x1b
je 0x4f8b25
mov edx, dword [esi + 0x3f0]
xor eax, eax
test edx, edx
jle 0x4f8b25
mov ecx, dword [esi + 0x3ec]
mov edi, dword [esp + 0x10]
cmp edi, dword [ecx]
je 0x4f89fd
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f89e1
mov edx, dword [esi + 0x50]
lea ecx, [esi + 0x50]
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 + 0x38]
push edx
mov edx, dword [edi]
mov eax, dword [ecx]
push edx
call dword [eax + 0x48]
lea ecx, [esi + 0x50]
mov dword [edi + 8], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4f8a30
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f8a32
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 + 0x38]
test eax, eax
je 0x4f8b2e
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call sym.ETermProxy.exe_public:_void___thiscall_CClientObject::StartTimer_void_
cmp edi, 0x40b
jne 0x4f8a7c
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x28]
push eax
lea eax, [esi + 8]
mov edx, dword [ecx]
jmp 0x4f8a8f
mov ecx, dword [esi + 0x70]
push 0x162
mov eax, dword [ecx + 0x9c]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
mov edi, eax
test edi, edi
je 0x4f8af9
mov ecx, dword [esi + 0x38]
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 + 0x38]
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 + 0x38]
mov eax, dword [ecx + 4]
mov dword [esi + 0x14c], eax
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x4f8af9
call sub.MFC42.DLL_CAsyncSocket::Detach
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4f8b0b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4f8b0d
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 + 0x50]
lea ecx, [esi + 0x50]
call dword [edx + 0x1c]
pop edi
pop esi
mov al, 1
ret 0xc
Function at 0x4fba70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b4c6f
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 [0x620e9c]
mov edx, dword [0x620ea0]
mov dword [esp + 0x10], eax
mov eax, dword [0x620ea4]
mov dword [esp + 0x14], ecx
mov cl, byte [0x620ea8]
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 0x4fbafe
dec eax
or eax, 0xfffffff0
inc eax
mov dl, byte [esp + eax + 0x10]
lea ecx, [esp + 8]
push edx
call fcn.005928d0
dec esi
jne 0x4fbaf0
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 0x50ab00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b5d6f
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 [0x621fcc]
mov eax, dword [str.1234567890ABCDEF]
mov edx, dword [0x621fd0]
mov dword [esp + 0x14], ecx
mov cl, byte [0x621fd8]
mov dword [esp + 0x10], eax
mov eax, dword [0x621fd4]
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 0x50abb2
call edi
and eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jns 0x50aba3
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 0x50ab8b
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 0x50fed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b6581
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], 0x5cd384
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 0x516a10
Capabilities:
Access peb ldr_data

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

Disassembly:
push 0xffffffffffffffff
push 0x5b78fb
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 0x51e404
mov ecx, esi
call fcn.0051e480
test al, al
je 0x51e464
mov ecx, esi
call fcn.0051e4f0
push 0x2b0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x51e431
mov ecx, eax
call fcn.005257d0
jmp 0x51e433
xor eax, eax
mov ecx, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 0x26c], eax
call fcn.005259e0
test al, al
je 0x51e464
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 0x5234d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b7ebb
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], 0x5cd5d4
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 0x523594
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 0x52357d
add esi, 0x38
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00533060
mov eax, dword [esi + 4]
mov dword [esi], 0x5cbd70
test eax, eax
je 0x5235b8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x5c2040
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x528cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b83e6
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], 0x5cd64c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x529c10
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov al, byte [esp + 8]
lea ecx, [esp + 8]
push ecx
push 0
push 0x6352d8
push 0x529c50
push 0
push 0
mov dword [0x6352d8], esi
mov byte [0x6352dc], 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 0x529cd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b8547
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], 0x5cbd70
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], 0x5cd69c
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 + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x53bd10
Capabilities:
Access peb ldr_data

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