joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432b10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468898
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432b49
inc eax
mov dword [esi + 0x10], eax
jmp 0x432c5c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x432b5d
mov eax, 0xffffffc7
jmp 0x432c5e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x432b6e
cmp dword [esi + 8], eax
jne 0x432b5d
cmp dword [esi + 8], eax
jne 0x432b87
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432b87
mov eax, 0xffffffc7
jmp 0x432c5e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x432b9b
push eax
mov ecx, ebx
call fcn.00432340
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00404c90
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x432bcc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00404cb0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431ab0
test eax, eax
mov dword [esp + 0x38], eax
je 0x432bff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46c1f8
call fcn.00404e90
mov eax, dword [esp + 0x38]
jmp 0x432c5e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432970
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432c43
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432990
mov esi, eax
test esi, esi
jne 0x432c73
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432970
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432c15
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46c1f8
call fcn.00404e90
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46c1f8
call fcn.00404e90
mov eax, esi
jmp 0x432c5e

Function at 0x435da0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435e00
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435e00
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435e00
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435e00
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435e40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43bd50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468ec8
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.00461f50
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b6f0
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.00461e7e
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.0045e742
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.0045e742
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e6ea
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e6ea
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461fc2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43bed0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468ee8
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.00461f50
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b6f0
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.00461e7e
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 0x43bf94
cmp dword [esp + 0x40], 1
jne 0x43bf92
cmp ecx, eax
jge 0x43bf94
mov eax, ecx
cmp eax, 0xc8
jge 0x43bfa0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043bd50
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.00461fc2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c720
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468f53
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.0045cb62
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.004621f8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463714
test eax, eax
je 0x43c83c
mov ecx, dword [esp + 0x3c]
call fcn.00462225
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 0x43c800
push edi
mov ecx, esi
call fcn.0045f889
mov ecx, esi
call fcn.0043c9a0
cmp dword [esp + 0x38], 1
jne 0x43c835
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.0045f9c4
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 0x43f260
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f293
push esi
call fcn.00442350
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f28c
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 0x43f319
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f302
mov eax, dword [esi + 8]
test eax, eax
je 0x43f2b7
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 0x43f2fe
cmp eax, 2
je 0x43f302
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f2aa
cmp eax, 3
je 0x43f2dd
cmp eax, 1
jne 0x43f2aa
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 0x43f2aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f2aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f340
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f328
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f340
add esp, 4
pop esi
ret

Function at 0x45d958
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45d990
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.0045ba0c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b9e4
jmp 0x45d99c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45f046
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 0x45f088
call fcn.00464aff
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 0x45f088
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45f07f
xor eax, eax
jmp 0x45f090
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045f096
pop edi
pop esi
pop ebx
ret 4

