joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d3e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43d413
push esi
call fcn.004404f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43d40c
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 0x43d499
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43d482
mov eax, dword [esi + 8]
test eax, eax
je 0x43d437
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 0x43d47e
cmp eax, 2
je 0x43d482
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43d42a
cmp eax, 3
je 0x43d45d
cmp eax, 1
jne 0x43d42a
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 0x43d42a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43d42a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043d4c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43d4a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043d4c0
add esp, 4
pop esi
ret

Function at 0x44c240
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x48d424]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x44c253
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x44c294
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x48d4cc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x44c2c6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44c2ca
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x44c2bb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x44c2e8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x44c2ec
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x44c2dd
xor ecx, ecx
mov eax, 0x48d434
xor ebx, ebx
mov bl, byte [ecx + 0x48d4dc]
cmp byte [esp + ebx + 0x14], 0
je 0x44c317
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x48d4f4]
cmp byte [esp + ebx + 0x14], 0
je 0x44c32e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x44c2fe
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x44c287
lea edx, [esp + 0x84]
push edx
call fcn.0044c370
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x461858
Capabilities:
Get graphical window text

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

Function at 0x462f4a
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 0x462f8c
call fcn.00468a02
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x462f8c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462f83
xor eax, eax
jmp 0x462f94
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462f9a
pop edi
pop esi
pop ebx
ret 4

Function at 0x468f32
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 0x468f60
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468f7e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468e98
jmp 0x468f7e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468f7e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468e98
test edi, edi
mov eax, edi
jne 0x468f68
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403249
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40325d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40327e
cmp esi, eax
jae 0x403257
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403270
cmp esi, eax
jae 0x403257
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4042b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x433f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], method.CBitmap.virtual_0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
push eax
push edx
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x18]
push eax
call fcn.004038d0
test eax, eax
je 0x40434a
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 8]
call fcn.004035b0
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.00403370
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x1c
lea ecx, [esp]
mov dword [esp + 0x10], 0xffffffff
call fcn.00403370
mov ecx, dword [esp + 8]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x14
ret 0x1c

Function at 0x404e90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x44638c]
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push esi
mov dword [esp + 0x110], eax
lea eax, [esp + 4]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x404f04
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x120]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
call fcn.00415c2f
add esp, 0x110
ret
Function at 0x404f20
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
mov eax, dword [0x44638c]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push ebx
push 0
push 0
push ebp
push str.open
push 0
mov dword [esp + 0x22c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x405038
lea eax, [esp + 0xc]
push eax
push str..htm
push SysReAllocString
call fcn.00404e90
add esp, 0xc
test eax, eax
jne 0x405038
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea ecx, [esp + 0x14]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
mov eax, edx
push eax
push SysReAllocString
call fcn.00404e90
add esp, 0xc
test eax, eax
jne 0x40501f
lea ecx, [esp + 0x10]
push 0x436db0
push ecx
call fcn.0041619a
mov esi, eax
add esp, 8
test esi, esi
jne 0x404fed
lea edx, [esp + 0x10]
push 0x436dac
push edx
call fcn.004167a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x404fed
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x404ff0
mov byte [esi], 0
push 0x436c68
push esi
call edi
push ebp
push esi
call edi
push ebx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x208]
call fcn.00415c2f
add esp, 0x20c
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x208]
call fcn.00415c2f
add esp, 0x20c
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
pop ebp
pop ebx
call fcn.00415c2f
add esp, 0x20c
ret
Function at 0x405a50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x434128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4473d8]
test eax, eax
jne 0x405b55
push esi
call fcn.0042ab86
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 4], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x10], 0
jge 0x405ab7
push 0x104
lea ecx, [esp + 8]
call fcn.00402720
mov esi, dword [esp + 4]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test esi, esi
jne 0x405acb
xor eax, eax
jmp 0x405adf
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ad0
sub eax, edx
js 0x405b64
cmp eax, dword [esi - 8]
jg 0x405b64
push edi
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x10]
mov byte [eax + esi], 0
call fcn.004055d0
mov edi, dword [esp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x405b2a
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x405b2a
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [0x4473d8], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x405b54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0x80070057
call fcn.00401630
int3
Function at 0x405ce0
Capabilities:
Capture microphone audio

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x14
push ebp
mov ebp, dword [sym.imp.WINMM.dll_mixerGetID]
push esi
mov esi, ecx
mov dword [esi + 0x74], eax
mov al, byte [esp + 0x24]
test al, al
push edi
je 0x405d92
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
push ecx
push ecx
push ecx
mov eax, 1
lea edx, [esp + 0x18]
push edx
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
mov word [esp + 0x34], cx
mov word [esp + 0x30], 2
mov dword [esp + 0x28], 0x5622
mov word [esp + 0x32], 0x10
mov dword [esp + 0x2c], 0xac44
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
je 0x405d69
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret 8
mov edx, dword [esp + 0x28]
push 0xa0000000
lea ecx, [esp + 0x28]
push ecx
push edx
call ebp
mov edi, eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.WINMM.dll_waveInClose]
test edi, edi
jne 0x405d5e
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x70], ecx
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x70]
push ebx
push 0x10000
push 0
lea edi, [esi + 0x70]
push edx
push eax
lea ebx, [esi + 0x68]
push ebx
call dword [sym.imp.WINMM.dll_mixerOpen]
test eax, eax
je 0x405dbf
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret 8
mov eax, dword [ebx]
push SysReAllocString
push edi
push eax
mov dword [esi + 0x6c], eax
call ebp
test eax, eax
je 0x405dd7
mov dword [edi], 0xffffffff
mov ecx, dword [edi]
pop ebx
pop edi
xor eax, eax
cmp ecx, 0xffffffff
pop esi
setne al
pop ebp
add esp, 0x14
ret 8

Function at 0x408890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4343b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov al, byte [esp + 0x24]
mov byte [esp + 0x24], al
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
push 1
lea edx, [esp + 0x28]
push edx
push ecx
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], edi
call fcn.00404a80
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00402770
mov edi, dword [esp + 0x34]
add eax, 0x10
add esp, 0x18
mov dword [edi], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408926
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408940
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4343f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 1
call fcn.0042ab86
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
mov byte [esp + 0x2c], 2
mov dword [esp + 0x20], eax
call fcn.00402770
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00408710
push eax
call fcn.00416ecb
add esp, 4
call fcn.00416ed8
mov ebx, dword [esp + 0x34]
mov ebp, dword [ebx - 0xc]
xor edi, edi
test ebp, ebp
jle 0x408a5e
lea esp, [esp]
test edi, edi
jl 0x408a89
cmp edi, dword [ebx - 0xc]
jg 0x408a89
movsx esi, byte [edi + ebx]
cmp esi, 0x20
jl 0x408a55
cmp esi, 0x7e
jg 0x408a55
call fcn.00416ed8
lea ecx, [eax + eax*2]
shl ecx, 5
mov eax, esi
sub eax, ecx
sub eax, 0x20
cdq
mov ecx, 0x5f
idiv ecx
test edx, edx
jge 0x408a55
add edx, 0x7f
push edx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00408890
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.00402e10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc edi
cmp edi, ebp
jl 0x4089d0
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
add ebp, 0xfffffff0
call dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
test edx, edx
lea ecx, [ebp + 0xc]
jl 0x408a93
cmp eax, dword [ebp]
jne 0x408a93
mov eax, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x408ac6
push 0x80070057
call fcn.00401630
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x408aa8
call fcn.004021d0
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x24], 1
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408aec
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x409080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push edi
mov edi, ecx
mov dword [esp + 0x14], 0
call fcn.0042ab86
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp - 0xc]
test eax, eax
mov byte [esp + 0x14], 1
je 0x40912c
mov eax, dword [edi + 0x1c]
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00427653
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x24]
mov ebx, dword [esi]
push eax
call fcn.0042d2c0
push eax
mov ecx, esi
call dword [ebx + 0x28]
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edi + 0x60]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.0042ca98
mov eax, dword [ebp - 0xc]
mov edx, dword [esi]
push 0x24
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebp
mov ecx, esi
call dword [edx + 0x68]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x28]
pop esi
pop ebx
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40914f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebp, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409172
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x40abf2
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x434967
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [0x44638c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], eax
call fcn.00406460
push ecx
lea eax, [esi + 0x1178]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x164], 0
call fcn.00404510
lea edi, [esi + 0x1694]
push edi
lea ecx, [esp + 0x1c]
call fcn.00406c50
mov edi, dword [edi]
push edi
lea ecx, [esi + 0x1c50]
call fcn.0042968f
mov eax, dword [esi + 0x1698]
push eax
lea ecx, [esi + 0x1ca0]
call fcn.0042968f
push ecx
lea edx, [esi + 0x127c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00404510
lea eax, [esi + 0x16a0]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406c50
mov eax, dword [esi + 0x16a4]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.00402770
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x1cf0]
mov dword [edi], eax
call fcn.00404be0
lea ecx, [esp + 0x4c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404510
push str.521314.jpg
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x168], 1
call fcn.00406870
add esp, 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x15c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
call fcn.004079d0
mov ebx, dword [esp + 0x10]
push ecx
lea edi, [ebx - 0x10]
mov dword [esp + 0x20], esp
mov ebp, esp
push edi
mov byte [esp + 0x164], 4
call fcn.00402770
add eax, 0x10
mov dword [ebp], eax
lea eax, [esi + 0x958]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x168], 5
call fcn.00404510
lea ecx, [esp + 0x2c]
mov byte [esp + 0x164], 4
call fcn.00408360
test eax, eax
je 0x40ad76
push ebx
lea ecx, [esi + 0x1d48]
call fcn.00408fb0
mov ecx, dword [esi + 0x1d64]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x24]
mov byte [esp + 0x15c], 3
call fcn.00407b00
mov byte [esp + 0x15c], 0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40ada6
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x15c], 0xffffffff
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x150]
call fcn.00415c2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x150
ret
Function at 0x40b3f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x434a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x148c]
push 5
mov ecx, edi
call fcn.00429709
mov eax, dword [esi + 0x1488]
push ecx
sub eax, 0x10
mov dword [esp + 0x10], esp
mov ebx, esp
push eax
call fcn.00402770
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebx], eax
call fcn.00402ec0
test al, al
jne 0x40b489
push 0x24
push 0x438534
push 0x438504
mov ecx, esi
call fcn.00426e46
cmp eax, 6
jne 0x40b489
push 5
push 0
push 0
push str.http:__bbs.caxss.com_thread_186334_1_1.html
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov al, byte [esi + 0x15f0]
test al, al
lea ecx, [esi + 0x1c00]
je 0x40b4a0
push 0x4382a8
jmp 0x40b4a5
push 0x4382a0
call fcn.0042968f
mov ecx, edi
call fcn.00401fb0
push 0
mov edi, eax
push edi
push 0
lea ecx, [esi + 0x16c]
call fcn.00424e48
mov eax, dword [esi + 0x188]
push 0
push 1
push 0x405
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
push edi
push ecx
call fcn.0040ade0
add esp, 8
mov eax, dword [eax]
push eax
push 0x3f1
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.0042958c
mov ecx, eax
call fcn.0042968f
mov eax, dword [esp + 0xc]
or edi, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x1c], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b529
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0040ade0
add esp, 8
mov eax, dword [eax]
push eax
push 0x3f2
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.0042958c
mov ecx, eax
call fcn.0042968f
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40b575
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret