joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.004019f0
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x404731]
lea edx, [fcn.00401a74]
sub eax, edx
push eax
push fcn.00401a74
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40132d
push edi
call fcn.004018e0
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.0040192f
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov esi, dword [ebp - 0x88]
mov ecx, edi
sar esi, cl
push esi
lea esi, [0x4070e4]
mov ebx, edi
dec ebx
and esi, ebx
push esi
call fcn.00401a74
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4019f0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push edi
and dword [ebp - 0x120], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindowLongA
push 0
push 0
call sub.USER32.DLL_GetDlgItem
push 0
push 0
push 0
push 0
call sub.USER32.DLL_GetDlgItemInt
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret

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

Disassembly:
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4043f0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov ah, 0xef
inc eax
add byte [ebp - 0x3f], ch
mov ss, word [ecx - 1]
salc
mov edx, dword [0xe040c09f]
push str._____i______________Use_HEAD_instead_of_GET_n
add edx, 0x40
push edx
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push str._____x_attributes___String_to_insert_as_table_attributes_n
add eax, 0x40
push eax
call esi
push fcn.0040b710
out 0xd, eax
shl dword [esi - 0x3e7cff8d], 1
inc eax
push ecx
xchg ecx, eax
mov eax, 0xc0c8158b
inc eax
add byte [ebx - 0x3d7cbff8], al
inc eax
push str._____z_attributes___String_to_insert_as_td_or_th_attributes_n
push edx
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push 0x405390
add eax, 0xffffff92
push eax
call esi
mov ecx, dword [0x4bc0c8]
push str._____H_attribute____Add_Arbitrary_header_line__eg._Accept_Encoding:_gzip_n
add ecx, 0x40
push ecx
call ebx
les edx, [0x40c00a]
dec ebp
invalid
Function at 0x401e80
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x401f67
test edx, edx
je 0x401f67
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x401eca
mov ecx, 0x1505
xor edi, edi
nop dword [eax + eax]
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x401ed1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x401eb0
jmp 0x401ed3
mov esi, 0x1505
jmp 0x401ed3
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0x401f67
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x401f04
inc ebx
dec ebp
je 0x401f65
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x401f65
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401f00
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00417ad0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x401f00
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00417af0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x401f00
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401f67
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4020b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
xorps xmm0, xmm0
movsd qword [esp + 0x18], xmm0
cmp dword [ebp + 8], 0
je 0x402123
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x402123
push esi
call fcn.00417ad0
add esp, 4
test eax, eax
je 0x40210a
mov ecx, 0x1505
xor ebx, ebx
nop word cs:[eax + eax]
movzx edx, byte [esi + ebx]
test edx, edx
je 0x402111
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x4020f0
jmp 0x402113
mov edi, 0x1505
jmp 0x402113
mov edi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
lea esi, [edx - 1]
mov ebx, edx
sub ebx, 1
jae 0x40213b
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0x20], xmm0
fld qword [esp + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and esi, edi
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jmp 0x402158
inc esi
dec edx
mov ebx, dword [esp + 0x10]
je 0x402123
mov eax, esi
and eax, ebx
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + eax*4]
cmp ebx, 0xffffffff
je 0x402123
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], edi
jne 0x402150
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], edx
call fcn.00417ad0
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402150
push dword [esp + 4]
push dword [esp + 0x10]
push dword [ebp + 0xc]
call fcn.00417af0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x402150
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x402123
cmp dword [eax + 4], 3
jne 0x402123
movsd xmm0, qword [eax + 8]
movsd qword [esp + 0x18], xmm0
jmp 0x402123
Function at 0x402200
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x402309
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402309
push ebx
call fcn.00417ad0
add esp, 4
test eax, eax
je 0x40225a
mov ecx, 0x1505
xor ebp, ebp
nop word cs:[eax + eax]
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402261
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402240
jmp 0x402263
mov esi, 0x1505
jmp 0x402263
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402309
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402294
inc ebp
dec ebx
je 0x402307
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402307
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402290
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00417ad0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402290
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00417af0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402290
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402307
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402309
mov edi, dword [eax + 8]
jmp 0x402309
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402440
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.00417b40
add esp, 8
test eax, eax
je 0x4024a6
mov ebx, eax
jmp 0x402484
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00417b40
add esp, 8
mov ebx, eax
test eax, eax
je 0x4024a6
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00401e80
add esp, 4
xor esi, esi
test eax, eax
je 0x402470
cmp dword [eax + 4], 4
jne 0x402470
mov esi, dword [eax + 8]
jmp 0x402470
xor eax, eax
test esi, esi
je 0x402506
test edi, edi
je 0x402506
push edi
call fcn.00417ad0
add esp, 4
test eax, eax
je 0x4024ea
mov ecx, 0x1505
xor ebp, ebp
nop word cs:[eax + eax]
movzx edx, byte [edi + ebp]
test edx, edx
je 0x4024f1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x4024d0
jmp 0x4024f3
mov ebx, 0x1505
jmp 0x4024f3
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x40250e
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
jmp 0x402524
inc ebp
dec ecx
je 0x402504
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402504
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402520
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x10], ecx
call fcn.00417ad0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402520
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.00417af0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x402520
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x402506
Function at 0x402630
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x40269d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40269d
push esi
call fcn.00417ad0
add esp, 4
test eax, eax
je 0x40267a
mov ecx, 0x1505
xor edi, edi
nop dword [eax]
movzx edx, byte [esi + edi]
test edx, edx
je 0x402681
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402660
jmp 0x402683
mov ebx, 0x1505
jmp 0x402683
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x4026a5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4026b4
inc ebp
dec edi
je 0x40269b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40269b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x4026b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00417ad0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4026b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00417af0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4026b0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x40269d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x40269d
Function at 0x4028b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x4029b5
mov ebx, edx
test edx, edx
je 0x4029b5
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x4029b5
push ebx
call fcn.00417ad0
add esp, 4
test eax, eax
je 0x40290a
mov ecx, 0x1505
xor esi, esi
movzx edx, byte [ebx + esi]
test edx, edx
je 0x402911
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc esi
mov ecx, ebp
cmp eax, esi
jne 0x4028f0
jmp 0x402913
mov ebp, 0x1505
jmp 0x402913
mov ebp, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp]
mov edi, dword [ecx + 0x20]
lea esi, [edi - 1]
mov edx, edi
mov dword [esp + 0x14], 0
sub edx, 1
mov dword [esp + 4], ebx
jae 0x4029bd
mov eax, 0xffffffff
mov edi, dword [ecx + 0x18]
cmp edi, dword [ecx + 0x1c]
mov ebx, dword [esp + 4]
jb 0x40297c
call fcn.00402af0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x4029b5
push ebx
call fcn.00417ad0
add esp, 4
lea esi, [esp + 0x14]
mov edi, dword [esp]
mov ecx, edi
mov edx, ebx
push esi
push ebp
push eax
call fcn.00402a40
mov ecx, edi
add esp, 0xc
mov edi, dword [edi + 0x18]
mov esi, ecx
mov edx, dword [ecx + 0xc]
mov dword [edx + edi*4], ebx
mov ecx, dword [ecx + 4]
mov edx, dword [esi + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov edi, dword [esp + 0x2c]
mov dword [ecx + edx*4], edi
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebp
inc dword [esi + 0x18]
mov eax, dword [esi]
mov dword [edi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and esi, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
jmp 0x4029da
inc esi
dec edi
mov edx, ebx
je 0x402937
mov eax, esi
mov ebx, edx
and eax, edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + eax*4]
cmp edx, 0xffffffff
je 0x40293c
mov eax, dword [ecx + 8]
cmp dword [eax + edx*4], ebp
jne 0x4029d0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edx*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00417ad0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x4029d0
push dword [esp + 8]
push dword [esp + 0x10]
push dword [esp + 0xc]
call fcn.00417af0
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4029d0
mov eax, 0xffffffff
jmp 0x4029b5
Function at 0x403220
Capabilities:
Compute adler32 checksum
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x4033e6
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x4033df
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
jmp 0x4032b8
add ebp, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov eax, edi
mov esi, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov eax, ecx
mul esi
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov eax, ebx
mov edx, dword [esp + 8]
xor eax, edx
not edx
and edx, ebx
add edx, edx
sub edx, eax
mov ebx, edx
mov esi, 0x15b0
je 0x4033df
xor eax, eax
cmp esi, 8
mov dword [esp + 4], ebx
jb 0x403337
mov eax, esi
and eax, 0x1ff8
mov dword [esp], eax
mov edx, 7
nop word cs:[eax + eax]
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
mov ebx, esi
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx edi, byte [ebp + 2]
add edi, esi
add ecx, edi
movzx eax, byte [ebp + 3]
add eax, edi
movzx esi, byte [ebp + 4]
add esi, eax
add eax, ecx
movzx ecx, byte [ebp + 5]
add ecx, esi
add eax, esi
movzx esi, byte [ebp + 6]
add esi, ecx
add eax, ecx
add eax, esi
movzx edi, byte [ebp + 7]
add edi, esi
mov esi, ebx
mov ecx, eax
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, ebx
jb 0x4032e0
mov ebx, dword [esp + 4]
mov eax, dword [esp]
mov edx, esi
sub edx, eax
mov dword [esp + 8], esi
jbe 0x403278
mov dword [esp + 0x10], edx
mov dword [esp], eax
not eax
add eax, esi
mov edx, esi
and edx, 3
je 0x403391
mov dword [esp + 0xc], eax
neg edx
xor eax, eax
mov ebx, ebp
nop word cs:[eax + eax]
movzx esi, byte [ebx]
inc ebx
add edi, esi
add ecx, edi
dec eax
cmp edx, eax
jne 0x403370
mov edx, dword [esp]
sub edx, eax
mov eax, dword [esp + 0xc]
cmp eax, 3
jb 0x403270
jmp 0x40339f
mov ebx, ebp
mov edx, dword [esp]
cmp eax, 3
jb 0x403270
mov eax, dword [esp + 8]
sub eax, edx
xor edx, edx
nop word [eax + eax]
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x4033b0
jmp 0x403270
shl ecx, 0x10
or ecx, edi
jmp 0x4033eb
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x417810
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, eax
and ecx, 3
je 0x41783c
cmp ecx, 2
jne 0x41784c
shr eax, 1
mov ecx, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
jmp 0x41795d
shr eax, 2
mov ecx, eax
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
jmp 0x41795d
test eax, eax
je 0x41795d
cmp eax, 8
jb 0x4178ce
mov ecx, edi
sub ecx, ebx
cmp ecx, 0x20
jb 0x4178d6
xor ebp, ebp
cmp eax, 0x20
jb 0x41789d
mov ebp, eax
and ebp, 0xffffffe0
xor ecx, ecx
movups xmm0, xmmword [ebx + ecx]
movups xmm1, xmmword [ebx + ecx + 0x10]
movups xmmword [edi + ecx], xmm0
movups xmmword [edi + ecx + 0x10], xmm1
add ecx, 0x20
cmp ebp, ecx
jne 0x417870
cmp ebp, eax
je 0x41795d
test al, 0x18
je 0x417966
mov edi, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xfffffff8
lea edx, [ebx + ecx]
lea esi, [edi + ecx]
and eax, 7
nop dword [eax + eax]
movsd xmm0, qword [ebx + ebp]
movsd qword [edi + ebp], xmm0
add ebp, 8
cmp ecx, ebp
jne 0x4178b0
cmp ecx, dword [esp + 0x1c]
mov edi, eax
jne 0x4178dc
jmp 0x41795d
mov edx, ebx
mov esi, dword [esp + 0x14]
jmp 0x4178da
mov edx, ebx
mov esi, edi
mov edi, eax
lea ebp, [edi - 1]
mov ebx, edi
and ebx, 7
je 0x417902
xor eax, eax
nop dword [eax + eax]
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
inc eax
cmp ebx, eax
jne 0x4178f0
add edx, eax
add esi, eax
sub edi, eax
cmp ebp, 7
jb 0x41795d
xor ecx, ecx
nop dword [eax]
movzx eax, byte [edx + ecx]
mov byte [esi + ecx], al
movzx eax, byte [edx + ecx + 1]
mov byte [esi + ecx + 1], al
movzx eax, byte [edx + ecx + 2]
mov byte [esi + ecx + 2], al
movzx eax, byte [edx + ecx + 3]
mov byte [esi + ecx + 3], al
movzx eax, byte [edx + ecx + 4]
mov byte [esi + ecx + 4], al
movzx eax, byte [edx + ecx + 5]
mov byte [esi + ecx + 5], al
movzx eax, byte [edx + ecx + 6]
mov byte [esi + ecx + 6], al
movzx eax, byte [edx + ecx + 7]
mov byte [esi + ecx + 7], al
add ecx, 8
cmp edi, ecx
jne 0x417910
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebx
pop ebp
ret
and eax, 0x1f
mov ecx, dword [esp + 0x14]
lea esi, [ecx + ebp]
add ebx, ebp
mov edx, ebx
jmp 0x4178da
Function at 0x4183c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x220]
movzx edx, word [edi]
test dx, dx
je 0x4184e5
lea eax, [edi + 2]
xor ebx, ebx
mov ecx, 1
nop dword [eax + eax]
movzx esi, dx
xor edx, edx
cmp esi, 0x800
setb dl
xor edx, 3
cmp esi, 0x80
cmovb edx, ecx
add ebx, edx
movzx edx, word [eax]
add eax, 2
test dx, dx
jne 0x4183f0
lea esi, [ebx + 1]
push esi
call fcn.0044d930
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x4184f3
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x418458
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x4184f5
movzx edx, word [edi]
test dx, dx
je 0x4184f5
cmp dx, 0x7f
jbe 0x418440
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
mov dword [esp], esi
cmp esi, 0x7ff
ja 0x4184b0
xor esi, esi
cmp ecx, 2
jb 0x418447
mov ecx, dword [esp]
shr ecx, 6
mov esi, edx
shr esi, 5
and esi, 0x80
xor ecx, 0xc0
add ecx, esi
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x418447
xor esi, esi
cmp ecx, 3
jb 0x418447
mov esi, dword [esp]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x418447
push 1
call fcn.0044d930
add esp, 4
mov ebp, eax
jmp 0x4184f5
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x418517
mov eax, ebx
mov byte [esp + ecx + 0xc], al
inc ecx
movzx ebx, byte [ebp + ecx]
mov al, 0x2f
cmp ebx, 0x5c
je 0x418512
test ebx, ebx
jne 0x418510
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0x10]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.0040f3d0
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40273a
Capabilities:
Terminate process

Disassembly:
call section..text
push 0
push 0x406018
push 0x406014
call fcn.00402cf0
push 0
push 0x406020
push 0x40601c
call fcn.00402cf0
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push edi
push esi
test ecx, ecx
jne 0x402b94
mov eax, dword [0x404aab]

Function at 0x402a42
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
inc ecx
mov edx, dword [ebp + 0x14]
pop esi
loop 0x402a83
add dword [eax], eax
add byte [edi - 0x73], dl
and al, 0
mov edx, dword [edx + 8]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x402b28
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [esi + 4], edi
mov dword [esi + 0x48], eax
cmp dword [edi + 4], 0x12
mov dword [ebp - 0xc], eax
push edx
dec edi
dec esi
mov edx, dword [esi]
mov eax, dword [edi]
xor eax, edx
inc edi
inc esi
mov al, ah
dec dword [esp]
inc esi
stosb byte es:[edi], al
pop eax
mov edx, eax
test eax, eax
jne 0x402aa4
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, eax
loop 0x402a83
inc ecx
ret
push es
test ecx, ecx
jne 0x402ac3
mov eax, esi
call 0x3ff1af
mov dword [ebp + 0xc], eax
jmp 0x402ad0
mov ecx, dword [ecx + 4]
push edi
push ecx
call 0x893fc03f
cmpsd dword [esi], dword es:[edi]
test al, 0x51
mov ecx, 0x6d20124e
lcall 0xcae, 0xc33297ac
pop edi
adc al, 0x3b
push ebp
mov ah, 0x70
daa
dec edx
jbe 0x402b17
cmp dword [eax], ebp
sub byte [esi], 0x7c
inc ecx
add byte [ecx + 0x69338db0], 0x52
adc byte [bx + si - 0x4d], ch
cmp bl, al
xor ah, byte [0xa741bd31]
dec eax
mov esi, 0x10b1b08c
sbb bl, byte es:[ebx + 0x4694c656]
sub bh, byte [0x65bfbda4]
bt dword [esi + 0x79], ecx
dec esi
pop ss
insb byte es:[edi], dx
dec edi
js 0x402ab2
push ds
push esp
mov al, byte [0xba0823c]
or eax, 0x61aa4a87
stosb byte es:[edi], al
popal
enter 0x29a8, 0x22
inc ecx
jge 0x402b7a
inc ebx
lds ecx, [edi + 0x7e]
xor eax, dword [ebp + 0x221752bd]
cmp eax, 0x467fa38a
mov al, byte [0x224d3243]
lodsd eax, dword [esi]
mov ah, 0x7f
jg 0x402ae2
sub dword [eax - 0x9eb6d6], 0xffffff83
les ecx, [eax]
mov edx, dword [ebp + 0xc]
push edx