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

Disassembly:
push 0xffffffffffffffff
push 0x5de533
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.005d0f6b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.005d6609
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005d7b68
test eax, eax
je 0x552ccc
mov ecx, dword [esp + 0x3c]
call fcn.005d6636
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 0x552c90
push edi
mov ecx, esi
call fcn.005d3c95
mov ecx, esi
call fcn.00552e30
cmp dword [esp + 0x38], 1
jne 0x552cc5
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.005d3dd0
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 0x555700
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x555733
push esi
call fcn.005587c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x55572c
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 0x5557b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5557a2
mov eax, dword [esi + 8]
test eax, eax
je 0x555757
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 0x55579e
cmp eax, 2
je 0x5557a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x55574a
cmp eax, 3
je 0x55577d
cmp eax, 1
jne 0x55574a
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 0x55574a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x55574a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005557e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5557c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.005557e0
add esp, 4
pop esi
ret

Function at 0x561950
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 0x5619f3
test eax, eax
jbe 0x5619f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x5619f3
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 0x56199e
xor esi, esi
jmp 0x5619a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x5619cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00514480
add esi, eax
push esi
mov ebx, esi
call fcn.00514480
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x5619b0
pop ebp
test edi, edi
pop edi
jne 0x5619f3
test ebx, ebx
je 0x5619f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.005beae0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x561b35
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 0x561c4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x561c4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.005d13bd
mov esi, eax
test esi, esi
je 0x561c4d
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 0x561c4d
mov ecx, esi
call fcn.00561aa0
cmp edi, eax
jge 0x561c4d
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 0x561bd3
mov dword [esp + 0x34], 1
jmp 0x561c2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x561c4d
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.00560fb0
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 0x5654c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x565526
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x565526
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x565507
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x5658b0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x5658e8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x566510
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x566559
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x5669d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dede0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00566580
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00566600
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00566600
lea ecx, [esi + 0xc]
call fcn.005cf91d
lea ecx, [esi + 0x10]
call fcn.005cf91d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00567b90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00567b90
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00567b90
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005cf992
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005cf992
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x56cb40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5df3b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0056cf10
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.0056cf10
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.0056cf80
lea ecx, [esp + 0x10]
call fcn.0056b8e0
cmp eax, 1
jae 0x56cbe8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x56cc53
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x56cc53
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.0056cf80
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.0056b8e0
cmp eax, 1
jb 0x56cc53
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.0056c9e0
test eax, eax
je 0x56cc53
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0056ccc0
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.0056cfe0
push edi
lea ecx, [esp + 0x24]
call fcn.0056d000
push esi
lea ecx, [esp + 0x24]
call fcn.0056d0a0
push str..tmp
lea ecx, [esp + 0x24]
call fcn.0056d000
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.0056c9c0
test eax, eax
je 0x56cc89
inc esi
cmp esi, 0x7a0a1f00
jb 0x56cc0a
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0056cf30
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056cf30
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.0056cfe0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0056cf30
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0056cf30
mov eax, 1
jmp 0x56cc74
Function at 0x56d430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0056cf10
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.0056cf80
push 0
mov ecx, esi
call fcn.0056d3b0
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x56d568
lea ecx, [esp + 0xc]
call fcn.0056b8e0
cmp eax, 1
jae 0x56d4b7
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0056cf30
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x56d504
push 0
lea ecx, [esp + 0x10]
call fcn.0056d330
push eax
push edi
mov ecx, 0x67accc
call fcn.0056cb40
test eax, eax
jne 0x56d50c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0056cf30
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.0056cf80
push edi
mov ecx, 0x67accc
call fcn.0056caa0
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.0056d320
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x56d568
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x56d568
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x56d598
push 1
mov ecx, esi
call fcn.0056d3b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0056cf30
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.0056cf30
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x56de90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.0056cf80
pop edi
add esp, 0x104
ret 4
Function at 0x56e600
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x56e633
push esi
call fcn.005734f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x56e62c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x56e6b9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x56e6a2
mov eax, dword [esi + 8]
test eax, eax
je 0x56e657
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x56e69e
cmp eax, 2
je 0x56e6a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x56e64a
cmp eax, 3
je 0x56e67d
cmp eax, 1
jne 0x56e64a
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 0x56e64a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x56e64a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0056e6f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x56e6d9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0056e6f0
add esp, 4
pop esi
ret

Function at 0x59f1d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x59f1db
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x59f2de
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 + 0x61ab10]
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 + 0x61ab10]
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 + 0x61ab10]
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 + 0x61ab10]
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 + 0x61ab10]
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 + 0x61ab10]
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 + 0x61ab10]
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 + 0x61ab10]
xor eax, edx
inc ecx
dec edi
jne 0x59f1f6
pop edi
test esi, esi
je 0x59f300
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x61ab10]
xor eax, edx
inc ecx
dec esi
jne 0x59f2e2
pop esi
pop ebx
not eax
ret
Function at 0x5d1d60
Capabilities:
Get graphical window text

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

Function at 0x5d3452
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 0x5d3494
call fcn.005d9209
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5d3494
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5d348b
xor eax, eax
jmp 0x5d349c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005d34a2
pop edi
pop esi
pop ebx
ret 4

Function at 0x5d9739
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 0x5d9767
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5d9785
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005d969f
jmp 0x5d9785
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5d9785
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005d969f
test edi, edi
mov eax, edi
jne 0x5d976f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
push 0x4ee61051
call fcn.004011f0
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x23c], eax
push 0x384977d3
mov ecx, dword [ebp - 0x23c]
push ecx
call fcn.00401100
add esp, 8
mov dword [ebp - 0x238], eax
push 0x7f8a
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
push eax
call dword [ebp - 0x238]
call fcn.00401b80
call fcn.004012e0
push 0x660c1c02
call fcn.004011f0
add esp, 4
mov dword [ebp - 0x240], eax
push 0x104
lea edx, [ebp - 0x220]
push edx
push 0
call dword [ebp - 0x240]
push 0x214c6981
call fcn.004011f0
add esp, 4
mov dword [ebp - 0x224], eax
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [ebp - 0x224]
mov byte [ebp - 0x234], 0x5c
mov byte [ebp - 0x233], 0x5c
mov byte [ebp - 0x232], 0x73
mov byte [ebp - 0x231], 0x79
mov byte [ebp - 0x230], 0x73
mov byte [ebp - 0x22f], 0x74
mov byte [ebp - 0x22e], 0x65
mov byte [ebp - 0x22d], 0x6d
mov byte [ebp - 0x22c], 0x2e
mov byte [ebp - 0x22b], 0x65
mov byte [ebp - 0x22a], 0x78
mov byte [ebp - 0x229], 0x65
mov byte [ebp - 0x228], 0
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.00401270
add esp, 8
push 1
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [ebp - 0x10]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404363
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403243
and dword [ebp - 4], 0
cmp dword [0x424c60], 0
mov ebx, eax
jne 0x404414
push 0x409868
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4044c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40985c
push edi
call esi
test eax, eax
je 0x4044c5
push eax
call fcn.004031d1
mov dword [esp], 0x40984c
push edi
mov dword [0x424c60], eax
call esi
push eax
call fcn.004031d1
mov dword [esp], 0x409838
push edi
mov dword [0x424c64], eax
call esi
push eax
call fcn.004031d1
mov dword [esp], 0x40981c
push edi
mov dword [0x424c68], eax
call esi
push eax
call fcn.004031d1
pop ecx
mov dword [0x424c70], eax
test eax, eax
je 0x404414
push 0x409804
push edi
call esi
push eax
call fcn.004031d1
pop ecx
mov dword [0x424c6c], eax
mov eax, dword [0x424c6c]
cmp eax, ebx
je 0x40446c
cmp dword [0x424c70], ebx
je 0x40446c
push eax
call fcn.0040324c
push dword [0x424c70]
mov esi, eax
call fcn.0040324c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40446c
test edi, edi
je 0x40446c
call esi
test eax, eax
je 0x404463
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404463
test byte [ebp - 0xc], 1
jne 0x40446c
or dword [ebp + 0x10], 0x200000
jmp 0x4044a5
mov eax, dword [0x424c64]
cmp eax, ebx
je 0x4044a5
push eax
call fcn.0040324c
pop ecx
test eax, eax
je 0x4044a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4044a5
mov eax, dword [0x424c68]
cmp eax, ebx
je 0x4044a5
push eax
call fcn.0040324c
pop ecx
test eax, eax
je 0x4044a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424c60]
call fcn.0040324c
pop ecx
test eax, eax
je 0x4044c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4044c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40613e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b9f8]
jne 0x406148
repz ret
jmp fcn.00407865
Function at 0x40302c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x472020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4030c4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4030a4
xor eax, eax
push ebp
push 0x40309d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4030e0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4030a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x472020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x472020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d90
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47704c], 0
je 0x403df1
cmp word [0x477220], 0xd7b2
jne 0x403db9
cmp dword [0x477228], 0
jbe 0x403db9
mov eax, 0x47721c
call dword [0x477238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47206c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403e18
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x472030], 0
jne 0x403e0d
push 0
push 0x472064
push 0x47206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403f64
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040272c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47704d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403f2c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc