joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443570
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483af8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00478952
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00442f10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00478880
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00474e74
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00474e74
push 1
push 0
push 0
mov ecx, esi
call fcn.00474e1c
push 1
push 0
push 1
mov ecx, esi
call fcn.00474e1c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004789c4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4436f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00478952
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00442f10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00478880
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4437b4
cmp dword [esp + 0x40], 1
jne 0x4437b2
cmp ecx, eax
jge 0x4437b4
mov eax, ecx
cmp eax, 0xc8
jge 0x4437c0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443570
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004789c4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x443f30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483b83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00473261
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00478bfa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047b5c6
test eax, eax
je 0x44404c
mov ecx, dword [esp + 0x3c]
call fcn.00478c27
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x444010
push edi
mov ecx, esi
call fcn.004761bd
mov ecx, esi
call fcn.004441b0
cmp dword [esp + 0x38], 1
jne 0x444045
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00476350
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x446a70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446aa3
push esi
call fcn.00449b70
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x446a9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x446b29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446b12
mov eax, dword [esi + 8]
test eax, eax
je 0x446ac7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x446b0e
cmp eax, 2
je 0x446b12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x446aba
cmp eax, 3
je 0x446aed
cmp eax, 1
jne 0x446aba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x446aba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x446aba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446b50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446b38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446b50
add esp, 4
pop esi
ret

Function at 0x453f30
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x453fd3
test eax, eax
jbe 0x453fd3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x453fd3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x453f7e
xor esi, esi
jmp 0x453f84
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x453faf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040a4e0
add esi, eax
push esi
mov ebx, esi
call fcn.0040a4e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x453f90
pop ebp
test edi, edi
pop edi
jne 0x453fd3
test ebx, ebx
je 0x453fd3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00462910
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4540f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45420d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45420d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004736b3
mov esi, eax
test esi, esi
je 0x45420d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45420d
mov ecx, esi
call fcn.00454080
cmp edi, eax
jge 0x45420d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x454193
mov dword [esp + 0x34], 1
jmp 0x4541ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45420d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00453670
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x472a3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0047cbb7
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472a6f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00472a82
pop edi
pop esi
pop ebx
ret 8

Function at 0x474056
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47408e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004720c9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004720a1
jmp 0x47409a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x475946
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x475988
call fcn.0047cbb7
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x475988
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47597f
xor eax, eax
jmp 0x475990
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00475996
pop edi
pop esi
pop ebx
ret 4

Function at 0x47d0e7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47d115
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47d133
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d04d
jmp 0x47d133
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47d133
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d04d
test edi, edi
mov eax, edi
jne 0x47d11d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5171c2
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00517241
jae 0x5171ce
xor ecx, ecx
call fcn.00517241
jae 0x5171f8
xor eax, eax
call fcn.00517241
jae 0x517209
mov al, 0x10
call fcn.00517241
adc al, al
jae 0x5171ea
jne 0x517236
stosb byte es:[edi], al
jmp 0x5171cf
call fcn.0051724d
dec ecx
loop 0x517215
mov eax, ebp
call fcn.0051724b
jmp 0x517237
lodsb al, byte [esi]
shr eax, 1
je 0x51725d
adc ecx, 2
mov ebp, eax
jmp 0x517237
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0051724b
cmp eax, 0x7d00
jae 0x517235
cmp eax, 0x500
jae 0x517236
cmp eax, 0x7f
ja 0x517237
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5171cf
pop ebp
ret 8
Function at 0x401350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x435c30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea ecx, [esp + 4]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov eax, dword [esp + 0x28]
push 0
push 0x3001
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x4013d7
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.00434ef6
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 0
call fcn.00434eae
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.00434eae
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov edx, dword [esp + 4]
push 2
push 0
lea ecx, [esp + 0xc]
call dword [edx + 0x30]
lea eax, [esp + 0x2c]
push 0x44a020
lea ecx, [esp + 4]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp]
mov byte [esp + 0x20], 2
call fcn.00434eae
lea ecx, [esp + 4]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.00434ef6
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 0
call fcn.00434eae
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x18]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4019e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x435d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 4]
stosb byte es:[edi], al
mov eax, dword [esp + 0x94]
mov dword [esp + 0x8c], 2
push eax
mov eax, dword [esp + 0x9c]
push 0x80
push ecx
push 0x44cbb8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 4]
push ecx
push 0x44a04c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x94]
mov byte [esp + 0x8c], 1
call fcn.00434eae
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c], 0
call fcn.00434eae
lea ecx, [esp + 0x9c]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x84]
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x10
Function at 0x401bc0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x14
lea eax, [esp + 0xc]
push esi
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x401beb
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
add esp, 0x14
ret 0x10
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x401c26
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
add esp, 0x14
ret 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push 0
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x401c6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x10]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
add esp, 0x14
ret 0x10
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push ebx
push edi
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x20]
push ecx
push edx
push 4
push eax
mov dword [esp + 0x24], 4
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 4
mov edi, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edx
push 0
push eax
push edi
push 2
push ecx
call esi
mov ebx, dword [esp + 0x30]
push 0x44cbb8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jbe 0x401d03
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
xor edx, edx
lea eax, [esp + 0x10]
mov dl, byte [esi + edi]
push edx
push str._02X
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jb 0x401cd8
pop ebp
push edi
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x14
ret 0x10
Function at 0x404540
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x436270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
lea ecx, [esp + 4]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x30]
push ebx
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, ebx
je 0x4045b5
lea ecx, [esp + 4]
mov byte [esp + 0x28], bl
call fcn.00435130
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00434eae
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x30]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov byte [esp + 0x28], bl
lea ecx, [esp + 4]
je 0x4045fa
call fcn.00435130
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00434eae
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
call fcn.00435130
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x404630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4362a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
lea ecx, [esp + 4]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov esi, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
mov ecx, esi
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CStringArray::SetSize
mov eax, dword [esp + 0x2c]
push 0
push 0
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x4046df
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.00434ef6
lea ecx, [esp + 4]
mov byte [esp + 0x24], 1
call fcn.00434eae
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.00434eae
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call fcn.00434eae
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
mov ecx, dword [esp + 0x34]
push edi
lea edx, [esp + 8]
mov edi, dword [ecx - 8]
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x404770
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 3
jl 0x40475c
cmp byte [eax], 0x23
je 0x40475c
test edi, edi
jne 0x40471e
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
push ecx
jmp 0x404754
lea edx, [esp + 0x3c]
push edi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x40]
mov eax, dword [eax]
push ecx
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete bl
call fcn.00434eae
test bl, bl
je 0x40475c
mov eax, dword [esi + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
jne 0x404701
pop ebp
pop ebx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.00434ef6
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.00434eae
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00434eae
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x406a80
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x436710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x20], ebx
je 0x406bb6
mov eax, dword [esi + 0x18c]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edi, edi
cmp eax, ebx
jle 0x406b0a
lea eax, [esp + 0x14]
push edi
push eax
lea ecx, [esi + 0x184]
call fcn.004011f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00434ed8
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00434eae
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov eax, dword [esi + 0x18c]
inc edi
cmp edi, eax
jl 0x406acb
cmp dword [esp + 0x28], 1
je 0x406bb6
mov eax, dword [esi + 0x1a0]
xor edi, edi
cmp eax, ebx
jle 0x406b60
lea edx, [esp + 0x14]
push edi
push edx
lea ecx, [esi + 0x198]
call fcn.004011f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.00434ed8
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00434eae
mov eax, dword [esp + 0x10]
push eax
call ebp
mov eax, dword [esi + 0x1a0]
inc edi
cmp edi, eax
jl 0x406b21
cmp dword [esp + 0x28], 2
je 0x406bb6
mov eax, dword [esi + 0x1c8]
xor edi, edi
cmp eax, ebx
jle 0x406bb2
lea ecx, [esp + 0x14]
push edi
push ecx
lea ecx, [esi + 0x1c0]
call fcn.004011f0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.00434ed8
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00434eae
mov edx, dword [esp + 0x10]
push edx
call ebp
mov eax, dword [esi + 0x1c8]
inc edi
cmp edi, eax
jl 0x406b73
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x407560
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4368c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
lea ecx, [esp]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov eax, dword [esp + 0x24]
mov byte [esp + 0x1c], 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x24]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x4075e3
lea ecx, [esp]
mov byte [esp + 0x1c], al
call fcn.00434ef6
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00434eae
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov edx, dword [esp + 0x28]
lea ecx, [esp]
mov eax, dword [edx]
push eax
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp]
call sub.MFC42.DLL_CStdioFile::Flush
lea ecx, [esp]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp]
mov byte [esp + 0x1c], 0
call fcn.00434ef6
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00434eae
mov ecx, dword [esp + 0x14]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x20
ret 8