joyce8/EMBER2024-capa huggingface dataset:
Function at 0x594650
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x603498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.005fa7fc
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00593fb0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005fa72a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.005f6fee
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.005f6fee
push 1
push 0
push 0
mov ecx, esi
call fcn.005f6f96
push 1
push 0
push 1
mov ecx, esi
call fcn.005f6f96
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005fa86e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x5947d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6034b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005fa7fc
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00593fb0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005fa72a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x594894
cmp dword [esp + 0x40], 1
jne 0x594892
cmp ecx, eax
jge 0x594894
mov eax, ecx
cmp eax, 0xc8
jge 0x5948a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00594650
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005fa86e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5950a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x603563
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005f540c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.005faaa4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005fc139
test eax, eax
je 0x5951bc
mov ecx, dword [esp + 0x3c]
call fcn.005faad1
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x595180
push edi
mov ecx, esi
call fcn.005f8139
mov ecx, esi
call fcn.00595360
cmp dword [esp + 0x38], 1
jne 0x5951b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005f8274
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x5973a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x5973d3
push esi
call fcn.005a54d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x5973cc
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 0x597459
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x597442
mov eax, dword [esi + 8]
test eax, eax
je 0x5973f7
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 0x59743e
cmp eax, 2
je 0x597442
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5973ea
cmp eax, 3
je 0x59741d
cmp eax, 1
jne 0x5973ea
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 0x5973ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5973ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00597480
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x597468
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00597480
add esp, 4
pop esi
ret

Function at 0x597cf0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x597d11
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x597d11
mov eax, dword [eax + 0x44]
test eax, eax
je 0x597d11
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 0x5bb910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x5bb95c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x5bb95c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x5bb946
push eax
call ebp
test ax, ax
jl 0x5bb954
inc esi
add edi, 4
cmp esi, 6
jb 0x5bb938
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.005bb610
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5be910
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x5be970
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x5be970
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x5be970
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x5be970
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 0x5be980
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 0x5c96a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x5c96ab
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x5c97ae
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x750860]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x750860]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x750860]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x750860]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x750860]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x750860]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x750860]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x750860]
xor eax, edx
inc ecx
dec edi
jne 0x5c96c6
pop edi
test esi, esi
je 0x5c97d0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x750860]
xor eax, edx
inc ecx
dec esi
jne 0x5c97b2
pop esi
pop ebx
not eax
ret

Function at 0x5d2820
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 0x5d28c3
test eax, eax
jbe 0x5d28c3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x5d28c3
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 0x5d286e
xor esi, esi
jmp 0x5d2874
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x5d289f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.005d4860
add esi, eax
push esi
mov ebx, esi
call fcn.005d4860
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x5d2880
pop ebp
test edi, edi
pop edi
jne 0x5d28c3
test ebx, ebx
je 0x5d28c3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.005e1770
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x5d2a25
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5d2b3d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5d2b3d
mov eax, dword [esi + 0x3c]
push eax
call fcn.005f585e
mov esi, eax
test esi, esi
je 0x5d2b3d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x5d2b3d
mov ecx, esi
call fcn.005d29b0
cmp edi, eax
jge 0x5d2b3d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x5d2ac3
mov dword [esp + 0x34], 1
jmp 0x5d2b1e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x5d2b3d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.005d1f40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x5d6158
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6044e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.005d8c00
lea edi, [esi + 0x108]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0xc]
mov dword [edi], fcn.005d2740
call fcn.005f27e6
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 1
call fcn.005f27e6
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.005d87d0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 3
call fcn.005d87d0
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 4
call fcn.005f27e6
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 5
call fcn.005f27e6
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 6
call fcn.005d87d0
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 7
call fcn.005d87d0
mov dword [edi], 0x7522c8
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 8
call fcn.005d8c00
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 9
call fcn.005d8c00
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 0xa
call fcn.005d8c00
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0xb
call fcn.005d8c00
lea ecx, [esi + 0x654]
mov byte [esp + 0x18], 0xc
call fcn.005d8c00
mov ecx, esi
mov byte [esp + 0x18], 0xd
mov dword [esi], method.CWnd.virtual_0
call fcn.005d6480
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5d6340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6045fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.005d8dd0
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.005d8dd0
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.005d8dd0
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.005d8dd0
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.005d8dd0
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0x7522d8
call fcn.005d89d0
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0x7522d8
call fcn.005d89d0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.005f280f
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.005f280f
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x7522d8
call fcn.005d89d0
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x7522d8
call fcn.005d89d0
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.005f280f
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.005f280f
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.005d8dd0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5f6201
Capabilities:
Get graphical window text

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

Function at 0x5f78f6
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 0x5f7938
call fcn.005fd6b5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5f7938
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5f792f
xor eax, eax
jmp 0x5f7940
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005f7946
pop edi
pop esi
pop ebx
ret 4

Function at 0x5fdbe5
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 0x5fdc13
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5fdc31
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005fdb4b
jmp 0x5fdc31
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5fdc31
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005fdb4b
test edi, edi
mov eax, edi
jne 0x5fdc1b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x7702d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x207000]
push edi
or ebp, 0xffffffff
jmp 0x7702f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7702f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7702e8
mov eax, 1
add ebx, ebx
jne 0x77030b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x77031c
jne 0x77033b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77033b
dec eax
add ebx, ebx
jne 0x770328
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x770300
add ebx, ebx
jne 0x770337
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x77038d
xor ecx, ecx
sub eax, 3
jb 0x770353
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7703c2
sar eax, 1
mov ebp, eax
jmp 0x77035e
add ebx, ebx
jne 0x77035e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77032c
inc ecx
add ebx, ebx
jne 0x77036c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x77032c
add ebx, ebx
jne 0x770379
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x77036e
jne 0x77038a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x77036e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7703ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x77039e
jmp 0x7702ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7703ac
add edi, ecx
jmp 0x7702ee
pop esi
mov edi, esi
mov ecx, 0x6ab3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7703ca
cmp byte [edi], 0x22
jne 0x7703ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7703cf
lea edi, [esi + 0x36d000]
mov eax, dword [edi]
or eax, eax
je 0x770447
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3824a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3825f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7703fc
mov ecx, edi
jns 0x77042b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3825fc]
or eax, eax
je 0x770441
mov dword [ebx], eax
add ebx, 4
jmp 0x770419
call dword [esi + 0x38260c]
mov ebp, dword [esi + 0x382600]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x77047b
sub esp, 0xffffff80
jmp 0x4df12d
Function at 0x40f790
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49857b
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.00489c7b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40f812
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004873f2
mov eax, dword [eax]
push 0x500cdc
push eax
call fcn.00479344
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00489f06
test bl, bl
je 0x40f812
push 0x500cdc
lea ecx, [esp + 0xc]
call fcn.0048a296
push 0x500ce8
lea ecx, [esp + 0xc]
call fcn.0048a296
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 0x40f84e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00489f06
jmp 0x40f919
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 0x40f8d2
lea edx, [esp + 0x7c]
push 0x500ce4
push edx
call fcn.00479344
add esp, 8
test eax, eax
je 0x40f8d2
lea eax, [esp + 0x7c]
push 0x500ce0
push eax
call fcn.00479344
add esp, 8
test eax, eax
je 0x40f8d2
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 0x40f862
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.00489f06
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 0x410120
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 0x410182
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