Function at 0x46502f
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 0x46505d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46507b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464f95
jmp 0x46507b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46507b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00464f95
test edi, edi
mov eax, edi
jne 0x465065
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401a30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43c206
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], fcn.0040cc20
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x4420f8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], 0x44214c
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x11
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0xa
mov dword [esi + 4], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
mov byte [esp + 0x14], 1
je 0x401aa9
push eax
call sub.MFC71U.DLL_operator_new
add esp, 4
mov dword [esi + 0x20], edi
push 0x2c
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
add esp, 4
mov dword [esi + 0x20], edi
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], 0xb
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x404440
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43c44c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call sub.MFC71U.DLL_CWnd::CWnd
xor eax, eax
mov dword [esi], 0x442b40
mov dword [esp + 0x1c], eax
mov dword [esi + 0x74], 0x442b10
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
push eax
push eax
mov ecx, 0xffff
push eax
mov byte [esi + 0x54], al
mov word [esi + 0x56], cx
mov word [esi + 0x58], cx
mov word [esi + 0x5a], cx
push eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
lea eax, [esi + 0x64]
push eax
mov byte [esp + 0x30], 1
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0xc]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
mov byte [esp + 0x1c], 2
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x442b18
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_struct_HINSTANCE_____wchar_t_const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
lea ecx, [esp + 0xc]
add edi, edx
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0xc]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edi
mov byte [esp + 0x1c], 1
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x407630
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x457194]
push ebx
mov dword [esp + 0x624], eax
cmp dword [ecx + 0xb8], 0xffffffff
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x40766f
xor al, al
mov ecx, dword [esp + 0x62c]
call fcn.0043bb6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
xor esi, esi
mov word [esp + 0x218], si
mov ecx, 0x81
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
mov word [esp + 0x18], si
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
push ecx
push str._sDownLoad
lea edx, [esp + 0x20]
push 0x104
push edx
stosw word es:[edi], ax
call ebx
mov esi, dword [ebp + 8]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
test edx, edx
jbe 0x4076ee
cmp word [esi + edx*2], 0x2f
je 0x4076ee
dec edx
jne 0x4076e4
xor eax, eax
mov word [esp + 0x420], 0
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + edx*2 + 2]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x443978
lea edx, [esp + 0x42c]
push 0x104
push edx
call ebx
add esp, 0x14
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xb4]
push 0
add ecx, 0xb4
push 0x1001
lea eax, [esp + 0x428]
push eax
call dword [edx + 0x28]
mov ecx, dword [esp + 0x62c]
test eax, eax
setne al
call fcn.0043bb6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407aa0
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c7ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x480
mov eax, dword [0x457194]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x484], eax
xor eax, eax
xor esi, esi
mov word [esp + 0x70], si
mov ecx, 0x81
lea edi, [esp + 0x72]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], ebx
add ebx, 0xb4
stosw word es:[edi], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str..WHD
mov dword [esp + 0x498], esi
call edi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call edi
sub eax, esi
shl eax, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov word [esp + eax + 0x70], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov ecx, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
mov esi, eax
mov eax, dword [ebx]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call dword [eax + 0x54]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
xor ebx, ebx
push ebx
push ebx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
je 0x407bf0
lea eax, [esp + 0x70]
push eax
push str._s__VERYSILENT
lea ecx, [esp + 0x280]
push 0x104
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov esi, dword [esp + 0x24]
add esp, 0x10
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea edx, [esi + 0xa74]
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [esp + 0x298]
push ecx
push ebx
mov dword [esp + 0x50], 0x44
mov word [esp + 0x80], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x407bfe
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
jmp 0x407c4e
cmp dword [esi + 0x20], ebx
jne 0x407c30
mov eax, dword [esi + 0xa70]
mov edx, dword [esi]
push ebx
push 0x64
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x40000000
push ebx
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call dword [edx + 0x5c]
mov edx, dword [esi + 0x20]
push ebx
push 0x64
push 0xc8
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov al, 1
mov ecx, dword [esp + 0x48c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x484]
call fcn.0043bb6f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413710
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43da6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call sub.MFC71U.DLL_CWnd::CWnd
xor eax, eax
mov dword [esi], 0x4464f8
mov dword [esp + 0x1c], eax
mov dword [esi + 0x74], 0x4464d0
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
push eax
push eax
mov ecx, 0xffff
push eax
mov byte [esi + 0x54], al
mov word [esi + 0x56], cx
mov word [esi + 0x58], cx
mov word [esi + 0x5a], cx
push eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
lea eax, [esi + 0x64]
push eax
mov byte [esp + 0x30], 1
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0xc]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
mov byte [esp + 0x1c], 2
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x4464d4
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_struct_HINSTANCE_____wchar_t_const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
lea ecx, [esp + 0xc]
mov edi, eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [esp + 0xc]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edi
mov byte [esp + 0x1c], 1
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x424540
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x424554
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x424629
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4245ae
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4245ae
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x424590
mov eax, dword [esi + 0x70]
test eax, eax
je 0x424590
mov edx, dword [ecx]
push 0
push 0
push 0x64
push 2
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x5c]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4245cd
mov ecx, dword [esi + 0x5c]
push 0
push ecx
jmp 0x4245c7
mov edx, dword [esi + 0x5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4245cd
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x5c]
push edi
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x60]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4245f5
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4245ff
push eax
call edi
xor eax, eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
cmp byte [esp + 0x10], 1
pop edi
jne 0x424629
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov al, 1
pop esi
pop ecx
ret 4