joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4423f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x442444
mov eax, esi
call fcn.0042aa9c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x442444
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x442444
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x442588
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x442484
cmp eax, 0x108
ja 0x442484
mov eax, esi
call fcn.0042aa9c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44257f
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x442588
jmp 0x44257f
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x442566
cmp eax, 0x20a
ja 0x442566
test byte [esi + 0x50], 0x80
jne 0x4424b6
sub eax, 0x203
je 0x4424b3
sub eax, 3
je 0x4424b3
sub eax, 3
jne 0x4424b6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4424ca
dec eax
je 0x4424df
dec eax
je 0x4424ff
dec eax
je 0x4424df
jmp 0x442506
mov ecx, ebx
mov eax, dword [0x44ede4]
mov eax, dword [eax]
mov edx, esi
call fcn.00433f4c
jmp 0x44257f
cmp byte [esi + 0x5d], 1
jne 0x4424f5
mov eax, esi
mov si, 0xffed
call fcn.004036a0
jmp 0x442588
or word [esi + 0x54], 1
jmp 0x44257f
and word [esi + 0x54], 0xfffe
jmp 0x44257f
mov eax, dword [0x44fb90]
cmp byte [eax + 0x20], 0
je 0x44257f
mov eax, dword [0x44fb90]
cmp dword [eax + 0x1c], 0
je 0x44257f
mov eax, dword [ebx]
mov edx, dword [0x44fb90]
cmp eax, dword [edx + 0x1c]
jne 0x44257f
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042a9e0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004036a0
jmp 0x442588
mov eax, dword [ebx]
cmp eax, 0xb00b
jne 0x44257f
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00440d34
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44595c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x445978
cmp dword [esi + 4], 0
je 0x4459a5
test byte [ebx + 0x55], 1
jne 0x445997
mov eax, ebx
call fcn.00444620
test eax, eax
jne 0x445997
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x445ab5
mov edx, esi
mov eax, ebx
call fcn.0044547c
jmp 0x445ab5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x445aae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044772c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044232c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044595c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044772c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445ab5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44be0c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44ef24]
cmp byte [eax + 0xc], 0
je 0x44bf79
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44bf72
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x44fbe4], 0
jne 0x44be60
push 0x44bf80
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x44bf88
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fbe4], eax
cmp dword [0x44eb44], 0
jne 0x44bf5b
push 0x44bf98
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44eb44], eax
cmp dword [0x44eb44], 0
je 0x44bf5b
push 0x44bfa4
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fbe8], eax
push 0x44bfb4
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fbec], eax
push 0x44bfc8
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fbf0], eax
push 0x44bfe0
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fbf4], eax
push 0x44bff8
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fbf8], eax
push 0x44c00c
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fbfc], eax
push 0x44c024
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fc00], eax
push 0x44c03c
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fc04], eax
push 0x44c058
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fc08], eax
push 0x44c064
mov eax, dword [0x44eb44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x44fc0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bf79
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44d090
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
xor ecx, ecx
mov edx, 0x94
call fcn.00402db8
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA_1
cmp dword [esp + 4], 5
jae 0x44d0c3
cmp dword [esp + 0x10], 1
jne 0x44d0c3
mov al, 1
jmp 0x44d0c5
xor eax, eax
add esp, 0x94
ret
Function at 0x44d124
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
call fcn.00404720
xor eax, eax
push ebp
push 0x44d287
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0044d090
test al, al
je 0x44d15c
call fcn.0044d084
jmp 0x44d264
xor eax, eax
push ebp
push 0x44d25d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp + 8]
mov edx, dword [0x44ebc4]
call fcn.00404318
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d1a7
mov eax, 0x44d2a0
call fcn.0044d0cc
call fcn.00403d04
jmp 0x44d264
push 0xf01ff
mov eax, dword [ebp + 8]
call fcn.00404730
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44d1db
mov eax, 0x44d2b8
call fcn.0044d0cc
call fcn.00403d04
jmp 0x44d264
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ControlService
mov ebx, dword [ebp - 0x24]
cmp ebx, 1
je 0x44d21f
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00408348
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x44d2d4
call fcn.00404584
mov eax, dword [ebp - 0x2c]
call fcn.0044d0cc
call fcn.00403d04
jmp 0x44d264
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_DeleteService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d264
cmp dword [ebp - 0xc], 0
je 0x44d24d
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 8], 0
je 0x44d25c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d28e
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004042a4
lea eax, [ebp + 8]
call fcn.00404280
ret
Function at 0x44d2e0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, dword [ebp + 8]
call fcn.00404720
mov eax, dword [ebp + 0xc]
call fcn.00404720
xor eax, eax
push ebp
push 0x44d441
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0044d090
test al, al
je 0x44d328
call fcn.0044cec4
test al, al
jne 0x44d426
call fcn.0044d038
mov byte [ebp - 1], al
jmp 0x44d426
xor eax, eax
push ebp
push 0x44d41f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
mov edx, dword [0x44ebc4]
call fcn.00404318
mov eax, dword [ebp + 8]
push eax
call sym.SvrLoad.dll_DelSvr
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44d37c
call fcn.00403d04
jmp 0x44d426
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
call fcn.00404730
push eax
push 0
push 3
push 1
push 0xf01ff
push 0x44d454
mov eax, dword [ebp + 8]
call fcn.00404730
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44d3ce
push 0xf01ff
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44d3db
call fcn.00403d04
jmp 0x44d426
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d426
cmp dword [ebp - 0xc], 0
je 0x44d40f
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 8], 0
je 0x44d41e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d448
lea eax, [ebp + 8]
mov edx, 2
call fcn.004042a4
ret
Function at 0x405c39
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405c6b
test dl, 7
je 0x405c6b
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43ab90]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405c4b
cmp esi, 8
jb 0x405cfb
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x43ab90]
xor ecx, dword [eax*4 + 0x43af90]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b390]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bb90]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43bf90]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43c390]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43b790]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43c790]
mov ebx, ecx
sub edi, 1
jne 0x405c7a
pop edi
test esi, esi
je 0x405d17
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43ab90]
inc edx
sub esi, 1
jne 0x405cff
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x405e84
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
push 0x20
pop ebp
cmp dword [esi], 2
jne 0x405edb
mov eax, dword [esi + 4]
push edi
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x4c]
push eax
push ebp
push dword [esp + 0x58]
call fcn.00406576
mov dword [esi + 4], ebx
mov edx, ebx
mov edi, ebx
movzx eax, byte [esp + edx + 0x10]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, ebp
jb 0x405ec1
mov dword [esi + 4], edi
pop edi
cmp dword [esi], 3
jne 0x405f07
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
add esi, 4
push eax
push ebp
push esi
push ebp
push dword [esp + 0x54]
call fcn.00406576
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0041d740
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x406781
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x18c
push ebx
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
pop eax
cmp esi, eax
jae 0x40679b
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x44]
push eax
call fcn.0041d740
add esp, 0xc
mov dword [ebp + esi - 0x44], 0x1000000
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp + 0x20]
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.00406576
push 0x20
pop ebx
push ebx
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp]
push eax
call fcn.0041d740
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
mov byte [ebp + 0x6b], 0
mov dword [ebp + 0x4c], eax
xor esi, esi
mov byte [ebp + 0x6f], 0
push 0x10
pop eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x48], eax
mov edi, dword [ebp + esi + 0x4c]
test edi, edi
je 0x406867
lea eax, [ebp + 0x6f]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp + 0x6b]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.00406576
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0041d740
add esp, 0xc
xor ecx, ecx
mov al, byte [ebp + ecx + 0x20]
xor byte [ebp + ecx], al
inc ecx
cmp ecx, ebx
jb 0x406855
sub edi, 1
jne 0x406818
push ebx
lea eax, [ebp]
push eax
push dword [ebp + esi + 0x40]
call fcn.0041d740
add esi, 4
add esp, 0xc
cmp esi, 0xc
jb 0x406810
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.0040dc6f
push ebx
lea eax, [ebp]
push eax
call fcn.0040dc6f
push ebx
lea eax, [ebp + 0x20]
push eax
call fcn.0040dc6f
push ebx
lea eax, [ebp - 0x64]
push eax
call fcn.0040dc6f
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x58]
pop ebp
ret 0x20

Function at 0x40bc9f
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40bcbc
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40bcb4
cmp cl, byte [edx]
jne 0x40bcf7
push esi
push edx
push 0xffffffffffffffff
call fcn.00405c39
not eax
mov ecx, ebx
cmp dword [ecx + 0x43a02c], eax
jne 0x40bcdd
cmp dword [ecx + 0x43a028], esi
je 0x40bce8
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40bccd
jmp 0x40bcf7
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43a030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x40db7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x441e50]
test eax, eax
jne 0x40db95
mov ecx, 0x441e48
call fcn.0040dafb
mov eax, dword [0x441e50]
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
mov ecx, esi
and ecx, 0xfffffff0
cmp byte [ebp + 0x14], dl
setne dl
cmp byte [ebp + 0x10], 0
je 0x40dbdf
test eax, eax
je 0x40dbfa
push edx
push ecx
push dword [ebp + 8]
call eax
test eax, eax
jne 0x40dc1f
push 0x430620
mov esi, 0x43cbd8
push esi
call fcn.00406b2c
pop ecx
pop ecx
mov ecx, esi
call fcn.00406c5c
push 2
mov ecx, esi
call fcn.00406b27
jmp 0x40dc1f
mov eax, dword [0x441e54]
test eax, eax
je 0x40dbfa
push edx
push ecx
push dword [ebp + 8]
call eax
test eax, eax
jne 0x40dc1f
push 0x430654
jmp 0x40dbc0
push ebx
call dword [0x43008c]
xor edx, edx
mov ebx, eax
test esi, esi
je 0x40dc1e
push edi
mov edi, dword [ebp + 8]
add bl, 0x4b
lea ecx, [edx + edi]
lea eax, [edx + ebx]
xor byte [ecx], al
inc edx
cmp edx, esi
jb 0x40dc10
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x9a9060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x65900d
lea edi, [esi - 0x25800d]
push edi
or ebp, 0xffffffff
jmp 0x9a9082
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9a9089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a9078
mov eax, 1
add ebx, ebx
jne 0x9a909b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9a9090
jne 0x9a90ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9a9090
xor ecx, ecx
sub eax, 3
jb 0x9a90c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9a9132
mov ebp, eax
add ebx, ebx
jne 0x9a90cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9a90d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9a90fc
inc ecx
add ebx, ebx
jne 0x9a90e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9a90dd
jne 0x9a90f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9a90dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9a911c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9a910d
jmp 0x9a907e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9a911c
add edi, ecx
jmp 0x9a907e
pop esi
mov edi, esi
mov ecx, 0x1844
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9a913a
cmp byte [edi], 0x11
jne 0x9a913a
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 0x9a913f
lea edi, [esi + 0x5a5000]
mov eax, dword [edi]
or eax, eax
je 0x9a91ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5abf9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5abff4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9a916c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5abffc]
or eax, eax
je 0x9a91a8
mov dword [ebx], eax
add ebx, 4
jmp 0x9a9189
call dword [esi + 0x5abff8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9a91df
cmp al, 0xef
ja 0x9a91d2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9a91b4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9a91c1
mov ebp, dword [esi + 0x5ac000]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
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 0x9a9213
sub esp, 0xffffff80
jmp 0x40f11c
Function at 0x403204
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40329c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40327c
xor eax, eax
push ebp
push 0x403275
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 0x4032b8
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 0x40327c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ce4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403d45
cmp word [0x40a218], 0xd7b2
jne 0x403d0d
cmp dword [0x40a220], 0
jbe 0x403d0d
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409060
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 0x403d6c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409020], 0
jne 0x403d61
push 0
push 0x409058
push 0x409060
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4047ec
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404a1c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40486f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404a1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40486f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x404a38
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4048f8
xor eax, eax
push ebp
push 0x4048f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404634
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4048d6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404a58
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4048d6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4048f8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404a12
cmp byte [ebp - 0xd], 0
jne 0x40493f
cmp byte [ebp - 0x12], 0
je 0x404a12
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404958
dec ebx
cmp byte [ebx], 0x2e
je 0x404967
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404957
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404a12
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4049a4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404a12
cmp byte [ebp - 0xd], 0
je 0x404a12
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404a12
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret