joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401981
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [eax + 4]
test eax, eax
je 0x4019b7
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x20000005
push eax
mov dword [ebp - 8], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4019b7
mov eax, dword [ebp - 4]
jmp 0x4019b9
xor eax, eax
xor edx, edx
leave
ret

Function at 0x401cce
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x4422c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x648], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x64c], eax
jne 0x401d17
xor al, al
jmp 0x401e6d
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x401e47
mov ebx, 0x104
mov eax, dword [ebp - 0x650]
cmp dword [ebp - 0x640], eax
je 0x401e2d
and word [ebp - 0x418], 0
mov edi, 0x206
push edi
lea eax, [ebp - 0x416]
push 0
push eax
call fcn.00419f90
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.004197e5
and word [ebp - 0x210], 0
add esp, 0xc
push edi
lea eax, [ebp - 0x20e]
push 0
push eax
call fcn.00419f90
add esp, 0xc
push str.2345Explorer.exe
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.004197e5
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
call fcn.0042ed1c
pop ecx
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0042ed1c
pop ecx
push eax
call fcn.00419851
test eax, eax
pop ecx
pop ecx
jne 0x401e2d
mov edx, dword [esi + 4]
test edx, edx
jne 0x401ddf
xor ecx, ecx
jmp 0x401de7
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x401e0a
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x401e0a
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x640]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 8], eax
jmp 0x401e2d
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x401e16
call fcn.00419719
push edi
push esi
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
mov eax, esi
call fcn.00402211
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401d36
push dword [ebp - 0x64c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
test eax, eax
jne 0x401e5e
xor esi, esi
jmp 0x401e66
mov esi, dword [esi + 8]
sub esi, eax
sar esi, 2
xor eax, eax
test esi, esi
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419556
leave
ret
Function at 0x401e7c
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x43533c
call fcn.0041dc37
xor edi, edi
push edi
push 0x439ac0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00401cce
test al, al
je 0x402029
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401f90
push 0xdf7f
push 0x4dac
push 0x845
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401ef3
call fcn.00419719
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
jbe 0x401f00
call fcn.00419719
cmp edi, ebx
je 0x401f3c
cmp edi, dword [ebp - 0x18]
jb 0x401f0e
call fcn.00419719
push dword [edi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x401f2d
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x30]
call fcn.004020bd
cmp edi, dword [ebp - 0x18]
jb 0x401f37
call fcn.00419719
add edi, 4
jmp 0x401f00
xor esi, esi
cmp dword [ebp - 0x2c], esi
je 0x401f7c
mov ecx, dword [ebp - 0x28]
mov eax, ecx
sub eax, dword [ebp - 0x2c]
sar eax, 2
je 0x401f7c
cmp eax, esi
ja 0x401f5c
call fcn.00419719
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], esi
jne 0x401f65
xor ecx, ecx
jmp 0x401f6b
sub ecx, dword [ebp - 0x2c]
sar ecx, 2
push 0x1388
push 1
push dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], esi
je 0x401f8e
push dword [ebp - 0x2c]
call fcn.004197e0
pop ecx
xor edi, edi
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401f9d
call fcn.00419719
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jbe 0x401faa
call fcn.00419719
cmp esi, ebx
je 0x401fd3
mov ecx, dword [ebp - 0x18]
sub ecx, ebx
sar ecx, 2
mov eax, ecx
shl eax, 2
test ecx, ecx
lea edi, [eax + esi]
jle 0x401fce
push eax
push ebx
push eax
push esi
call fcn.00419594
add esp, 0x10
mov dword [ebp - 0x18], edi
xor edi, edi
lea ecx, [ebp - 0x20]
call fcn.00401cce
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401fe8
call fcn.00419719
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jbe 0x401ff5
call fcn.00419719
cmp esi, ebx
je 0x402029
cmp esi, dword [ebp - 0x18]
jb 0x402003
call fcn.00419719
push dword [esi]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
je 0x40201a
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, dword [ebp - 0x18]
jb 0x402024
call fcn.00419719
add esi, 4
jmp 0x401ff5
cmp dword [ebp - 0x1c], edi
je 0x402037
push dword [ebp - 0x1c]
call fcn.004197e0
pop ecx
call fcn.0041dd0f
ret
Function at 0x4030da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40313d
cmp dword [ebp + 0xc], 1
je 0x403116
cmp dword [ebp + 0xc], 2
je 0x403116
push 0xd
pop eax
jmp 0x40313d
test edi, edi
mov eax, dword [ebp - 4]
je 0x403137
test eax, eax
je 0x403133
test al, 1
jne 0x403111
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x403137
jmp 0x403111
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x4032f7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4422c4]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
push edi
xor edi, edi
push 0x40e
lea eax, [ebp - 0x7a]
push edi
push eax
mov esi, ecx
mov word [ebp - 0x7c], di
call fcn.00419f90
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x3a0]
mov dword [ebp - 0x80], edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40334a
xor al, al
jmp 0x403383
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x40336b
cmp dword [ebp - 0x80], edi
je 0x403346
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x403346
lea eax, [ebp - 0x7c]
call fcn.004010d5
cmp dword [ebp - 0x80], edi
je 0x403381
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp + 0x394]
pop edi
xor ecx, ebp
pop esi
call fcn.00419556
add ebp, 0x398
leave
ret
Function at 0x404857
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push str.http:__jifen.2345.com_
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret
Function at 0x405962
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
mov edi, eax
push 0x413
push dword [edi + 4]
call esi
push 0x414
push dword [edi + 4]
mov ebx, eax
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push ebx
mov edi, eax
call esi
cmp dword [esp + 0x10], 0
jne 0x40599b
push 0
jmp 0x40599d
push 5
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
ret 4

