joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405900
Capabilities:
Hash data with crc32

Disassembly:
cmp dword [ebp - 0xc], 0
jle 0x40c3a2
mov eax, dword [ebp - 4]
and eax, 1
je 0x404776
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
jmp 0x403bc0
jmp 0x40d6a3
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x403bc0
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0xedb88320
mov dword [ebp - 8], 0
jmp 0x40e93c
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x40e93c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x46d010], ecx
jmp 0x409719
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
jmp 0x402165
cmp dword [ebp - 8], 0x100
jge 0x407eea
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x402165

Function at 0x407d21
Capabilities:
Check os version

Disassembly:
cmp dword [0x46cfa0], 0
je 0x407b2c
mov dword [ebp - 4], 3
jmp 0x40bebe
lea edx, [ebp - 0x114]
push edx
call fcn.0040895b
add esp, 4
push 0
push 0x30000080
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x114]
push eax
call dword [0x413030]
mov dword [0x46d00c], eax
cmp dword [0x46d00c], 0xffffffff
jne 0x40880d
xor eax, eax
jmp 0x40c393
call fcn.0040acfc
test eax, eax
jne 0x40c213
xor eax, eax
jmp 0x40c393
push 0x46c2fc
push 1
call fcn.0040c33b
add esp, 8
mov dword [0x46c2f8], eax
jmp 0x403072
mov dword [ebp - 4], 2
jmp 0x40bebe
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
call dword [0x41303c]
push eax
call fcn.00401b2c
add esp, 4
movzx ecx, al
mov dword [0x46cfa0], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 5
je 0x40655c
jmp 0x402fc9
push 0
lea ecx, [ebp - 0x10]
push ecx
push 8
push 0x46cb60
push 0
push 0
push 0x7405c
mov edx, dword [0x46d00c]
push edx
call dword [0x46cfe8]
test eax, eax
jne 0x409e38
xor eax, eax
jmp 0x40c393
mov eax, dword [0x46cb60]
mov edx, dword [0x46cb64]
mov cl, 9
call fcn.0040572b
mov dword [0x46cb68], eax
mov dword [0x46cb6c], edx
mov eax, dword [0x46d00c]
push eax
call fcn.0040bdea
add esp, 4
push 0x46c550
call fcn.00401314
add esp, 4
test eax, eax
jne 0x40bcde
xor eax, eax
jmp 0x40c393
call fcn.0040d5c6
mov dword [0x46cb70], eax
mov dword [0x46cb74], edx
mov ecx, dword [0x46cb70]
or ecx, dword [0x46cb74]
jne 0x403d94
mov edx, dword [ebp - 8]
cmp dword [edx + 0xa4], 5
jne 0x40cbf2
mov eax, dword [0x46cb68]
sub eax, 0x800
mov ecx, dword [0x46cb6c]
sbb ecx, 0
mov dword [0x46cb70], eax
mov dword [0x46cb74], ecx
jmp 0x403d94
push 0x46c2fc
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040c33b
add esp, 8
mov dword [0x46c2f8], eax
jmp 0x403072
mov edx, dword [0x46d00c]
push edx
call dword [0x46d000]
mov eax, 1
jmp 0x40c393
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x40c393
Function at 0x40aea4
Capabilities:
Check os version

Disassembly:
call fcn.0040c13c
test eax, eax
jne 0x4044bc
jmp 0x40bfa2
push 0
call dword [0x413038]
jmp 0x40bfa2
call fcn.00403aee
test eax, eax
jne 0x40a95e
jmp 0x40bfa2
call fcn.004043ad
call fcn.00407d21
test eax, eax
je 0x402b44
push 0x927c0
call dword [0x46cfdc]
call fcn.004023f2
jmp 0x402b44
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
call fcn.0040d1f6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xa4], 5
jbe 0x401bd2
call fcn.00404369
jmp 0x401bd2
mov esp, ebp
pop ebp
ret

Function at 0x40b923
Capabilities:
Hash data using jshash

Disassembly:
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x404787
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x403d60
mov esi, dword [ebp - 4]
shl esi, 5
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
push ecx
call fcn.0040c911
add esp, 4
add esi, eax
mov edx, dword [ebp - 4]
shr edx, 2
add esi, edx
xor esi, dword [ebp - 4]
mov dword [ebp - 4], esi
jmp 0x402983
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 4], 0x4e67c6a7
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x404787

Function at 0x40bc6b
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
lodsb al, byte [esi]
mov ebx, edx
shl ebx, 5
add eax, ebx
mov ebx, edx
shr ebx, 2
add eax, ebx
xor edx, eax
dec ecx
cmp ecx, 0
jne 0x402f59
mov eax, edx
pop esi
pop edx
pop ecx
pop ebx
pop ebp
ret 4
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
mov esi, dword [ebp + 8]
mov edx, 0x4e67c6a7
mov ecx, 0x10
jmp 0x402f59

Function at 0x40e911
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
xor dl, al
shl edx, 1
dec ecx
jne 0x40a9f3
mov eax, edx
pop esi
pop edx
pop ecx
pop ebp
ret 8
push ebp
mov ebp, esp
push ecx
push edx
push esi
mov edx, 0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp + 8]
jmp 0x40a9f3
Function at 0x402430
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4024cb
push edi
push 0x24
push str.WifiAutoInstallSrv
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x4024c3
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x4024bc
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
xor esi, esi
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x4024b4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x402490
jmp 0x4024b9
mov ebx, 1
mov esi, dword [ebp - 0x24]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00402668
mov esp, ebp
pop ebp
ret

Function at 0x405cc9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
test eax, 0x58aa45c6
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00405a6b
out dx, eax
inc edi
jl 0x405ce0
scasd eax, dword es:[edi]
hlt
lea eax, [ebp - 0x58]
push eax
call fcn.00405a7b
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00405a30
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x405d59
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]

Function at 0x405e91
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00405a7b
push eax
push esi
push dword [ebp + 8]
call fcn.00405a30
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00405a6b
mov bh, 0x77
cmp al, 0x7b

Function at 0x405eed
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
invalid
Function at 0x4062d3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x56fffffc], edi
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00405a7b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00405a30
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00405a7b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00405a30
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
invalid
invalid
Function at 0x410210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul esi
dec eax
neg edx
rcr ebx, 0xc2
bswap eax
not eax
sub esi, 0x38
not ebx
bswap ebx
and eax, 0x8f
rcr eax, 0xe8
inc edx
add eax, 0xe7
bswap esi
rol ebx, 0x8e
imul edx
dec eax
sbb eax, 0xab
add ebx, 0xf1
add ebx, 0x78
not ebx
bswap ebx
neg edx
not edx
not esi
sub edx, 0xfc
bswap eax
bswap edx
inc ebx
inc ebx
imul edx
mov eax, 0x1c
not edi
add ebx, 0x90
not edx
not eax
dec edx
and esi, 4
or edx, 0x3b
bswap eax
neg edi
rol eax, 0x9b
mov esi, 0x37
not edx
dec edx
ror ebx, 0x94
mov ebx, 0xc7
dec esi
rcl edi, 0x5b
add esi, 0x54
xor ecx, ecx
xor edi, edi
neg edi
neg edi
rol eax, 0xf1
dec ebx
rcl edx, 0x93
dec ebx
and edx, 0x7b
imul eax
ror esi, 0xf5
dec eax
inc ebx
or esi, 0xe2
rol ebx, 0xc
not esi
sbb edx, 0xe9
add eax, 0xb0
imul esi
inc ebx
ror eax, 0x83
not esi
neg esi
bswap eax
sbb eax, 0x45
inc ebx
sub esi, 0x1a
neg esi
not ebx
mov ebx, 0xfd
sub esi, 0xef
mov edi, 0x43
and esi, 0x6b
sub edi, 0x87
neg edx
imul esi
dec esi
dec edi
add edi, 0x1b
and ebx, 0xe2
not ebx
mov ebx, 0x54
inc edi
add ebx, 0x42
imul esi
neg esi
and esi, 0x6c
ror esi, 0xce
rcl ebx, 0x50
rol edi, 0xea
neg edx
neg edx
mov ecx, dword [ebp + 0xc]
sbb edx, 0x78
rcr esi, 0x14
bswap eax
neg ebx
or esi, 0x7e
ror edx, 0x90
neg edi
neg eax
rcr esi, 0xb6
imul eax
imul edi
bswap edi
dec ebx
and edx, 0x72
rol eax, 0xbe
not edx
dec esi
or esi, 0xdc
ror ebx, 0xc5
dec eax
not edi
dec edi
rcl eax, 0x64
sbb edx, 0xf0
not edi
imul esi
ror edx, 0x30
imul eax
bswap edi
not ebx
sbb esi, 0x3d
imul esi
rcl edx, 0xd2
sbb eax, 0x5b
sbb edi, 0x95
dec esi
dec eax
rol ebx, 0xcc
mov edx, 0xb0
inc eax
rcr esi, 0x78
sub edi, 3
not ebx
neg esi
rcr esi, 0x79
mov edx, 0x6b
sbb esi, 0x3b
inc esi
ror eax, 0xc1
rcr edi, 0x48
mov edi, dword [ebp + 8]
mov eax, esi
xor ebx, eax
mov esi, esi
not byte [edi]
xor eax, esi
xor eax, ebx
mov esi, eax
xor eax, eax
xor esi, eax
mov ebx, ebx
xor esi, ebx
mov esi, eax
xor esi, esi
add byte [edi], 0x48
xor eax, esi
mov esi, ebx
xor ebx, ebx
mov ebx, eax
mov eax, eax
mov eax, ebx
mov esi, esi
xor ebx, esi
xor eax, esi
sub byte [edi], 0x97
mov eax, eax
mov esi, ebx
mov eax, ebx
mov ebx, esi
mov esi, esi
mov eax, ebx
xor esi, esi
xor ebx, ebx
xor eax, ebx
imul byte [edi]
inc edi
loop 0x4103b7
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x40b841
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x412da8
cmp edx, dword [eax]
je 0x40b863
add eax, 8
inc ecx
cmp eax, 0x412e38
jl 0x40b854
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x412da8]
jne 0x40b991
mov eax, dword [0x4133f0]
cmp eax, 1
je 0x40b96b
test eax, eax
jne 0x40b894
cmp dword [0x412948], 1
je 0x40b96b
cmp edx, 0xfc
je 0x40b991
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40b8cb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040a510
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406930
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b90e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406930
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4105e8
push edi
call section..text
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040a510
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040a520
lea eax, [ebp - 0xa0]
push 0x4105c8
push eax
call fcn.0040a520
push dword [esi + 0x412dac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a520
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d314
add esp, 0x2c
pop edi
jmp 0x40b991
lea eax, [ebp + 8]
lea esi, [esi + 0x412dac]
push 0
push eax
push dword [esi]
call fcn.00406930
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 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
nop
mov ecx, 0x73a13a9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x1ced2228
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x6d702390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6d7023eb
cmp byte [esi + ebx - 1], 0xa
je 0x6d7023bf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6d7080c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x778ebac0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x778ebafe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x778ebaf6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x778ebb00
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x778ebae6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x778ebbd0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x778ebbe6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x778ebc01
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x77916377
Capabilities:
Encode data using xor

Disassembly:
call 0x779162f0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x77916320
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x7791633c
xor edx, 0
jmp 0x77916347
xor edx, edx
jmp 0x7791635e
jmp 0x7791636a
xor eax, eax
push 0x8427d7c0
call 0x77916377
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x779163b3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x7791638c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x779163ca
add eax, 0
jno 0x779163cf
add esi, 0
ret 0x10
Function at 0x77917138
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x7791715a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x779172fc
cmp edi, dword [ebp + 0x10]
jb 0x779172fc
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77916c24
inc edi
jmp 0x779171e3
jmp 0x779171f0
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916c24
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77916c24
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x77917244
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x77917228
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.77917272
add dword [eax], 0x39
jle 0x7791724e
sub al, 0xf5
mov ch, al
call fcn.77917287
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x77918f5f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x77918f75
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x77918f86
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.77918fc7
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx