joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412c00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49280b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00487600
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412c82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048537a
mov eax, dword [eax]
push 0x555ce8
push eax
call fcn.004771c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048788b
test bl, bl
je 0x412c82
push 0x555ce8
lea ecx, [esp + 0xc]
call fcn.00487c1b
push 0x555cf4
lea ecx, [esp + 0xc]
call fcn.00487c1b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x412cbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048788b
jmp 0x412d89
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x412d42
lea edx, [esp + 0x7c]
push 0x555cf0
push edx
call fcn.004771c4
add esp, 8
test eax, eax
je 0x412d42
lea eax, [esp + 0x7c]
push 0x555cec
push eax
call fcn.004771c4
add esp, 8
test eax, eax
je 0x412d42
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x412cd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048788b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x413580
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4135e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
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 eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4135f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49288b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5958e8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x413728
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413656
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048788b
xor eax, eax
jmp 0x41379f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004879c8
push esi
lea ecx, [esp + 0xc]
call fcn.00487c57
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41377d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00413580
test eax, eax
jne 0x41377d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00413580
test eax, eax
jne 0x41377d
lea eax, [esp + 0x14]
push 0x555d04
push eax
call fcn.00478240
mov esi, eax
add esp, 8
test esi, esi
jne 0x41375c
lea ecx, [esp + 0x14]
push 0x555d00
push ecx
call fcn.004781c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41375c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41375f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00487978
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41366e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048788b
xor eax, eax
jmp 0x41379f
mov byte [esi], 0
push 0x555cfc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0048788b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x438370
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4949b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00432bb0
test eax, eax
je 0x438478
lea ecx, [esp + 0xc]
call fcn.0040ec70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00432bb0
mov ecx, eax
call fcn.004302d0
test eax, eax
je 0x43845f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x43845f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43845f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0040ee70
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x438441
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x43845f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x5a6528]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x53ff40
call fcn.0040ee70
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x4384d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00432bb0
test eax, eax
je 0x4385bf
mov ecx, edi
call fcn.00432bb0
mov ecx, eax
call fcn.00430180
test eax, eax
jne 0x4385bf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4385bf
mov eax, dword [0x5a6528]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x438532
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00432bb0
mov ecx, eax
call fcn.004303b0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4385bf
cmp ebx, eax
jne 0x4385bf
cmp dword [esp + 0x10], eax
jne 0x4385a5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43b220
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x494c48
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 0x43b259
inc eax
mov dword [esi + 0x10], eax
jmp 0x43b36c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43b26d
mov eax, 0xffffffc7
jmp 0x43b36e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43b27e
cmp dword [esi + 8], eax
jne 0x43b26d
cmp dword [esi + 8], eax
jne 0x43b297
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43b297
mov eax, 0xffffffc7
jmp 0x43b36e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43b2ab
push eax
mov ecx, ebx
call fcn.0043aa50
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.0040ec70
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43b2dc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040ec90
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043a1c0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43b30f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53ff70
call fcn.0040ee70
mov eax, dword [esp + 0x38]
jmp 0x43b36e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043b080
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43b353
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043b0a0
mov esi, eax
test esi, esi
jne 0x43b383
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043b080
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43b325
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x53ff70
call fcn.0040ee70
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], 0x53ff70
call fcn.0040ee70
mov eax, esi
jmp 0x43b36e

Function at 0x43fd40
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43fda0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43fda0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43fda0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43fda0
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 0x43fde0
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 0x44e880
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44e8b3
push esi
call fcn.0045cc40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44e8ac
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 0x44e939
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44e922
mov eax, dword [esi + 8]
test eax, eax
je 0x44e8d7
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 0x44e91e
cmp eax, 2
je 0x44e922
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44e8ca
cmp eax, 3
je 0x44e8fd
cmp eax, 1
jne 0x44e8ca
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 0x44e8ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44e8ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044e960
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44e948
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044e960
add esp, 4
pop esi
ret

Function at 0x44f1e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44f201
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44f201
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44f201
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x469c50
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x469cf3
test eax, eax
jbe 0x469cf3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x469cf3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x469c9e
xor esi, esi
jmp 0x469ca4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x469ccf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040f660
add esi, eax
push esi
mov ebx, esi
call fcn.0040f660
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x469cb0
pop ebp
test edi, edi
pop edi
jne 0x469cf3
test ebx, ebx
je 0x469cf3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00477b00
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x46d120
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
sub esp, 0x480
mov ecx, dword [esp + 0x484]
mov dword [esp], 0x378
test ecx, ecx
je 0x46d1e1
mov eax, dword [esp + 0x488]
test eax, eax
je 0x46d1e1
lea edx, [esp]
push edx
lea edx, [esp + 0x10c]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46d1e1
cmp dword [esp], 0x378
jne 0x46d1e1
lea eax, [esp + 4]
push 0x104
lea ecx, [esp + 0x10c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x46d1e1
lea edx, [esp + 4]
push edx
call fcn.0046cbb0
add esp, 4
test eax, eax
je 0x46d1e1
cmp dword [esp + 0x234], 1
jne 0x46d1d3
cmp dword [esp + 0x258], 2
jne 0x46d1d3
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x46d1e1
push str.WSPStartup
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46d1e1
mov eax, 1
add esp, 0x480
ret 8
xor eax, eax
add esp, 0x480
ret 8

Function at 0x46d1f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
test esi, esi
je 0x46d24f
push esi
call fcn.0046cbb0
add esp, 4
test eax, eax
je 0x46d24f
lea eax, [esp + 4]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x46d24f
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x46d24f
push 0x5605a0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
pop esi
neg eax
add esp, 0x104
ret 4
xor eax, eax
pop esi
add esp, 0x104
ret 4
Function at 0x46d4d0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x46d502
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.0046d260
test eax, eax
jne 0x46d51f
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x46d546
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x46d594
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.0046cf70
test eax, eax
jne 0x46d57d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x46d563
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push closesocket
mov ecx, edi
call fcn.0046cd40
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x46d5b7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x489c32
Capabilities:
Get graphical window text

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

Function at 0x48b324
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 0x48b366
call fcn.00490dd4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48b366
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48b35d
xor eax, eax
jmp 0x48b36e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048b374
pop edi
pop esi
pop ebx
ret 4
Function at 0x491304
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 0x491332
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x491350
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049126a
jmp 0x491350
mov eax, dword [esi + 0x14]
test eax, eax
je 0x491350
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049126a
test edi, edi
mov eax, edi
jne 0x49133a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4260c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x430304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x402df5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov dword [edi], eax
lea ecx, [edi + 4]
lea eax, [ebp - 0x20]
call fcn.00402fa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
lea esi, [edi + 4]
call fcn.004030a0
mov esi, dword [esi]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x10]
push eax
push esi
push edi
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426b91
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push edi
mov eax, dword [0x430304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
lea eax, [esi + 0x5d]
push eax
push 0x104
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 1
jl 0x403b8e
cmp eax, 0x104
jle 0x403b9f
lea eax, [esi + 0x5d]
push 0x42b398
push eax
call fcn.0040f00c
add esp, 8
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
mov dword [esi + 0x58], ebx
mov dword [esi], 2
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00402370
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 6
call fcn.00402370
mov edi, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], edi
jb 0x403bf1
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040e8d9
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00402370
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 4]
mov byte [ebp - 4], 7
call fcn.00402370
mov byte [ebp - 4], 5
cmp dword [ebp - 0x14], edi
jb 0x403c35
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040e8d9
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00402370
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 8
call fcn.00402370
cmp dword [ebp - 0x14], edi
jb 0x403c75
mov edx, dword [ebp - 0x28]
push edx
call fcn.0040e8d9
add esp, 4
cmp dword [ebp + 0x1c], edi
jb 0x403c86
mov eax, dword [ebp + 8]
push eax
call fcn.0040e8d9
add esp, 4
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x403ca4
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.0040e8d9
add esp, 4
mov dword [ebp + 0x38], 0xf
mov dword [ebp + 0x34], ebx
mov byte [ebp + 0x24], bl
cmp dword [ebp + 0x54], edi
jb 0x403cc2
mov edx, dword [ebp + 0x40]
push edx
call fcn.0040e8d9
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x54