Function at 0x405a53
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435b04
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4422c4]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x4422c4]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
xor ebx, ebx
push 0x410
lea eax, [esp + 0x72]
push ebx
push eax
mov esi, ecx
mov word [esp + 0x78], bx
call fcn.00419f90
add esp, 0xc
push 0x41a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x50]
call fcn.0040102d
mov dword [esp + 0x498], ebx
push 7
xor eax, eax
cmp dword [esp + 0x6c], 8
pop ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], 0x61
mov dword [esp + 0x20], 0x439e94
mov dword [esp + 0x28], 0x405a32
jae 0x405b1c
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
je 0x405baa
lea ecx, [esp + 0x6c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x405baa
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x34]
call fcn.0040102d
mov byte [esp + 0x498], 1
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x405b7d
lea edi, [eax - 1]
lea eax, [esp + 0x34]
call fcn.00401071
cmp word [eax], 0x5c
je 0x405b7d
push 0x439a68
lea eax, [esp + 0x38]
push eax
call fcn.00401053
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x405b8c
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, esi
call fcn.00405bdc
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.004011b7
push ebx
push 1
lea esi, [esp + 0x58]
call fcn.004011b7
xor eax, eax
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.00419556
mov esp, ebp
pop ebp
ret
Function at 0x405bdc
Capabilities:
Get disk size
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4422c4]
xor eax, esp
mov dword [esp + 0x2a4], eax
push ebx
push esi
mov eax, dword [0x4422c4]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
push 0x41a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor ebx, ebx
push 0x208
mov esi, eax
lea eax, [esp + 0xa2]
push ebx
push eax
mov word [esp + 0xa8], bx
call fcn.00419f90
add esp, 0xc
push 0x104
lea eax, [esp + 0xa0]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xac]
push eax
mov word [esp + 0xb6], bx
mov dword [esp + 0x30], ebx
xor esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x405cbd
mov eax, dword [esp + 0x14]
mul dword [esp + 0x10]
push ebx
push dword [esp + 0x1c]
push edx
push eax
call fcn.00429810
mov dword [esp + 0x1c], eax
mov esi, edx
mov eax, 0x439ea8
lea ecx, [esp + 0x80]
call fcn.0040102d
cmp esi, ebx
mov dword [esp + 0x2c0], ebx
ja 0x405cdf
cmp dword [esp + 0x1c], ebx
jbe 0x405d1d
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
call fcn.0040339a
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x84]
push ecx
xor ebx, ebx
mov byte [esp + 0x2c8], 1
call fcn.00401296
push ebx
push 1
lea esi, [esp + 0x34]
mov byte [esp + 0x2c8], bl
call fcn.004011b7
mov eax, 0x439c1c
lea ecx, [esp + 0x64]
call fcn.0040102d
mov eax, edi
mov byte [esp + 0x2c0], 2
call fcn.00405e35
cmp edx, ebx
ja 0x405d42
cmp eax, ebx
jbe 0x405d73
push edx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0040339a
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x68]
push ecx
xor ebx, ebx
mov byte [esp + 0x2c8], 3
call fcn.00401296
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.004011b7
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
mov byte [esp + 0x2c0], 4
cmp dword [esp + 0x98], 8
mov ecx, dword [esp + 0x84]
jae 0x405da4
lea ecx, [esp + 0x84]
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x405db3
lea eax, [esp + 0x68]
push ecx
push eax
push 0x439eb0
lea ecx, [esp + 0x54]
call fcn.0040c573
add esp, 0xc
push 0x41c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [esp + 0x60], 8
mov ecx, dword [esp + 0x4c]
jae 0x405de3
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push 1
lea esi, [esp + 0x50]
call fcn.004011b7
push ebx
push 1
lea esi, [esp + 0x6c]
call fcn.004011b7
push ebx
push 1
lea esi, [esp + 0x88]
call fcn.004011b7
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.00419556
mov esp, ebp
pop ebp
ret
Function at 0x406921
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x138
mov eax, dword [0x4422c4]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push esi
mov esi, dword [0x444bcc]
push pe_nt_image_headers32
push 0x86
push esi
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x406ab3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406ab3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406ab3
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
test ax, ax
je 0x406ab1
inc esi
inc esi
movzx edi, ax
movzx eax, word [esi]
inc esi
inc esi
mov ecx, dword [esi]
add esi, 4
cmp ax, 0x403
mov dword [ebp - 0xa0], ecx
jne 0x406a21
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
call dword [0x4431a0]
push eax
push esi
lea eax, [ebp - 0x94]
push eax
call fcn.00407385
push dword [ebp - 0x94]
movzx eax, di
push 0
push 0x143
push eax
mov eax, dword [ebp - 0x9c]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x406a01
and dword [ebp - 0x98], 0
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x406a9e
push dword [ebp - 0x94]
call fcn.00419b08
pop ecx
jmp 0x406a9e
cmp ax, 0x1234
jne 0x406a9e
or dword [ebp - 0xc0], 0xffffffff
lea eax, [ebp - 0x90]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x94], eax
call dword [0x4431a0]
push eax
push esi
lea eax, [ebp - 0x94]
push eax
call fcn.00407385
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
mov dword [ebp - 0xbc], eax
je 0x406a75
push eax
call fcn.00419b08
pop ecx
lea eax, [ebp - 0xc4]
push eax
push 0
movzx eax, di
push 0x40b
push eax
mov eax, dword [ebp - 0x9c]
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x406a9e
and dword [ebp - 0x98], 0
add esi, dword [ebp - 0xa0]
cmp dword [ebp - 0x98], 0
jne 0x406992
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x98]
xor ecx, ebp
pop esi
call fcn.00419556
add ebp, 0x74
leave
ret 4
Function at 0x406b36
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
push edi
mov byte [ebp - 1], 1
jne 0x406b80
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0x10], eax
call edi
push dword [esi + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0xfffffffe
call edi
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x4e
jmp 0x406ba7
shr eax, 2
test al, 1
je 0x406bb0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [esi + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [esi + 4]
movzx ecx, di
push ecx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x406be3
push ebx
push 1
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta byte [ebp - 1]
cmp byte [ebp - 1], bl
je 0x406be2
or byte [esi + 0x58], 2
push 1
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
mov al, byte [ebp - 1]
pop edi
leave
ret
Function at 0x409090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x8c
mov eax, 0x436b1a
call fcn.0041dc37
movzx eax, word [ebp + 8]
push 0x43a494
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x40916f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x40916f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
je 0x409159
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x4090f2
mov eax, dword [eax + 4]
jmp 0x4090f5
add eax, 4
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0040a0b2
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 4], ebx
call fcn.00409c56
lea esi, [ebp - 0x94]
call fcn.0040ac0b
test eax, eax
jne 0x40913c
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
push ebx
lea ecx, [ebp + ecx - 0x98]
push 2
call fcn.00409d97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040a1a7
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.00418af9
pop ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040dc17
xor ecx, ecx
cmp eax, edi
jne 0x40916f
cmp edx, ecx
jne 0x40916f
mov al, 1
jmp 0x409171
xor al, al
call fcn.0041dd0f
ret 8
Function at 0x4098a4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4351e5
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4422c4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x4422c4]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [esp + 0x20], eax
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4099f3
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4099f3
mov eax, dword [0x444c6c]
mov dword [esp + 0x28], eax
lea ebx, [esp + 0x18]
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], 0x444c68
call fcn.0040a051
lea edi, [esp + 0x24]
mov esi, eax
call fcn.0040a8e3
test al, al
je 0x4099f3
xor ebx, ebx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
push 0x1fe
lea eax, [esp + 0x5a]
push ebx
mov dword [esp + 0x270], ebx
push eax
mov word [esp + 0x60], bx
call fcn.00419f90
add esp, 0xc
push 0xff
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x54]
lea esi, [esp + 0x38]
call fcn.004010d5
push ebx
push dword [esp + 0x24]
mov eax, esi
push eax
call fcn.0040620e
cmp eax, 0xffffffff
jne 0x4099ca
mov byte [esp + 0x17], bl
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.004011b7
mov al, byte [esp + 0x17]
jmp 0x4099f5
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x30]
call fcn.00409fa3
push ebx
push ebx
push 0xf5
push dword [ebp + 0xc]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov byte [esp + 0x17], 1
jmp 0x4099b8
xor al, al
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00419556
mov esp, ebp
pop ebp
ret 8
Function at 0x409a1b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x44c
lea ebp, [esp - 4]
mov eax, dword [0x4422c4]
xor eax, ebp
mov dword [ebp + 0x44c], eax
push 0x1c
mov eax, 0x4351b2
call fcn.0041dc37
mov eax, dword [ebp + 0x458]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x45c]
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
mov dword [ebp - 4], ebx
mov eax, str.Software_
lea ecx, [ebp + 0x1c]
mov dword [ebp - 0x18], ebx
call fcn.0040102d
push 0xffffffffffffffff
mov eax, esi
push ebx
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], 1
call fcn.00401335
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x409a99
lea eax, [ebp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x409af3
mov eax, str.SoftwareWow6432Node_
lea esi, [ebp + 0x1c]
call fcn.004010d5
mov eax, dword [ebp - 0x24]
push 0xffffffffffffffff
push ebx
call fcn.00401335
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x409ad9
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x409bb6
cmp dword [ebp - 0x18], ebx
je 0x409bb6
push 0x410
lea eax, [ebp + 0x3a]
push ebx
push eax
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], ebx
mov word [ebp + 0x38], bx
call fcn.00419f90
mov edi, dword [ebp - 0x28]
add esp, 0xc
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x409b2f
mov eax, dword [esi]
jmp 0x409b31
mov eax, esi
lea ecx, [ebp - 0x20]
push ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409b79
cmp dword [ebp - 0x20], 0x208
jae 0x409b79
cmp dword [edi + 0x18], 8
jb 0x409b5a
mov esi, dword [esi]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409b79
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
je 0x409bb6
lea eax, [ebp + 0x38]
lea esi, [ebp]
call fcn.004010d5
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x409bb6
lea edi, [eax - 1]
mov eax, esi
call fcn.00401071
cmp word [eax], 0x5c
je 0x409bb6
push 0x439a68
mov eax, esi
push eax
call fcn.00401053
mov esi, dword [ebp - 0x14]
lea eax, [ebp]
call fcn.00401ab3
push ebx
push 1
lea esi, [ebp + 0x1c]
call fcn.004011b7
push ebx
push 1
lea esi, [ebp]
call fcn.004011b7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x44c]
xor ecx, ebp
call fcn.00419556
add ebp, 0x450
leave
ret 8
Function at 0x409bff
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push str.http:__wangpai.2345.cn_forumdisplay.php_fid12
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret