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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x486ca3
push esi
call fcn.00495010
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x486c9c
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 0x486d29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x486d12
mov eax, dword [esi + 8]
test eax, eax
je 0x486cc7
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 0x486d0e
cmp eax, 2
je 0x486d12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x486cba
cmp eax, 3
je 0x486ced
cmp eax, 1
jne 0x486cba
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 0x486cba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x486cba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00486d50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x486d38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00486d50
add esp, 4
pop esi
ret

Function at 0x4875c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4875e1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4875e1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4875e1
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 0x4a4de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4a4e53
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a4e48
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004ddd1c
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x4bad20
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x500c16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x60f738]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.004ef3cd
cmp dword [0x62caa0], ebx
je 0x4bad90
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.004ecf93
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x60f738]
push ebp
push edi
mov edi, 1
mov dword [0x62caa0], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x4badb9
mov dword [esp + 0x20], ebx
jmp 0x4badc0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.004f152e
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.004ed080
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x4bae1e
mov dword [esp + 0x14], ebx
jmp 0x4bae25
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x4bae3f
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4bae39
cmp eax, 2
jne 0x4bae3f
mov dword [esp + 0x18], edi
jmp 0x4bae43
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4bae51
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004eea02
mov edi, eax
cmp edi, ebx
jne 0x4bae61
xor eax, eax
jmp 0x4bae64
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4bae8c
mov ecx, esi
call fcn.004f152e
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x4baea4
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x62caa0], 0
test eax, eax
je 0x4baecd
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x4baecd
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.004ecf93
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ecf93
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4bcdd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x500e08
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.004f3c1c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.004bcd10
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004f3b4a
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 0x4bce97
cmp dword [esp + 0x40], 1
jne 0x4bce95
cmp ecx, eax
jge 0x4bce97
mov eax, ecx
cmp eax, 0x12c
jge 0x4bcea3
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.004bcef0
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.004f3c8e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4c11b0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5012f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x60f738]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.004ef3cd
mov edx, dword [0x60f738]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x4c120a
mov dword [esp + 0x1c], ebx
jmp 0x4c1211
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.004f152e
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.004ed080
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x4c1262
mov dword [esp + 0x14], ebx
jmp 0x4c1269
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x4c1284
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4c127e
cmp eax, 2
jne 0x4c1284
mov dword [esp + 0x18], edi
jmp 0x4c1288
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4c1296
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004eea02
mov edi, eax
cmp edi, ebx
jne 0x4c12a6
xor eax, eax
jmp 0x4c12a9
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4c12d1
mov ecx, esi
call fcn.004f152e
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x4c12ed
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c130c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x4c130c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.004ecf93
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.004ecf93
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4cd8b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3cc8
push 0x4dda28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.004dbea0
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cda60
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x9c
push eax
call esi
test eax, eax
jne 0x4cdaa1
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push ecx
call esi
test eax, eax
je 0x4cdb0e
cmp dword [esp + 0x1c], 2
jne 0x4cdb0e
cmp dword [esp + 0x10], 5
jne 0x4cdb0e
cmp dword [esp + 0x14], 1
jne 0x4cdb0e
push str.kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4cdaf8
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4cdae9
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
jmp 0x4cdaf1
mov dword [esp + 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
test eax, eax
je 0x4cdb0e
pop edi
mov eax, 1
pop esi
add esp, 0xa0
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x4d09c0
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 0x4d0a26
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 0x4d0a26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4d0a07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x4d0db0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4d0de8
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 0x4d1a10
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 0x4d1a59
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 0x4d1ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501980
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.004d1a80
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004d1b00
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004d1b00
lea ecx, [esi + 0xc]
call fcn.004ecf1e
lea ecx, [esi + 0x10]
call fcn.004ecf1e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004d3060
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004d3060
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004d3060
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004ecf93
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004ecf93
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4ef3cd
Capabilities:
Get graphical window text

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

Function at 0x4f0c42
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 0x4f0c84
call fcn.004f758b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f0c84
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f0c7b
xor eax, eax
jmp 0x4f0c8c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f0c92
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f7abb
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 0x4f7ae9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f7b07
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f7a21
jmp 0x4f7b07
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f7b07
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f7a21
test edi, edi
mov eax, edi
jne 0x4f7af1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4fa3b4
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x4fa3dc
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x4fa3ed
push 2
call edi
test ax, ax
jge 0x4fa3ed
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004eea02
cmp dword [esi + 0x30], ebx
jne 0x4fa4c7
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004eea02
cmp eax, dword [esp + 0x34]
jne 0x4fa4c7
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x4fa463
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x4fa4a8
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x4fa4c7
cmp eax, 0x205
je 0x4fa4c7
cmp eax, 0x201
je 0x4fa4c7
cmp eax, 0x204
je 0x4fa4c7
cmp eax, ebx
jne 0x4fa48e
cmp dword [esp + 0x1c], 0x1b
je 0x4fa4c7
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x64a3b4]
jbe 0x4fa4bd
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x4fa420
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x402df4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
call fcn.00403684
push eax
call fcn.00403464
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0xac], 0x47
mov byte [ebp - 0xab], 0x65
mov byte [ebp - 0xaa], 0x74
mov byte [ebp - 0xa9], 0x4d
mov byte [ebp - 0xa8], 0x6f
mov byte [ebp - 0xa7], 0x64
mov byte [ebp - 0xa6], 0x75
mov byte [ebp - 0xa5], 0x6c
mov byte [ebp - 0xa4], 0x65
mov byte [ebp - 0xa3], 0x46
mov byte [ebp - 0xa2], 0x69
mov byte [ebp - 0xa1], 0x6c
mov byte [ebp - 0xa0], 0x65
mov byte [ebp - 0x9f], 0x4e
mov byte [ebp - 0x9e], 0x61
mov byte [ebp - 0x9d], 0x6d
mov byte [ebp - 0x9c], 0x65
mov byte [ebp - 0x9b], 0x41
mov byte [ebp - 0x9a], 0
lea eax, [ebp - 0xac]
push eax
call fcn.00403684
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0xe8], eax
push 0x104
lea ecx, [ebp - 0x208]
push ecx
push 0
call dword [ebp - 0xe8]
mov byte [ebp - 0x54], 0x46
mov byte [ebp - 0x53], 0x4e
mov byte [ebp - 0x52], 0x50
mov byte [ebp - 0x51], 0x4c
mov byte [ebp - 0x50], 0x69
mov byte [ebp - 0x4f], 0x63
mov byte [ebp - 0x4e], 0x65
mov byte [ebp - 0x4d], 0x6e
mov byte [ebp - 0x4c], 0x73
mov byte [ebp - 0x4b], 0x69
mov byte [ebp - 0x4a], 0x6e
mov byte [ebp - 0x49], 0x67
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x72
mov byte [ebp - 0x45], 0x76
mov byte [ebp - 0x44], 0x69
mov byte [ebp - 0x43], 0x63
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x2e
mov byte [ebp - 0x40], 0x65
mov byte [ebp - 0x3f], 0x78
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x3d], 0
lea edx, [ebp - 0x208]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [ebp - 9], dl
add dword [ebp - 0x14], 1
cmp byte [ebp - 9], 0
jne 0x402f32
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [ebp - 0xa], cl
add dword [ebp - 0x18], 1
cmp byte [ebp - 0xa], 0
jne 0x402f65
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0xf4]
lea edx, [ebp + ecx - 0x208]
sub edx, dword [ebp - 0xf8]
mov dword [ebp - 0x24], edx

Function at 0x403000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x403009
xor eax, eax
jmp 0x403460
mov byte [ebp - 0x64], 0x4c
mov byte [ebp - 0x63], 0x6f
mov byte [ebp - 0x62], 0x61
mov byte [ebp - 0x61], 0x64
mov byte fs:[ebp - 0x60], 0x4c
mov byte [ebp - 0x5f], 0x69
mov byte [ebp - 0x5e], 0x62
mov byte [ebp - 0x5d], 0x72
mov byte [ebp - 0x5c], 0x61
mov byte [ebp - 0x5b], 0x72
mov byte [ebp - 0x5a], 0x79
jns 0x402ffc
inc ebp
cmpsd dword [esi], dword es:[edi]
inc ecx
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x64]
push edx
call fcn.00403684
push eax
call dword [ebp - 0x1c]
invalid
invalid
Function at 0x4030dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sal byte [ebp - 0x3a], 1
inc ebp
sal dword [edx - 0x3a], 1
inc ebp
shr byte [esi + eax*8 + 0x45], cl
shr dword [ebp - 0x3a], cl
inc ebp
aam 0x6f
mov eax, 1
jmp 0x403460
mov dword [ebp - 8], 0
invalid
invalid

Function at 0x403464
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0x7c], 0
jne 0x403495
xor eax, eax
jmp 0x403678
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx + 0x78], 0
jne 0x4034ae
xor eax, eax
jmp 0x403678
mov eax, 8
invalid

Function at 0x403684
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret

Function at 0x403e68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x502024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403f00
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403ee0
xor eax, eax
push ebp
push 0x403ed9
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 0x403f38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ee0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x502024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x502024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ff4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x506054], 0
je 0x405055
cmp word [0x506330], 0xd7b2
jne 0x40501d
cmp dword [0x506338], 0
jbe 0x40501d
mov eax, 0x50632c
call dword [0x506348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x405080
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x502030], 0
jne 0x405071
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x502034], 0
je 0x405226
mov edx, esi
mov eax, ebx
call dword [0x502034]
jmp 0x405235
mov eax, 8
call fcn.00403018
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x506055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4051c8
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc

Function at 0x406f50
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x406f92
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x406fb2
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00406640
add esp, 0x41c
pop esi
pop ebx
ret