joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000acf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1004c134]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1000ad17
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000ad1e
mov al, 1
jmp 0x1000adf2
call fcn.1000d420
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.1000d420
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.1000d480
add esp, 8
movzx eax, al
test eax, eax
je 0x1000ad5a
xor al, al
jmp 0x1000adf2
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.1000f3c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000ad96
cmp dword [ebp - 0x30], 1
je 0x1000ad9d
cmp dword [ebp - 0x30], 3
je 0x1000adec
jmp 0x1000adf0
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1000adcc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1001aea7
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1000adcc
xor al, al
jmp 0x1000adf2
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000ade0
mov dword [ebp - 0x38], 1
jmp 0x1000ade7
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1000adf2
mov al, 1
jmp 0x1000adf2
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014fbc
mov esp, ebp
pop ebp
ret
Function at 0x1000e5a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1004c134]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.1000d420
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.1000d480
add esp, 8
movzx edx, al
test edx, edx
je 0x1000e5e5
lea eax, [ebp + 8]
push eax
call fcn.1000e450
add esp, 4
jmp 0x1000e766
mov ecx, dword [ebp - 0x2c]
call fcn.1000e950
test eax, eax
je 0x1000e627
mov ecx, dword [ebp - 0x2c]
call fcn.1000e950
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.1000d460
cmp esi, eax
jae 0x1000e627
lea ecx, [ebp + 8]
push ecx
call fcn.1000f030
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.1000c240
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x1000e766
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x1000e63a
call fcn.1000d420
jmp 0x1000e766
mov ecx, dword [ebp - 0x2c]
call fcn.1000c290
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x1000e689
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.1000f030
add esp, 4
movzx ecx, al
push ecx
call fcn.100028d0
add esp, 8
movzx edx, al
test edx, edx
je 0x1000e679
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x1000e681
call fcn.1000d420
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x1000e766
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.1000f030
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.1000e560
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000e761
cmp dword [ebp - 0x34], 1
jle 0x1000e6e4
cmp dword [ebp - 0x34], 3
je 0x1000e731
jmp 0x1000e761
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x1000e716
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1001aea7
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1000e716
call fcn.1000d420
jmp 0x1000e766
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x1000e72a
mov eax, dword [ebp + 8]
jmp 0x1000e766
call fcn.1000d420
jmp 0x1000e766
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.100028d0
add esp, 8
movzx eax, al
test eax, eax
je 0x1000e754
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x1000e75c
call fcn.1000d420
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x1000e766
call fcn.1000d420
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014fbc
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f4d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x1000f5f6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x1000f508
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000f610
jmp 0x1000f60a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000b790
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x1000f59c
jg 0x1000f530
cmp dword [ebp + 0xc], 0
jbe 0x1000f59c
cmp dword [ebp - 8], 0
jl 0x1000f59c
jg 0x1000f53e
cmp dword [ebp - 0xc], 0
jbe 0x1000f59c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x1000f55c
jl 0x1000f550
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x1000f55c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.1000dfc0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.1000cfb0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000dc00
cmp dword [ebp + 0x10], 0
jl 0x1000f5e6
jg 0x1000f5aa
cmp dword [ebp + 0xc], 0
jbe 0x1000f5e6
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x1000f5e6
mov ecx, dword [ebp - 4]
call fcn.1000c290
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1001a83a
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x1000f60a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000f610
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000f730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x1000f84e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x1000f768
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000f870
jmp 0x1000f862
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000c210
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x1000f7fc
jg 0x1000f790
cmp dword [ebp + 0xc], 0
jbe 0x1000f7fc
cmp dword [ebp - 8], 0
jl 0x1000f7fc
jg 0x1000f79e
cmp dword [ebp - 0xc], 0
jbe 0x1000f7fc
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x1000f7bc
jl 0x1000f7b0
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x1000f7bc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000e950
push eax
call fcn.1000cfb0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000e8f0
cmp dword [ebp + 0x10], 0
jl 0x1000f83e
jg 0x1000f80a
cmp dword [ebp + 0xc], 0
jbe 0x1000f83e
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x1000f83e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1001aea7
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x1000f862
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000f870
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10010b00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x100385f8
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [0x100879a0], eax
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ecx + 0x100879c0]
test edx, edx
jne 0x10010b45
mov eax, dword [0x100879a0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
mov ecx, dword [0x100879a0]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10010b86
mov edx, dword [0x100879a0]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x100879a0]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [0x100879a0]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 1
mov edx, dword [0x100879a0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x100879a0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop ebp
ret

Function at 0x10010c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x10010be0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x10010c51
xor al, al
jmp 0x10010c60
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x10010cb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x76e2f0
mov ecx, dword [str.158.69.103.146]
mov dword [eax], ecx
mov edx, dword [0x10038980]
mov dword [eax + 4], edx
mov ecx, dword [0x10038984]
mov dword [eax + 8], ecx
mov dx, word [0x10038988]
mov word [eax + 0xc], dx
mov cl, byte [0x1003898a]
mov byte [eax + 0xe], cl
mov edx, 0x77f5a0
mov eax, dword [str.................]
mov dword [edx], eax
mov ecx, dword [0x10038990]
mov dword [edx + 4], ecx
mov eax, dword [0x10038994]
mov dword [edx + 8], eax
mov ecx, dword [0x10038998]
mov dword [edx + 0xc], ecx
mov edx, 0xad75
mov word [0x77eba8], dx
mov byte [0x648b4d], 0xc3
mov byte [0x6f6877], 0xc3
mov byte [0x4f8b49], 2
push 0x10011390
push 0x66271f
call fcn.10011620
add esp, 8
push 0
push str.ScreenShot
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [0x662262], 0x100389ac
mov dword [0x647cd9], 0x100113b0
push 0x100117c0
push 0x69c2c0
call fcn.10011600
add esp, 8
push 0x100120a0
push 0x6864a2
call fcn.10011620
add esp, 8
push 0x10011f90
push 0x68621d
call fcn.10011620
add esp, 8
push 0x100117a0
push 0x5f8b77
call fcn.10011620
add esp, 8
push 0x10011f60
push 0x56bcf1
call fcn.10011600
add esp, 8
push 0x10011f60
push 0x56bd57
call fcn.10011600
add esp, 8
mov ecx, 0x10118c28
call fcn.100139f0
push str.._Loading_Colors.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [0x5117c0], 0x48
mov byte [0x511845], 0x48
push 0x100122f0
push 0x648274
call fcn.10011620
add esp, 8
push 0x100121e0
push 0x649553
call fcn.10011620
add esp, 8
push 0x10012290
push 0x4eeca1
call fcn.10011620
add esp, 8
push 0x100122c0
push 0x4ee5eb
call fcn.10011620
add esp, 8
mov byte [0x5e5e23], 0xeb
mov byte [0x5e5e2f], 0xeb
mov byte [0x496f7a], 0xeb
mov byte [0x4971af], 0xeb
mov ecx, 0x10087a10
call fcn.100127b0
mov ecx, 0x10087a09
call fcn.100124b0
push 9
push 0x76b8a0
call fcn.10011660
add esp, 8
push 9
push 0x76b8b8
call fcn.10011660
add esp, 8
mov ecx, 0x10088a18
call fcn.10012a70
mov ecx, 0x1004cf80
call fcn.10009420
mov ecx, 0x10087a0a
call fcn.100125d0
push 0x22
push 0x5bc413
call fcn.10011660
add esp, 8
push 0x100100c0
push 0x59d28d
call fcn.10011600
add esp, 8
pop ebp
ret
Function at 0x100112e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0x100879c8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x100112f6
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jbe 0x1001137d
mov dword [ebp - 0x10], 0x100879c8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 2], al
mov ecx, dword [ebp - 0x10]
cmp al, byte [ecx]
jne 0x10011361
cmp byte [ebp - 2], 0
je 0x10011358
mov edx, dword [ebp - 0xc]
mov al, byte [edx + 1]
mov byte [ebp - 3], al
mov ecx, dword [ebp - 0x10]
cmp al, byte [ecx + 1]
jne 0x10011361
add dword [ebp - 0xc], 2
add dword [ebp - 0x10], 2
cmp byte [ebp - 3], 0
jne 0x10011324
mov dword [ebp - 0x14], 0
jmp 0x10011369
sbb edx, edx
or edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1001137d
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10011530
Capabilities:
Allocate or change rwx memory
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100115cb
cmp dword [ebp - 4], 1
je 0x10011551
jmp 0x100115f1
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0x2b3ffe
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 1
jne 0x100115c9
mov ecx, 0x1006a4d8
call fcn.10010b90
call fcn.10010cb0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x100010a0
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100879a4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x10010ed0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100879a8], eax
push 0
mov edx, dword [ebp + 8]
push edx
push 0x10011220
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100879ac], eax
jmp 0x100115f1
mov eax, dword [0x100879a4]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [0x100879a8]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov edx, dword [0x100879ac]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10011690
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100116d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10011719
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10017470
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10011717
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10011719
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10027366
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100271dc
Function at 0x423de0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x423e72
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x423e64
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x423e5c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x423e25
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x423e80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x423ec1.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x423ec1.2
jmp dword [eax*4 + 0x423f4c]
mov word [esp + 0x48], di
jmp 0x423efa
mov word [esp + 0x48], 2
jmp 0x423efa
mov word [esp + 0x48], 3
jmp 0x423efa
mov word [esp + 0x48], 4
jmp 0x423efa
mov word [esp + 0x48], 7
jmp 0x423efa
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x423f44
cmp dword [esp + 0x70], edi
je 0x423f30
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x403800
Capabilities:
Query or enumerate registry value

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

Function at 0x404694
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45e048], 0
je 0x4046f5
cmp word [0x45e21c], 0xd7b2
jne 0x4046bd
cmp dword [0x45e224], 0
jbe 0x4046bd
mov eax, 0x45e218
call dword [0x45e234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
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 0x40471c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45b02c], 0
jne 0x404711
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408328
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40837a
test eax, edx
je 0x40837d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40833d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408363
add ecx, 4
js 0x408353
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408360
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408389
test edx, edx
jne 0x408330
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b550
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b589
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404904
jmp 0x40b592
mov eax, ebx
mov edx, esi
call fcn.00404868
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b59c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b5be
movzx eax, byte [esp]
jmp 0x40b5c0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bc50
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bac8
mov eax, dword [0x45dbe0]
cmp byte [eax], 0
je 0x40bccc
mov eax, dword [0x45da14]
call fcn.004031c8
call fcn.00402fac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408cd0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bd14
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bd02
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45d9c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4607f4]
call fcn.00405a7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret