joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4128b2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x431354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c12f
and dword [ebp - 0x14], 0
cmp dword [0x436bcc], 0
mov dword [ebp - 0x18], eax
jne 0x412965
push 0x403ff8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412a0d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fec
push ebx
call edi
test eax, eax
je 0x412a0d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fdc
push ebx
mov dword [0x436bcc], eax
call edi
push eax
call esi
push 0x403fc8
push ebx
mov dword [0x436bd0], eax
call edi
push eax
call esi
push 0x403fac
push ebx
mov dword [0x436bd4], eax
call edi
push eax
call esi
mov dword [0x436bdc], eax
test eax, eax
je 0x412965
push 0x403f94
push ebx
call edi
push eax
call esi
mov dword [0x436bd8], eax
mov eax, dword [0x436bd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4129be
cmp dword [0x436bdc], ecx
je 0x4129be
push eax
call esi
push dword [0x436bdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4129be
test ebx, ebx
je 0x4129be
call edi
test eax, eax
je 0x4129b5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4129b5
test byte [ebp - 8], 1
jne 0x4129be
or dword [ebp + 0x10], 0x200000
jmp 0x4129f1
mov eax, dword [0x436bd0]
cmp eax, dword [ebp - 0x18]
je 0x4129f1
push eax
call esi
test eax, eax
je 0x4129f1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4129f1
mov eax, dword [0x436bd4]
cmp eax, dword [ebp - 0x18]
je 0x4129f1
push eax
call esi
test eax, eax
je 0x4129f1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x436bcc]
call esi
test eax, eax
je 0x412a0d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412a0f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040956b
leave
ret
Function at 0x4093ff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], 0x29c27be8
add dword [ebp - 8], 0x4196
mov byte [ebp - 1], 1
lea edi, [ebp - 0x1c]
lea esi, [0x42e63e]
mov ecx, 0x11
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 8]
mov edx, eax
sub edx, eax
mov dword [ebp - 8], edx
lea edi, [ebp - 0x2b]
lea esi, [0x42e64f]
mov ecx, 0xf
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x32]
lea esi, [0x42e65e]
mov ecx, 7
rep movsb byte es:[edi], byte [esi]
sub dword [ebp - 8], 0x6151
cmp byte [ebx], 0x67
jne 0x40947a
inc ebx
add byte [ebp - 1], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mul dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov dword [ebp - 8], eax
mov byte [ebp - 9], 0
jmp 0x409496
mov al, byte [ebx]
movzx edx, byte [ebp - 9]
cmp al, byte [ebp + edx - 0x1c]
jne 0x409492
add byte [ebp - 1], 4
jmp 0x40949c
add byte [ebp - 9], 1
cmp byte [ebp - 9], 0x11
jb 0x409480
xor dword [ebp - 8], 0x774b
mov byte [ebp - 0xa], 0
jmp 0x409557
mov al, byte [ebx]
movzx edx, byte [ebp - 0xa]
cmp al, byte [ebp + edx - 0x2b]
jne 0x409553
add byte [ebp - 1], 1
mov eax, 0x67c6
mul dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 1]
cmp eax, 0xc0
jge 0x409538
movzx eax, byte [ebx + 1]
and eax, 0xc0
cmp eax, 0x40
jne 0x4094eb
add byte [ebp - 1], 1
movzx eax, byte [ebx + 1]
mov edx, eax
and edx, 7
cmp edx, 4
je 0x409503
cmp edx, 5
jne 0x409507
cmp eax, 0x40
jge 0x409507
add byte [ebp - 1], 1
sub dword [ebp - 8], 0x251a
movzx eax, byte [ebx + 1]
test byte [ebx + 1], 0xc0
jne 0x409524
and eax, 7
cmp eax, 5
jne 0x409524
add byte [ebp - 1], 3
movzx eax, byte [ebx + 1]
and eax, 0xc0
cmp eax, 0x80
jne 0x409538
add byte [ebp - 1], 4
movzx eax, byte [ebx]
cmp eax, 0xf7
jne 0x40954c
test byte [ebx + 1], 0x38
jne 0x40954c
add byte [ebp - 1], 4
sub dword [ebp - 8], 0x2d1d
add byte [ebp - 0xa], 1
cmp byte [ebp - 0xa], 0xf
jb 0x4094ac
mov byte [ebp - 0xb], 0
jmp 0x40957d
mov al, byte [ebx]
movzx edx, byte [ebp - 0xb]
cmp al, byte [ebp + edx - 0x32]
jne 0x409579
add byte [ebp - 1], 1
jmp 0x409583
add byte [ebp - 0xb], 1
cmp byte [ebp - 0xb], 7
jb 0x409567
mov eax, 0x7d5b
mul dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebx]
cmp eax, 0x83
jne 0x40959f
add byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001665
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [sym.imp.USER32.dll_CharNextW]
jmp 0x1001684
cmp cx, 0x20
je 0x1001681
cmp cx, 9
jne 0x100168c
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x1001675
mov cx, word [eax]
xor edi, edi
test cx, cx
je 0x10017c2
test edi, edi
jne 0x10016aa
cmp cx, 0x20
je 0x10016c4
cmp cx, 9
je 0x10016c4
cmp cx, 0x22
jne 0x10016b9
xor ecx, ecx
test edi, edi
sete cl
mov edi, ecx
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x100169a
mov cx, word [eax]
test cx, cx
je 0x10017c2
push 2
pop edi
movzx ecx, cx
sub ecx, 0x50
je 0x100178a
sub ecx, edi
je 0x100173f
sub ecx, 5
je 0x1001712
sub ecx, 0x19
je 0x100178a
sub ecx, edi
je 0x100173f
sub ecx, 5
jne 0x10017b3
jmp 0x1001712
cmp cx, 0x3a
je 0x1001712
cmp cx, 0x20
je 0x1001712
cmp cx, 9
jne 0x100171d
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x1001700
push 0x1014014
push eax
call fcn.01001630
jmp 0x10017b3
cmp cx, 0x3a
je 0x100173f
cmp cx, 0x20
je 0x100173f
cmp cx, 9
jne 0x100174a
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x100172d
push 0x1014010
push eax
call fcn.01001630
mov ecx, dword [0x1014010]
cmp ecx, 0x10
jle 0x100176c
mov dword [0x1014010], 0x10
jmp 0x10017b3
cmp ecx, edi
jge 0x10017b3
mov dword [0x1014010], edi
jmp 0x10017b3
cmp cx, 0x3a
je 0x100178a
cmp cx, 0x20
je 0x100178a
cmp cx, 9
jne 0x1001795
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x1001778
push str.__n_n_
push eax
call fcn.01001630
cmp dword [str.__n_n_], 0x40
jle 0x10017b3
mov dword [str.__n_n_], 0x40
push eax
call esi
mov cx, word [eax]
test cx, cx
jne 0x10016d3
pop edi
pop esi
ret 4
Function at 0x10049a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1014efc], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
jne 0x10049c1
push esi
push esi
push esi
push esi
call edi
mov dword [0x1014efc], eax
cmp dword [0x1014f00], esi
jne 0x10049d5
push esi
push esi
push 1
push esi
call edi
mov dword [0x1014f00], eax
cmp dword [0x1014f04], esi
jne 0x10049f5
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1004916
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1014f04], eax
cmp dword [ebp + 8], esi
push dword [0x1014f00]
je 0x1004a1a
mov dword [0x1014f58], esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [0x1014efc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1004a47
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1014f08]
cmp eax, esi
je 0x1004a38
push esi
push 4
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x1014f58], esi
je 0x1004a47
push 5
call fcn.01004a4d
pop edi
pop esi
leave
ret 4
Function at 0x57cae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.005779e0
test eax, eax
jne 0x57cb4c
push ebp
push 0x4f2fa8
mov ecx, edi
call fcn.0057bd60
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.00577410
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0056c430
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00577b90
add esp, 4
test eax, eax
je 0x57cbef
add esi, 0x18
push esi
call fcn.0056ce10
add esi, eax
push esi
call fcn.0056ce10
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x57cef2
jmp dword [ecx*4 + 0x447330]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.0057bea0
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.0056ce10
add esi, eax
push esi
call fcn.0056ce10
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x57cc40
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.004c7590]
test eax, eax
je 0x57cc40
mov eax, 1
jmp 0x57cc42
xor eax, eax
cmp ebx, 8
jge 0x57cea7
cmp ebx, 7
ja 0x57cef2
jmp dword [ebx*4 + 0x447340]
test eax, eax
jne 0x57ceba
mov ecx, dword [esp + 0x10]
push eax
push 0x4f2f94
call fcn.0057bd60
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.0057d400
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x4d8dc0
call fcn.0056c630
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x585af0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50e798]
xor edx, edx
cmp eax, edx
jne 0x585b16
xor eax, eax
mov byte [eax + 0x50e698], al
inc eax
cmp eax, 0x100
jl 0x585afe
mov dword [0x50e798], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50e698
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x585ba7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x585b7a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x585b48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x585c20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x585c73
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x585c5a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x589f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x58a131
cmp eax, 8
jg 0x58a131
cmp dword [esp + 0x8c], 2
jl 0x58a131
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x58a131
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x58a131
mov eax, dword [esp + 0x80]
test eax, eax
je 0x589f97
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x58a11a
mov ebp, dword [0x4c7520]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x589fc9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x58a101
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x589fe9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [fcn.004c7508]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x58a028
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4c750c]
lea ecx, [esp + 0x28]
push ecx
call dword [0x4c7554]
test eax, eax
jne 0x58a0e8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00589520
cmp eax, 1
jne 0x58a112
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00589dd0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x589fdd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x58a11a
jmp 0x589fb4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00589120
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x58c6b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x58c848
cmp ebp, ebx
jle 0x58c848
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x58c70e
dec eax
or eax, 0xfffffff8
inc eax
je 0x58c715
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x58c724
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x58c72b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call 0x5e9967
add esp, 4
cmp eax, ebx
je 0x58c74c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call 0x5e9967
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x58c83e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x58c825
mov al, byte [edx]
cmp al, 0xc0
jbe 0x58c811
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x58c806
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x58c814
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x58c814
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x58c7b0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x58c7a1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x65221476
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
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
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x1f1b7076
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0xe14058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xe141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe1407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe1406a
add dl, dl
jne 0xe14089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe140dc
xor eax, eax
add dl, dl
jne 0xe14096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe1417d
add dl, dl
jne 0xe140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe14075
mov eax, 1
add dl, dl
jne 0xe140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe140e1
sub eax, ebx
mov ebx, 1
jne 0xe14128
mov ecx, 1
add dl, dl
jne 0xe1410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe14119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe14105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe14075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe1413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe1414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe14136
cmp eax, 0x7d00
jae 0xe1416d
cmp eax, 0x500
jb 0xe14168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe14075
cmp eax, 0x7f
ja 0xe14170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe14075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe1419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe14075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40a5b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x40a5e1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x40a5d0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8