joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010af
Capabilities:
Resolve dns

Disassembly:
jmp 0x4015c0
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, ecx
push str.ws2_32.dll
mov dword [esp + 0x14], esi
call edi
mov ebx, eax
test ebx, ebx
je 0x4016a9
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.socket
push ebx
call ebp
test eax, eax
je 0x4016a9
push 6
push 1
push 2
call eax
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x401616
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 8
push str.CreateThread
push str.KERNEL32.dll
call edi
push eax
call ebp
mov dword [esp + 0x14], eax
push str.htons
push ebx
call ebp
mov esi, eax
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [esp + 0x30]
mov edi, eax
push ecx
mov word [esp + 0x1c], 2
call esi
mov word [esp + 0x1a], ax
mov edx, dword [edi + 0xc]
push str.connect
push ebx
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
call ebp
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x18]
push 0x10
push edx
mov ecx, dword [esi + 8]
push ecx
call eax
cmp eax, 0xffffffff
jne 0x401697
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0xc]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x401629
push 0
push 0
push esi
push 0x4010c3
push 0
push 0
call dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret 8
Function at 0x914600
Capabilities:
Encode data using xor

Disassembly:
jmp 0x91460a
pushal
call 0x914610
pop ebp
sub ebp, 0x10
sub ebp, 0x514600
jmp 0x914626
mov eax, 0x514600
add eax, ebp
add eax, 0x4c
mov ecx, 0x5e2
mov edx, 0x51139722
xor byte [eax], dl
inc eax
dec ecx
jne 0x91463d
jmp 0x914650
test eax, 0x1eaba9ef
and ah, byte [edx]
and ah, byte [ebx + 0x2222dae3]
and ah, byte [ecx]
out dx, eax
lcall 0xa98, 0x22222224
and ah, byte [edx]
and dl, ch
shl byte [ecx], 0xea
test eax, 0x22222ea3
and ah, byte [ecx]
out 0x72, eax
scasd eax, dword es:[edi]
inc esi
push es
fisubr word [ebx + 0x424a0626]
xchg edx, eax
sub al, 0x22
dec edx
mov edi, 0x232260b7
push cs
push es
dec edx
mov al, 0xa7
mov byte [eax + 0x222227ca], ch
and cl, bl
or ah, byte [edx]
and ah, byte [edx]
ja 0x914712
jg 0x914647
cmpsd dword [esi], dword es:[edi]
sub ah, byte [edx]
and ah, byte [edx]
test eax, 0x22222eb7
and ch, byte [ecx + 0x222232af]
and ah, bl
retf
and ah, byte [edx]
and ch, byte [0x22226aaa]
and al, byte [ecx + ebp*4 + 0x3e]
sbb esp, dword [edx - 0x59d23527]
cmp byte [edx], ah
and ah, byte [edx]
mov byte [0xa62dcbd9], al
xor esp, dword [edx]
and ah, byte [edx]
inc esp
mov dword [0x2d07ddd9], eax
cmpsb byte [esi], byte es:[edi]
aaa
and ah, byte [edx]
and ah, byte [ebx - 0x35]
out dx, al
fstp st(5)
fisttp qword [ebx]
outsb dx, byte [esi]
sbb esp, dword [ebx]
mov eax, dword [0xcaa127e3]
retf
Function at 0x404052
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402f7f
xor ebx, ebx
cmp dword [0x40ea1c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x404127
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x404092
xor eax, eax
jmp 0x4041eb
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40408b
push eax
call fcn.00402f1c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40ea1c], eax
call esi
push eax
call fcn.00402f1c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40ea20], eax
call esi
push eax
call fcn.00402f1c
mov dword [0x40ea24], eax
lea eax, [ebp - 8]
push eax
call fcn.00402345
test eax, eax
pop ecx
pop ecx
je 0x4040f5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040393b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x404127
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402f1c
cmp eax, ebx
pop ecx
mov dword [0x40ea2c], eax
je 0x404127
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f1c
pop ecx
mov dword [0x40ea28], eax
mov eax, dword [0x40ea28]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4041a0
cmp dword [0x40ea2c], esi
je 0x4041a0
push eax
call fcn.00402f88
pop ecx
call eax
cmp eax, ebx
je 0x40416d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40ea2c]
call fcn.00402f88
pop ecx
call eax
test eax, eax
je 0x40416d
test byte [ebp - 0x18], 1
jne 0x4041a0
lea eax, [ebp - 0xc]
push eax
call fcn.0040237c
test eax, eax
pop ecx
je 0x404188
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040393b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x404197
or dword [ebp + 0x10], 0x200000
jmp 0x4041d1
or dword [ebp + 0x10], 0x40000
jmp 0x4041d1
mov eax, dword [0x40ea20]
cmp eax, esi
je 0x4041d1
push eax
call fcn.00402f88
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4041d1
mov eax, dword [0x40ea24]
cmp eax, esi
je 0x4041d1
push dword [ebp - 4]
push eax
call fcn.00402f88
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40ea1c]
call fcn.00402f88
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405ebb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e098]
jne 0x405ec5
repz ret
jmp fcn.004074f5

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

Disassembly:
pushal
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x1c267f
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x1f1c20]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.001d5ed0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x1c2731
push edi
mov edi, 0x1eb8a4
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1c26ca
sub eax, edx
sar eax, 1
je 0x1c2730
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
call dword [0x1e8234]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.001d3af7
push 0x1eb8c0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.001d404b
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x1c2730
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.001d433e
push dword [ebp - 0x78]
call fcn.001d43d2
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.001d3ae8
add ebp, 0x198
leave
ret

Function at 0x1c274a
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x1f1c20]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.001d5ed0
add esp, 0xc
mov dword [ebp - 0x78], esi
cmp ebx, esi
je 0x1c2825
push edi
mov edi, 0x1eb7f0
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1c2799
sub eax, edx
sar eax, 1
je 0x1c2824
cmp dword [0x1f2fbc], 3
mov esi, 0x104
lea eax, [ebp - 0x74]
jne 0x1c27d6
push esi
push eax
call dword [0x1e8214]
push 0x1eb8c8
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.001d3af7
add esp, 0xc
jmp 0x1c27de
push eax
push esi
call dword [0x1e8234]
push edi
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.001d3af7
push 0x1eb8c0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.001d404b
add esp, 0x18
cmp dword [ebp - 0x78], 0
je 0x1c2824
push dword [ebp - 0x78]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.001d433e
push dword [ebp - 0x78]
call fcn.001d43d2
add esp, 0x14
mov dword [ebp - 0x7c], esi
pop edi
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.001d3ae8
add ebp, 0x198
leave
ret
Function at 0x1c2ec1
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x1f1c20]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
xor esi, esi
call fcn.001d5ed0
add esp, 0xc
test edi, edi
je 0x1c2f87
and dword [ebp - 0x7c], esi
mov ecx, 0x1eb7a0
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1c2f0c
sub eax, esi
sar eax, 1
je 0x1c2f30
push 0x1eb93c
push ecx
lea eax, [ebp - 0x7c]
push eax
call fcn.001d404b
add esp, 0xc
jmp 0x1c2f64
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [0x1e8234]
push 0x1eb8a4
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.001d3af7
push 0x1eb93c
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.001d404b
add esp, 0x18
xor esi, esi
inc esi
cmp dword [ebp - 0x7c], 0
je 0x1c2f87
push dword [ebp - 0x7c]
push esi
push 0x200
push edi
call fcn.001d4611
push dword [ebp - 0x7c]
call fcn.001d43d2
add esp, 0x14
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.001d3ae8
add ebp, 0x194
leave
ret

Function at 0x1c2f9f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 0x1eb8c0
push dword [ebp + 8]
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.001d404b
add esp, 0xc
test eax, eax
je 0x1c2fc9
xor eax, eax
jmp 0x1c304c
push ebx
push esi
push 2
push edi
push dword [ebp - 4]
call fcn.001d471d
push dword [ebp - 4]
call fcn.001d493f
push edi
push edi
push dword [ebp - 4]
mov esi, eax
call fcn.001d471d
lea eax, [esi + 0x32]
push eax
mov dword [ebp - 8], eax
call fcn.001d49fc
push dword [ebp - 4]
mov edi, eax
push 1
push esi
push edi
call fcn.001d433e
push dword [ebp - 4]
call fcn.001d43d2
push 0x32
lea ebx, [edi + esi]
call fcn.001c304f
push 0x1eb93c
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.001d404b
add esp, 0x44
pop esi
pop ebx
test eax, eax
jne 0x1c2fc2
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push edi
call fcn.001d4611
push dword [ebp - 4]
call fcn.001d43d2
xor eax, eax
add esp, 0x14
inc eax
pop edi
leave
ret
Function at 0x1c47e8
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.001d8380
mov eax, dword [0x1f1c20]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
mov eax, dword [ebp + 0xf98]
push ebx
push esi
mov esi, dword [0x1e83f4]
xor ebx, ebx
push ebx
mov dword [ebp - 0x7c], eax
push 4
lea eax, [ebp - 0x78]
push eax
push dword [edi]
call esi
cmp eax, 4
je 0x1c482e
xor eax, eax
jmp 0x1c4876
cmp dword [ebp - 0x78], ebx
jbe 0x1c4865
push 0
push 0x1000
lea eax, [ebp - 0x74]
push eax
push dword [edi]
call esi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x1c4865
mov ecx, dword [ebp - 0x7c]
push dword [ecx]
push eax
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.001d4611
add ebx, dword [ebp - 0x80]
add esp, 0x10
cmp ebx, dword [ebp - 0x78]
jb 0x1c4833
mov eax, dword [ebp - 0x7c]
push dword [eax]
call fcn.001d43d2
cmp ebx, dword [ebp - 0x78]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0xf8c]
pop esi
xor ecx, ebp
pop ebx
call fcn.001d3ae8
add ebp, 0xf90
leave
ret

Function at 0x1c5f92
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x1c6126
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xff0]
mov eax, 0x1070
call fcn.001d8380
mov eax, dword [0x1f1c20]
xor eax, ebp
mov dword [ebp + 0xfec], eax
mov eax, dword [ebp + 0xff8]
push esi
push edi
push 0x1eb8c0
push eax
lea eax, [ebp - 0x18]
mov esi, ecx
xor edi, edi
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
call fcn.001d404b
add esp, 0xc
cmp dword [ebp - 0x18], edi
jne 0x1c6181
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
jmp 0x1c6214
push ebx
push 2
push edi
push dword [ebp - 0x18]
call fcn.001d471d
push dword [ebp - 0x18]
call fcn.001d493f
push edi
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
call fcn.001d471d
lea eax, [ebp - 0x80]
call fcn.001c5f92
push dword [ebp - 0x18]
mov esi, 0x1000
push esi
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.001d433e
mov ebx, eax
add esp, 0x2c
cmp ebx, edi
jbe 0x1c61ee
push ebx
lea edi, [ebp - 0x80]
lea ecx, [ebp - 0x14]
call fcn.001c5fbd
push dword [ebp - 0x18]
add dword [ebp - 0x1c], ebx
push esi
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.001d433e
mov ebx, eax
add esp, 0x14
test ebx, ebx
ja 0x1c61c7
mov edi, dword [ebp - 0x20]
push edi
lea esi, [ebp - 0x80]
call fcn.001c6056
push dword [ebp - 0x18]
call fcn.001d43d2
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
pop ebx
cmp eax, dword [ebp - 0x24]
jb 0x1c6173
xor eax, eax
inc eax
mov ecx, dword [ebp + 0xfec]
pop edi
xor ecx, ebp
pop esi
call fcn.001d3ae8
add ebp, 0xff0
leave
ret
Function at 0x1c79b7
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x1c79c2
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x1c7a74
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x1ece70]
inc ecx
sub edi, 8
dec esi
jne 0x1c79d9
pop ebx
test edi, edi
je 0x1c7a8d
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x1ece70]
inc ecx
dec edi
jne 0x1c7a78
pop esi
not eax
pop edi
ret

Function at 0x1c7a92
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x1ece70]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1ece70]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x638c2400
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 0x638c245b
cmp byte [esi + ebx - 1], 0xa
je 0x638c242f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x638c80a4], 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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4c134ae
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2ce3b32
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401fb0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x401fea
mov edx, str.Failed_to_load_User32.dll
call fcn.004022b0
push eax
call fcn.00402570
add esp, 4
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, str.MessageBoxW
mov ebx, 0x811c9dc5
mov al, 0x4d
movsx eax, al
lea ecx, [ecx + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x401ff6
mov eax, 0x5a4d
cmp word [edi], ax
je 0x40202c
mov edx, str.Invalid_DOS_signature.
call fcn.004022b0
push eax
call fcn.00402570
add esp, 4
jmp 0x4020b5
mov eax, dword [edi + 0x3c]
xor esi, esi
mov dword [esp + 0x14], 0
mov ecx, dword [eax + edi + 0x78]
mov eax, dword [ecx + edi + 0x20]
add ecx, edi
add eax, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov edx, dword [ecx + 0x24]
add edx, edi
mov dword [esp + 0x1c], edx
cmp dword [ecx + 0x18], esi
jbe 0x4020a4
nop dword [eax + eax]
mov eax, dword [eax + esi*4]
mov edx, 0x811c9dc5
add eax, edi
mov cl, byte [eax]
test cl, cl
je 0x402084
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax]
test cl, cl
jne 0x402070
mov ecx, dword [esp + 0x10]
cmp edx, ebx
je 0x402098
mov eax, dword [esp + 0x18]
inc esi
cmp esi, dword [ecx + 0x18]
jb 0x402060
jmp 0x4020a4
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + esi*2]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
add eax, edi
jne 0x4020db
mov edx, str.Failed_to_get_address_of_MessageBoxW
call fcn.004022b0
push eax
call fcn.00402570
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push str.GetProcHash_MessageBox
push str.Hello_from_GetProcHash_
push 0
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411b3f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004119b5
Function at 0x503b67
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], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
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], 0x504088
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 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
pop esp
jae 0x4153cc
inc ebp
rcr dword [eax], cl
invalid
outsd dx, dword [esi]
xor dword [edi], esi
xchg byte [eax - 0x11e1df31], dl
inc ebp
fidiv dword [ebx + 0x3a]
and byte [edi - 0xd], ah
rcr dword [ebx + 0x5d3ab87b], cl
jnp 0x41539a
cmp bl, byte [ebp + 0x2b]
sar dword [esi - 0x48cfd126], 1
jnp 0x41539a
cmp bl, byte [ebp + 0x2b]
sar dword [esi - 0x48cfd126], 1
dec ebx
cmp al, 0x72
fcompi st(1)
fcomp st(1)
test dword [edi], esp
ror dh, 1
invalid
Function at 0x1028a722
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1028a761
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1028a761
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1028a761
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1028a761
cmp dword [ecx + 0x74], 0xe
jbe 0x1028a761
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret