joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407985
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e528
push 0x422518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x664
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x264], 0xffffffff
mov byte [ebp - 0x260], 1
push 0x432a8c
push dword [ebp + 8]
mov edi, 0x4320f0
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.004209f2
add esp, 0x14
xor ebx, ebx
mov byte [ebp - 0x159], bl
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x407a13
or dword [ebp - 4], eax
xor al, al
jmp 0x407b64
push 0x432a88
lea eax, [ebp - 0x12c]
push eax
call fcn.00420ba0
pop ecx
pop ecx
test eax, eax
je 0x407b1a
push 0x432a84
lea eax, [ebp - 0x12c]
push eax
call fcn.00420ba0
pop ecx
pop ecx
test eax, eax
je 0x407b1a
test byte [ebp - 0x158], 0x10
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
je 0x407ac6
push str._s_s_
push esi
lea eax, [ebp - 0x46c]
push eax
call fcn.004209f2
mov byte [ebp - 0x369], bl
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 0xc]
push str._s_s_
push esi
lea eax, [ebp - 0x368]
push eax
call fcn.004209f2
mov byte [ebp - 0x265], bl
lea eax, [ebp - 0x368]
push eax
call fcn.00406f22
add esp, 0x2c
test eax, eax
je 0x407b14
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.00407985
pop ecx
pop ecx
mov byte [ebp - 0x260], al
jmp 0x407b1a
push edi
push esi
lea eax, [ebp - 0x674]
push eax
call fcn.004209f2
mov byte [ebp - 0x571], bl
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 0xc]
push edi
push esi
lea eax, [ebp - 0x570]
push eax
call fcn.004209f2
add esp, 0x28
mov byte [ebp - 0x46d], bl
push ebx
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x674]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x407b1a
mov byte [ebp - 0x260], bl
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407a13
jmp 0x407b4e
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407b73
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e538
push 0x422518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x45c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x264], 0xffffffff
push 0x432a8c
push dword [ebp + 8]
mov edi, 0x4320f0
push edi
mov esi, 0x104
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.004209f2
add esp, 0x14
xor ebx, ebx
mov byte [ebp - 0x159], bl
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x264], eax
cmp eax, 0xffffffff
jne 0x407bfa
or dword [ebp - 4], eax
xor al, al
jmp 0x407d03
push 0x432a88
lea eax, [ebp - 0x12c]
push eax
call fcn.00420ba0
pop ecx
pop ecx
test eax, eax
je 0x407c98
push 0x432a84
lea eax, [ebp - 0x12c]
push eax
call fcn.00420ba0
pop ecx
pop ecx
test eax, eax
je 0x407c98
test byte [ebp - 0x158], 0x10
lea eax, [ebp - 0x12c]
push eax
push dword [ebp + 8]
je 0x407c68
push str._s_s_
push esi
lea eax, [ebp - 0x368]
push eax
call fcn.004209f2
mov byte [ebp - 0x265], bl
lea eax, [ebp - 0x368]
push eax
call fcn.00407b73
add esp, 0x18
jmp 0x407c92
push edi
push esi
lea eax, [ebp - 0x46c]
push eax
call fcn.004209f2
add esp, 0x14
mov byte [ebp - 0x369], bl
lea eax, [ebp - 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x260], al
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407bfa
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
or dword [ebp - 0x264], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
mov byte [ebp - 0x260], bl
jmp 0x407cfd
or dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409349
Capabilities:
Get graphical window text

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40936c
push dword [esp + 8]
push dword [esp + 0x10]
push 0xd
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
ret
xor eax, eax
ret

Function at 0x4093f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e558
push 0x422518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 1
pop ebx
or edi, 0xffffffff
mov dword [ebp - 0x22c], edi
and dword [ebp - 4], 0
push dword [ebp + 8]
call fcn.00420cc0
pop ecx
mov esi, eax
mov dword [ebp - 0x228], esi
cmp esi, 0x101
jg 0x4094b7
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
call fcn.00420680
pop ecx
pop ecx
cmp byte [ebp + esi - 0x221], 0x5c
je 0x409470
push 0x432a4c
lea eax, [ebp - 0x220]
push eax
call fcn.00420690
pop ecx
pop ecx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00420680
push 0x432f4c
lea eax, [ebp - 0x11c]
push eax
call fcn.00420690
add esp, 0x10
lea eax, [ebp - 0x36c]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x22c], esi
cmp esi, edi
jne 0x4094c1
mov dword [ebp - 4], edi
xor eax, eax
jmp 0x40957d
push 0x432a88
lea eax, [ebp - 0x340]
push eax
call fcn.00420ba0
pop ecx
pop ecx
test eax, eax
je 0x409533
push 0x432a84
lea eax, [ebp - 0x340]
push eax
call fcn.00420ba0
pop ecx
pop ecx
test eax, eax
je 0x409533
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00420680
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00420690
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x409533
xor ebx, ebx
mov dword [ebp - 0x224], ebx
jmp 0x409549
lea eax, [ebp - 0x36c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4094c1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x22c], edi
jmp 0x409578
mov dword [ebp - 4], edi
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40958c
Capabilities:
Create directory

Disassembly:
mov eax, 0x42ca66
call fcn.00421904
sub esp, 0x60c
push ebx
push esi
push edi
mov edi, 0x104
push edi
mov ebx, 0x439d88
mov ecx, ebx
call fcn.0041e4cb
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004208c0
and byte [ebp - 0x11], 0
lea eax, [ebp - 0x114]
push eax
call fcn.004093f0
add esp, 0x10
test eax, eax
jne 0x4096f2
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4096f2
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.00407d12
pop ecx
cmp eax, 1
pop ecx
jle 0x40960f
and byte [ebp + eax - 0x219], 0
jmp 0x409622
lea eax, [ebp - 0x218]
push 0x437ea8
push eax
call fcn.00420680
pop ecx
pop ecx
push 0x528
call fcn.004223d2
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x409648
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0041ce18
mov esi, eax
or eax, 0xffffffff
test esi, esi
mov dword [ebp - 4], eax
je 0x409737
push dword [0x4424cc]
push esi
call fcn.00420680
push dword [0x4424d4]
lea eax, [esi + 0x104]
push eax
call fcn.00420680
lea eax, [ebp - 0x218]
push eax
lea eax, [esi + 0x208]
push eax
call fcn.00420680
lea eax, [esi + 0x30c]
push 0x437ea8
push eax
call fcn.00420680
add esp, 0x20
mov ecx, esi
mov dword [esi + 0x518], 1
call fcn.0041ccf3
test eax, eax
je 0x4096ed
lea eax, [esi + 0x410]
push edi
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004208c0
and byte [ebp - 0x11], 0
add esp, 0xc
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.0041e576
mov ecx, esi
call fcn.004227b3
push esi
call fcn.004223c7
pop ecx
push edi
jmp 0x4095aa
or eax, 0xffffffff
jmp 0x409737
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.00420680
lea eax, [ebp - 0x618]
push str.holder.tmp
push eax
call fcn.00420690
add esp, 0x10
xor eax, eax
push eax
push 0x80
push 4
push eax
push eax
lea eax, [ebp - 0x618]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40a0c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
push 2
mov esi, 0x433794
push 0
push esi
call fcn.0040b064
add esp, 0xc
mov dword [0x441ffc], eax
test eax, eax
jne 0x40a0e7
push 0x36
jmp 0x40a200
mov edi, 0x43c748
push eax
mov ecx, edi
call fcn.00411804
test eax, eax
jne 0x40a12a
push dword [0x441ffc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 2
push 0
push esi
call fcn.0040b0ac
add esp, 0xc
mov dword [0x441ffc], eax
test eax, eax
je 0x40a0e0
push eax
mov ecx, edi
call fcn.00411804
test eax, eax
je 0x40a1fe
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.MENUFONT
push 0x68
push dword [0x441ffc]
call ebp
test eax, eax
je 0x40a1fe
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push dword [0x441ffc]
call ebx
test eax, eax
je 0x40a1fe
mov edi, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call edi
test eax, eax
je 0x40a1fe
push 0x43c76c
push 0x43c76b
push 0x43c76a
push 0x43c769
push 0x43c768
push 0x43c767
push 0x43c766
push 0x43c765
push 0x43c764
push 0x43c760
push 0x43c75c
push 0x43c758
mov esi, 0x43c750
push 0x43c754
push esi
push str._d__d__d__d__d__d__d__d__d__d__d__d__d__s
push eax
call fcn.004209be
add esp, 0x40
cmp eax, 0xe
jne 0x40a1fe
push esi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push 5
push 0x6d
push dword [0x441ffc]
mov dword [0x441fdc], eax
call ebp
test eax, eax
je 0x40a1fe
push eax
push dword [0x441ffc]
call ebx
test eax, eax
je 0x40a1fe
push eax
call edi
test eax, eax
mov dword [0x442008], eax
jne 0x40a219
push 0x37
push dword [0x441fe4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0040d999
add esp, 0xc
xor eax, eax
jmp 0x40a21c
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40a23c
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x4421d8]
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x40a24b
push ebp
call eax
mov ecx, dword [0x441f9c]
cmp ecx, ebp
je 0x40a25b
push ebp
call fcn.0041b212
mov eax, dword [0x4421b4]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
cmp eax, ebp
mov byte [0x4421bc], 1
mov ebx, 0x1388
mov edi, 0x102
je 0x40a29f
push ebx
push eax
call esi
cmp eax, edi
jne 0x40a293
push ebp
push dword [0x4421b4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x4421b4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040a339
mov eax, dword [0x44222c]
cmp eax, ebp
je 0x40a2b4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x439bf8]
cmp eax, ebp
je 0x40a2c8
push ebp
push ebp
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x4421b8]
cmp eax, ebp
je 0x40a2f2
push ebx
push eax
call esi
cmp eax, edi
jne 0x40a2e6
push ebp
push dword [0x4421b8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x4421b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x439d80]
pop edi
pop esi
cmp ecx, ebp
pop ebx
je 0x40a304
call fcn.0040dc93
call fcn.00411ebe
mov ecx, dword [0x439d80]
cmp ecx, ebp
je 0x40a319
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.0040accf
call fcn.0040b446
call fcn.00411e05
call fcn.0040a3bc
call fcn.0040a567
call fcn.0040ba55
pop ebp
ret
Function at 0x40a622
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x214
push ebx
push ebp
push edi
mov edi, dword [esp + 0x224]
mov ebx, dword [edi]
push dword [edi + 8]
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.00420cc0
add eax, 3
push eax
call fcn.00421c57
mov ebp, eax
pop ecx
test ebp, ebp
pop ecx
je 0x40a7c8
push esi
mov esi, 0x4337d0
push esi
push ebp
call fcn.00420680
push ebx
push ebp
call fcn.00420690
push esi
push ebp
call fcn.00420690
mov eax, dword [edi + 4]
and byte [esp + 0x2b], 0
add esp, 0x18
mov esi, 0x439d88
test eax, eax
je 0x40a69b
cmp eax, 2
jne 0x40a6a0
mov ecx, esi
call fcn.0041f2e4
test al, al
je 0x40a6a0
mov byte [esp + 0x13], 1
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 0x439d20
push edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0041f333
add eax, dword [0x4421cc]
cmp eax, dword [esp + 0x14]
jbe 0x40a6e3
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, esi
call fcn.0041f333
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
jmp 0x40a6ac
cmp byte [esp + 0x13], 0
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
je 0x40a77e
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x20]
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
mov dword [esp + 0x14], eax
jg 0x40a765
push 5
push str.http:
push dword [esp + 0x20]
call fcn.004212b0
add esp, 0xc
test eax, eax
jne 0x40a75e
lea eax, [esp + 0x120]
push 0x104
push eax
push 0x439d88
call fcn.00406b0c
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x124]
push 0
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0x20
jle 0x40a77e
push 1
push 0
lea eax, [esp + 0x24]
push ebp
push eax
push str.open
call ebx
push eax
call esi
cmp eax, 0x20
jg 0x40a795
push 1
push 0x437ea8
push 0
push dword [esp + 0x24]
push str.open
call ebx
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [0x4421cc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esp + 0x18]
call fcn.00421dfa
push ebp
call fcn.00421dfa
push dword [esp + 0x230]
call fcn.00421dfa
add esp, 0xc
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x214
ret 4

Function at 0x40a7d4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0xc
call fcn.00421c57
mov esi, eax
pop ecx
test esi, esi
je 0x40a833
push dword [ebp + 8]
call fcn.0042b135
pop ecx
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
test eax, eax
mov dword [esi + 8], ecx
je 0x40a827
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x40a5cd
push 0
push 0
call fcn.0042281e
add esp, 0x18
test eax, eax
je 0x40a82e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40a82e
push esi
call fcn.00421dfa
pop ecx
push 1
pop eax
jmp 0x40a835
xor eax, eax
pop esi
leave
ret
Function at 0x40b49b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x933c
call fcn.00420a50
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40b4b9
mov ecx, 0x439d88
call fcn.0041f7ad
push ebx
push esi
push edi
push str.custom.ini
push eax
push 0x4320f0
lea eax, [ebp - 0x23c]
push 0x104
push eax
call fcn.004209f2
add esp, 0x14
and byte [ebp - 0x139], 0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x933c]
push 0x7fff
push eax
push str.Cache
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov esi, eax
test esi, esi
je 0x40b64c
mov ebx, 0x80
push 0x1000
push ebx
lea eax, [ebp - 0x138]
push str.___d_____d__n_
push eax
call fcn.004223e0
lea eax, [ebp + 8]
push eax
call fcn.00411afc
lea eax, [ebp - 8]
inc esi
push eax
lea eax, [ebp - 0x933c]
push esi
push eax
call fcn.0040d77f
mov edi, eax
add esp, 0x20
test edi, edi
mov dword [ebp - 4], edi
je 0x40b64c
mov eax, dword [edi]
test eax, eax
je 0x40b643
push 2
pop esi
lea ecx, [ebp - 0x133c]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x138]
push ecx
push eax
call fcn.004209be
and byte [ebp - 0x39], 0
and byte [ebp - 0x33d], 0
add esp, 0x10
cmp eax, esi
jne 0x40b635
lea eax, [ebp - 0xb8]
push 0x439d88
push eax
call fcn.004028ec
pop ecx
lea eax, [ebp - 0x33c]
pop ecx
push ebx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00420cc0
pop ecx
push eax
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
mov ecx, 0x439d84
call fcn.00403077
test eax, eax
je 0x40b635
add eax, eax
lea ecx, [ebp - 0x33c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x133c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x133c]
push eax
mov dword [ebp - 0x38], ecx
call fcn.00420cc0
mov dword [ebp - 0x2c], eax
push 0x18
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.00420b00
add esp, 0x10
call fcn.00401cf9
add eax, 0xb4
mov dword [ebp - 0x28], eax
call fcn.00401cf9
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], esi
call fcn.0041bed4
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
jne 0x40b55e
push dword [ebp - 4]
call fcn.00421dfa
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret

Function at 0x40b8d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40b8fb
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40b8fe
xor eax, eax
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
ret

Function at 0x40bc36
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, 0x439d88
push str.cnswiz.exe
mov ecx, esi
call fcn.0041f7ad
push eax
push 0x4320f0
lea eax, [ebp - 0x104]
push 0x104
push eax
call fcn.004209f2
and byte [ebp - 1], 0
add esp, 0x14
mov ecx, esi
push 1
call fcn.0041f7ad
push eax
lea eax, [ebp - 0x104]
push 0x437ea8
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
leave
ret
Function at 0x40bc9a
Capabilities:
Create thread

Disassembly:
mov eax, 0x42cb3c
call fcn.00421904
sub esp, 0x110
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.0041f830
and dword [ebp - 4], 0
cmp byte [0x442238], 0
jne 0x40bd84
mov edi, str.SoftwareInterChinaChin_ddress
mov esi, 0x80000001
push edi
push esi
lea ecx, [ebp - 0x14]
mov byte [0x442238], 1
call fcn.0041f8a1
test eax, eax
je 0x40bcf2
push edi
push esi
lea ecx, [ebp - 0x14]
call fcn.0041f864
test eax, eax
jne 0x40bd2d
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x11c]
push str.VERSION
push eax
mov dword [ebp - 0x18], 0x104
call fcn.0041fbe0
test eax, eax
jne 0x40bd36
lea eax, [ebp - 0x11c]
push eax
push dword [0x435260]
call fcn.00420ba0
pop ecx
test eax, eax
pop ecx
jg 0x40bd36
and byte [0x442238], 0
jmp 0x40bd84
lea eax, [ebp - 0x18]
mov edi, 0x433928
push eax
mov esi, 0x44223c
push edi
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x40
call fcn.0041fbe0
test eax, eax
je 0x40bd73
push 0x40
push esi
mov ecx, 0x439d88
call fcn.0041f199
push edi
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.0041f90d
push 1
push 0
push 0x40bd9e
call fcn.00420770
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041f859
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40ef1b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e5f8
push 0x422518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], esi
call fcn.0040eb89
test eax, eax
je 0x40efa6
mov ecx, ebx
call fcn.0040deed
mov dword [ebp - 4], esi
mov edi, dword [ebp + 0xc]
mov esi, edi
shl esi, 2
push esi
call fcn.00421c57
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40ef99
push esi
call fcn.00421c57
pop ecx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x40ef99
imul edi, edi, 0x404
push edi
call fcn.00421c57
pop ecx
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x40efad
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.00421856
pop ecx
pop ecx
xor eax, eax
jmp 0x40f11d
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0xc]
jge 0x40f04e
mov edi, eax
shl edi, 2
mov ecx, dword [ebp - 0x2c]
lea esi, [edi + ecx]
and dword [esi], 0
imul eax, eax, 0xc04
mov ecx, dword [ebp + 8]
lea eax, [eax + ecx + 0x400]
mov dword [ebp - 0x448], eax
push eax
push dword [ebx + 0x1148]
lea ecx, [ebx + 0x1c]
call fcn.0040e859
mov ecx, dword [ebp - 0x1c]
add edi, ecx
mov dword [edi], eax
test eax, eax
je 0x40f046
push 0x400
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x448]
call fcn.0040ecba
add esp, 0xc
test eax, eax
je 0x40f046
xor eax, eax
push eax
push 0x84600000
push eax
push 0x437ea8
push eax
lea ecx, [ebp - 0x434]
push ecx
push eax
push dword [edi]
call dword [0x442518]
mov dword [esi], eax
test eax, eax
je 0x40f046
push eax
mov ecx, ebx
call fcn.0040dfb3
inc dword [ebp - 0x28]
jmp 0x40efb1
xor esi, esi
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp + 0xc]
jge 0x40f111
push 0x404
call fcn.00421c57
pop ecx
mov edi, eax
mov dword [ebp - 0x34], edi
xor ebx, ebx
cmp edi, ebx
je 0x40f108
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov dword [edi], eax
imul esi, esi, 0xc04
mov eax, dword [ebp + 8]
add esi, eax
lea eax, [esi + 0x800]
push eax
lea eax, [edi + 4]
push eax
call fcn.00420680
lea eax, [ebp - 0x438]
push eax
push ebx
push edi
push 0x40ed3b
push ebx
push ebx
call fcn.0042281e
add esp, 0x20
mov ebx, eax
mov dword [ebp - 0x30], ebx
test ebx, ebx
je 0x40f101
push 0x9c40
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x43c], eax
or dword [esi + 0xc00], 0xffffffff
test eax, eax
jne 0x40f0f8
lea eax, [ebp - 0x440]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40f0f8
mov eax, dword [ebp - 0x440]
mov dword [esi + 0xc00], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40f108
push edi
call fcn.00421dfa
pop ecx
mov esi, dword [ebp - 0x28]
inc esi
jmp 0x40f050
or dword [ebp - 4], 0xffffffff
call fcn.0040f12e
push 1
pop eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8