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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44f0e3
push esi
call fcn.004521c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44f0dc
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 0x44f169
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44f152
mov eax, dword [esi + 8]
test eax, eax
je 0x44f107
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 0x44f14e
cmp eax, 2
je 0x44f152
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44f0fa
cmp eax, 3
je 0x44f12d
cmp eax, 1
jne 0x44f0fa
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 0x44f0fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44f0fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044f190
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44f178
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044f190
add esp, 4
pop esi
ret

Function at 0x45bc98
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5d8c
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.004a8ae8
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.004605f0
call fcn.0045e8a0
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.0045e8a0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.0045e8a0
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.0045e8a0
mov dword [edi], 0x88be7c
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.004a5e8a
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x88bf4c
mov eax, dword [0x97534c]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.0045e8a0
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.004a5e8a
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45bd80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5e14
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.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.004a5eb3
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x88be78
call fcn.0045eaa0
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.004a750c
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.004ae1da
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.004a5eb3
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x88be78
call fcn.0045eaa0
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x88be78
call fcn.0045eaa0
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x88be78
call fcn.0045eaa0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x88be78
call fcn.0045eaa0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004a5abe
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x45c9c0
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 0x45ca63
test eax, eax
jbe 0x45ca63
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45ca63
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 0x45ca0e
xor esi, esi
jmp 0x45ca14
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45ca3f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00413e60
add esi, eax
push esi
mov ebx, esi
call fcn.00413e60
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45ca20
pop ebp
test edi, edi
pop edi
jne 0x45ca63
test ebx, ebx
je 0x45ca63
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00479430
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45cba5
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 0x45ccbd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45ccbd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a8f3a
mov esi, eax
test esi, esi
je 0x45ccbd
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 0x45ccbd
mov ecx, esi
call fcn.0045cb10
cmp edi, eax
jge 0x45ccbd
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 0x45cc43
mov dword [esp + 0x34], 1
jmp 0x45cc9e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45ccbd
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.0045a860
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 0x465a70
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 0x465abc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x465abc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x465aa6
push eax
call ebp
test ax, ax
jl 0x465ab4
inc esi
add edi, 4
cmp esi, 6
jb 0x465a98
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00465770
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x469710
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x469770
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x469770
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x469770
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x469770
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 0x469780
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 0x46b6f0
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 0x46b756
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 0x46b756
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46b737
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46bee0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x46bf18
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 0x46cb70
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0046ccc0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x46cb90
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x46cb71
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0046ccc0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x46cb90
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x46cbc0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x46cc17
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x46cc2d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0046cc50
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x46cc50
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x46cce0
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 0x46cd29
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 0x46d1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b69d0
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.0046cd50
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046cdd0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046cdd0
lea ecx, [esi + 0xc]
call fcn.004a7497
lea ecx, [esi + 0x10]
call fcn.004a7497
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046f600
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046f600
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046f600
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004a750c
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a750c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x46de48
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6bf8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x46de58
call fcn.0046e370
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x46df3b
cmp byte [edi], 0
je 0x46df3b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x46de7d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0046cb70
test eax, eax
jne 0x46de9d
push 0x974f94
lea ecx, [esi + 0x38]
call fcn.004a7649
jmp 0x46df3b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0046cbc0
test eax, eax
jne 0x46decc
mov ecx, esi
call fcn.0046ccc0
push edi
add esi, 0x38
push 0x974f70
push esi
call fcn.004a4f7f
add esp, 0xc
jmp 0x46df3b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0046ebf0
test eax, eax
je 0x46df34
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0046e010
test eax, eax
jne 0x46df50
push edi
lea eax, [esi + 0x38]
push 0x974f4c
push eax
call fcn.004a4f7f
add esp, 0xc
mov ecx, esi
call fcn.0046e370
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x46dff8
mov ecx, dword [0x97534c]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.004a4f7f
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0046cc70
test eax, eax
jne 0x46dfba
push 0x974f30
lea ecx, [esi + 0x38]
call fcn.004a7649
jmp 0x46dfca
push 0xfa
mov ecx, esi
call fcn.0046ebf0
test eax, eax
jne 0x46dfe7
mov ecx, esi
call fcn.0046e370
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004a750c
jmp 0x46df3b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004a750c
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x472b00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b6ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00472f00
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x9c670c
call fcn.0047a8f8
mov ecx, dword [0x88d590]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00470270
mov esi, 0x88d5e8
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x472ba7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x472b9e
cmp al, 0xff
je 0x472b9e
dec al
mov byte [ecx], al
jmp 0x472ba7
push ecx
call fcn.004a7276
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004a30e0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x472bed
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x472be4
cmp al, 0xff
je 0x472be4
dec al
mov byte [ecx], al
jmp 0x472bed
push ecx
call fcn.004a7276
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0047a97f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x49d750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b7f50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0049240d
mov eax, dword [0x957be8]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0049233f
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0049e240
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x49d7f7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49d7ee
cmp al, 0xff
je 0x49d7ee
dec al
mov byte [ecx], al
jmp 0x49d7f7
push ecx
call fcn.004a7276
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x49d828
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x49d81f
cmp al, 0xff
je 0x49d81f
dec al
mov byte [ecx], al
jmp 0x49d828
push ecx
call fcn.004a7276
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4a98dd
Capabilities:
Get graphical window text

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

