joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
mov eax, dword [0x4412c4]
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 0x4018e9
xor al, al
jmp 0x401a3f
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x401a19
mov ebx, 0x104
mov eax, dword [ebp - 0x650]
cmp dword [ebp - 0x640], eax
je 0x4019ff
and word [ebp - 0x418], 0
mov edi, 0x206
push edi
lea eax, [ebp - 0x416]
push 0
push eax
call fcn.004180a0
add esp, 0xc
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.00417d8d
and word [ebp - 0x210], 0
add esp, 0xc
push edi
lea eax, [ebp - 0x20e]
push 0
push eax
call fcn.004180a0
add esp, 0xc
push str.2345Explorer.exe
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.00417d8d
lea eax, [ebp - 0x210]
add esp, 0xc
push eax
call fcn.0042d2ac
pop ecx
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0042d2ac
pop ecx
push eax
call fcn.00417df9
test eax, eax
pop ecx
pop ecx
jne 0x4019ff
mov edx, dword [esi + 4]
test edx, edx
jne 0x4019b1
xor ecx, ecx
jmp 0x4019b9
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x4019dc
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4019dc
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x640]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 8], eax
jmp 0x4019ff
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x4019e8
call fcn.00417cc1
push edi
push esi
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
mov eax, esi
call fcn.00401dc8
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x64c]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401908
push dword [ebp - 0x64c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
test eax, eax
jne 0x401a30
xor esi, esi
jmp 0x401a38
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.00417afe
leave
ret
Function at 0x401a4e
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x43385e
call fcn.0041c1d7
xor edi, edi
push edi
push 0x438a7c
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.004018a0
test al, al
je 0x401bfb
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401b62
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 0x401ac5
call fcn.00417cc1
mov edi, dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x18]
jbe 0x401ad2
call fcn.00417cc1
cmp edi, ebx
je 0x401b0e
cmp edi, dword [ebp - 0x18]
jb 0x401ae0
call fcn.00417cc1
push dword [edi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x401aff
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 0x30]
call fcn.00401c74
cmp edi, dword [ebp - 0x18]
jb 0x401b09
call fcn.00417cc1
add edi, 4
jmp 0x401ad2
xor esi, esi
cmp dword [ebp - 0x2c], esi
je 0x401b4e
mov ecx, dword [ebp - 0x28]
mov eax, ecx
sub eax, dword [ebp - 0x2c]
sar eax, 2
je 0x401b4e
cmp eax, esi
ja 0x401b2e
call fcn.00417cc1
mov ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], esi
jne 0x401b37
xor ecx, ecx
jmp 0x401b3d
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 0x401b60
push dword [ebp - 0x2c]
call fcn.00417d88
pop ecx
xor edi, edi
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401b6f
call fcn.00417cc1
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jbe 0x401b7c
call fcn.00417cc1
cmp esi, ebx
je 0x401ba5
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 0x401ba0
push eax
push ebx
push eax
push esi
call fcn.00417b3c
add esp, 0x10
mov dword [ebp - 0x18], edi
xor edi, edi
lea ecx, [ebp - 0x20]
call fcn.004018a0
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jbe 0x401bba
call fcn.00417cc1
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jbe 0x401bc7
call fcn.00417cc1
cmp esi, ebx
je 0x401bfb
cmp esi, dword [ebp - 0x18]
jb 0x401bd5
call fcn.00417cc1
push dword [esi]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
je 0x401bec
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, dword [ebp - 0x18]
jb 0x401bf6
call fcn.00417cc1
add esi, 4
jmp 0x401bc7
cmp dword [ebp - 0x1c], edi
je 0x401c09
push dword [ebp - 0x1c]
call fcn.00417d88
pop ecx
call fcn.0041c2af
ret
Function at 0x402c76
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 0x402cd9
cmp dword [ebp + 0xc], 1
je 0x402cb2
cmp dword [ebp + 0xc], 2
je 0x402cb2
push 0xd
pop eax
jmp 0x402cd9
test edi, edi
mov eax, dword [ebp - 4]
je 0x402cd3
test eax, eax
je 0x402ccf
test al, 1
jne 0x402cad
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x402cd3
jmp 0x402cad
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x402e87
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4412c4]
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.004180a0
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 0x402eda
xor al, al
jmp 0x402f13
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x402efb
cmp dword [ebp - 0x80], edi
je 0x402ed6
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x402ed6
lea eax, [ebp - 0x7c]
call fcn.0040109a
cmp dword [ebp - 0x80], edi
je 0x402f11
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.00417afe
add ebp, 0x398
leave
ret
Function at 0x4041cb
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 0x404993
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 0x4049cc
push 0
jmp 0x4049ce
push 5
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
ret 4

Function at 0x404a71
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433fb9
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4412c4]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push esi
push edi
mov eax, dword [0x4412c4]
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.004180a0
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], 0x438ce0
mov dword [esp + 0x28], 0x404a50
jae 0x404b3a
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 0x404bc8
lea ecx, [esp + 0x6c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x404bc8
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 0x404b9b
lea edi, [eax - 1]
lea eax, [esp + 0x34]
call fcn.0040b36a
cmp word [eax], 0x5c
je 0x404b9b
push 0x438a58
lea eax, [esp + 0x38]
push eax
call fcn.00401053
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x404baa
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, esi
call fcn.00404bfa
push ebx
push 1
lea esi, [esp + 0x3c]
call fcn.00401108
push ebx
push 1
lea esi, [esp + 0x58]
call fcn.00401108
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.00417afe
mov esp, ebp
pop ebp
ret
Function at 0x404bfa
Capabilities:
Get disk size
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433f75
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4412c4]
xor eax, esp
mov dword [esp + 0x2a4], eax
push ebx
push esi
mov eax, dword [0x4412c4]
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.004180a0
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 0x404cdb
mov eax, dword [esp + 0x14]
mul dword [esp + 0x10]
push ebx
push dword [esp + 0x1c]
push edx
push eax
call fcn.00427e60
mov dword [esp + 0x1c], eax
mov esi, edx
mov eax, 0x438cf4
lea ecx, [esp + 0x80]
call fcn.0040102d
cmp esi, ebx
mov dword [esp + 0x2c0], ebx
ja 0x404cfd
cmp dword [esp + 0x1c], ebx
jbe 0x404d3b
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
call fcn.00402f2a
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x84]
push ecx
xor ebx, ebx
mov byte [esp + 0x2c8], 1
call fcn.004011e7
push ebx
push 1
lea esi, [esp + 0x34]
mov byte [esp + 0x2c8], bl
call fcn.00401108
mov eax, 0x438bb0
lea ecx, [esp + 0x64]
call fcn.0040102d
mov eax, edi
mov byte [esp + 0x2c0], 2
call fcn.00404e53
cmp edx, ebx
ja 0x404d60
cmp eax, ebx
jbe 0x404d91
push edx
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00402f2a
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [esp + 0x68]
push ecx
xor ebx, ebx
mov byte [esp + 0x2c8], 3
call fcn.004011e7
push ebx
push 1
lea esi, [esp + 0x34]
call fcn.00401108
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 0x404dc2
lea ecx, [esp + 0x84]
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x404dd1
lea eax, [esp + 0x68]
push ecx
push eax
push 0x438cfc
lea ecx, [esp + 0x54]
call fcn.0040b1ba
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 0x404e01
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.00401108
push ebx
push 1
lea esi, [esp + 0x6c]
call fcn.00401108
push ebx
push 1
lea esi, [esp + 0x88]
call fcn.00401108
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.00417afe
mov esp, ebp
pop ebp
ret
Function at 0x405576
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x138
mov eax, dword [0x4412c4]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push esi
mov esi, dword [0x443bac]
push 0xf0
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 0x405708
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405708
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405708
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
movzx eax, word [esi]
test ax, ax
je 0x405706
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 0x405676
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
call dword [0x442190]
push eax
push esi
lea eax, [ebp - 0x94]
push eax
call fcn.0040632c
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 0x405656
and dword [ebp - 0x98], 0
lea eax, [ebp - 0x90]
cmp dword [ebp - 0x94], eax
je 0x4056f3
push dword [ebp - 0x94]
call fcn.00418160
pop ecx
jmp 0x4056f3
cmp ax, 0x1234
jne 0x4056f3
or dword [ebp - 0xc0], 0xffffffff
lea eax, [ebp - 0x90]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x94], eax
call dword [0x442190]
push eax
push esi
lea eax, [ebp - 0x94]
push eax
call fcn.0040632c
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
mov dword [ebp - 0xbc], eax
je 0x4056ca
push eax
call fcn.00418160
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 0x4056f3
and dword [ebp - 0x98], 0
add esi, dword [ebp - 0xa0]
cmp dword [ebp - 0x98], 0
jne 0x4055e7
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x98]
xor ecx, ebp
pop esi
call fcn.00417afe
add ebp, 0x74
leave
ret 4
Function at 0x405720
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 0x40576a
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 0x405791
shr eax, 2
test al, 1
je 0x40579a
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 0x4057cd
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 0x4057cc
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 0x407e33
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x8c
mov eax, 0x434e62
call fcn.0041c1d7
movzx eax, word [ebp + 8]
push 0x439264
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x407f12
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 0x407f12
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
je 0x407efc
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x407e95
mov eax, dword [eax + 4]
jmp 0x407e98
add eax, 4
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00408e77
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 4], ebx
call fcn.004089f9
lea esi, [ebp - 0x94]
call fcn.004099f4
test eax, eax
jne 0x407edf
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
push ebx
lea ecx, [ebp + ecx - 0x98]
push 2
call fcn.00408b3a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00408f6c
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0041774f
pop ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040c6d0
xor ecx, ecx
cmp eax, edi
jne 0x407f12
cmp edx, ecx
jne 0x407f12
mov al, 1
jmp 0x407f14
xor al, al
call fcn.0041c2af
ret 8
Function at 0x408647
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433707
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4412c4]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov eax, dword [0x4412c4]
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 0x408796
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x408796
mov eax, dword [0x443c4c]
mov dword [esp + 0x28], eax
lea ebx, [esp + 0x18]
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], 0x443c48
call fcn.00408e16
lea edi, [esp + 0x24]
mov esi, eax
call fcn.004096a8
test al, al
je 0x408796
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.004180a0
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.0040109a
push ebx
push dword [esp + 0x24]
mov eax, esi
push eax
call fcn.00408d04
cmp eax, 0xffffffff
jne 0x40876d
mov byte [esp + 0x17], bl
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00401108
mov al, byte [esp + 0x17]
jmp 0x408798
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x30]
call fcn.00408d68
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 0x40875b
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.00417afe
mov esp, ebp
pop ebp
ret 8
Function at 0x4087be
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x44c
lea ebp, [esp - 4]
mov eax, dword [0x4412c4]
xor eax, ebp
mov dword [ebp + 0x44c], eax
push 0x1c
mov eax, 0x4336d4
call fcn.0041c1d7
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.00401286
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x40883c
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 0x408896
mov eax, str.SoftwareWow6432Node_
lea esi, [ebp + 0x1c]
call fcn.0040109a
mov eax, dword [ebp - 0x24]
push 0xffffffffffffffff
push ebx
call fcn.00401286
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x40887c
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 0x408959
cmp dword [ebp - 0x18], ebx
je 0x408959
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.004180a0
mov edi, dword [ebp - 0x28]
add esp, 0xc
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x4088d2
mov eax, dword [esi]
jmp 0x4088d4
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 0x40891c
cmp dword [ebp - 0x20], 0x208
jae 0x40891c
cmp dword [edi + 0x18], 8
jb 0x4088fd
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 0x40891c
mov byte [ebp - 0xd], 1
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0xd], bl
je 0x408959
lea eax, [ebp + 0x38]
lea esi, [ebp]
call fcn.0040109a
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x408959
lea edi, [eax - 1]
mov eax, esi
call fcn.0040b36a
cmp word [eax], 0x5c
je 0x408959
push 0x438a58
mov eax, esi
push eax
call fcn.00401053
mov esi, dword [ebp - 0x14]
lea eax, [ebp]
call fcn.00401680
push ebx
push 1
lea esi, [ebp + 0x1c]
call fcn.00401108
push ebx
push 1
lea esi, [ebp]
call fcn.00401108
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.00417afe
add ebp, 0x450
leave
ret 8
Function at 0x4089a2
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