Function at 0x4aafd4
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 0x4ab016
call fcn.004b0ecb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ab016
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ab00d
xor eax, eax
jmp 0x4ab01e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ab024
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b13fb
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 0x4b1429
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b1447
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b1361
jmp 0x4b1447
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b1447
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b1361
test edi, edi
mov eax, edi
jne 0x4b1431
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x410173
Capabilities:
Create thread

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x410181
xor al, al
pop esi
ret
push edi
lea edi, [eax + 0x20]
test edi, edi
je 0x410190
mov eax, edi
call fcn.004105f5
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x4101ec
add eax, 0xc
push eax
push 4
push esi
push 0x40f300
push 0
push 0
call fcn.00434819
mov ecx, dword [esi + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
add esp, 0x18
cmp dword [eax + 0x10], 0
jne 0x4101c4
mov esi, eax
jmp 0x4101e7
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
add eax, 0x24
call fcn.00410f72
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [0x4450b0]
cmp eax, 0xffffffff
jne 0x4101fb
mov esi, dword [esi + 8]
call fcn.0041007f
test edi, edi
je 0x4101f7
mov eax, edi
call fcn.00410603
xor al, al
jmp 0x410208
test edi, edi
je 0x410206
mov eax, edi
call fcn.00410603
mov al, 1
pop edi
pop esi
ret

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

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x410c3b
mov dword [ecx*4 + 0x45e320], eax
inc ecx
cmp ecx, 0x100
jb 0x410c36
mov edx, 0x800
jmp 0x410c88
mov eax, dword [ecx*4 + 0x45df20]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x45e320]
inc ecx
mov dword [ecx*4 + 0x45e31c], eax
cmp ecx, edx
jb 0x410c67
mov dword [0x45aaf4], 0x440a10
call fcn.0041106c
test eax, eax
pop esi
jne 0x410caa
mov dword [0x45aaf4], 0x440930
ret
Function at 0x41edeb
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x41ee02
add eax, eax
xor eax, 0x4c11db7
jmp 0x41ee04
add eax, eax
dec edx
test edx, edx
jg 0x41edf5
mov dword [ecx*4 + 0x45aaf8], eax
inc ecx
cmp ecx, 0x100
jb 0x41eded
ret
Function at 0x430410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
sub esp, 0xc
xor eax, eax
and edx, 7
cmp ecx, 5
push edi
mov edi, dword [ebp + 8]
jb 0x43055c
add dword [ebp + 0xc], 5
or dword [ebp - 4], 0xffffffff
lea ecx, [edi + ecx - 4]
push ebx
mov dword [ebp - 8], ecx
push esi
lea esi, [eax + edi]
jmp 0x43044c
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x430451
inc esi
cmp esi, dword [ebp - 8]
jb 0x430443
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 8]
jae 0x43053d
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp ecx, 3
jbe 0x4304d0
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp - 4], eax
je 0x43047d
cmp cl, 0xff
jne 0x4304ff
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
sub edi, eax
sub edi, dword [ebp + 0xc]
test edx, edx
mov ebx, edi
mov dword [ebp - 0xc], ebx
je 0x430510
movzx edi, byte [edx + 0x448d18]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
shr ebx, cl
test bl, bl
je 0x4304c0
cmp bl, 0xff
jne 0x43050d
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, dword [ebp - 0xc]
jmp 0x430498
dec ecx
shl edx, cl
and edx, 7
je 0x43046a
movzx ecx, byte [edx + 0x448d18]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x448d10], 0
mov cl, byte [ebx + 4]
je 0x4304fc
test cl, cl
je 0x4304fc
cmp cl, 0xff
jne 0x43046a
mov dword [ebp - 4], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x43043e
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x43043e
mov esi, eax
sub esi, dword [ebp - 4]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
and ecx, edx
mov edx, dword [ebp + 0x10]
pop esi
mov dword [edx], ecx
pop ebx
pop edi
leave
ret

Function at 0x430713
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret