joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e602
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e2a4

Function at 0x41e60d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e433

Function at 0x41ea07
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040f1b0
mov eax, dword [0x453740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041d499
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41ea49
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41eba5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0040e660
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x455f50]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041fbd7
mov ecx, dword [esi*4 + 0x455f50]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41eb9e
cmp eax, dword [edi + ecx + 0x24]
jne 0x41eb9e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41eb9e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041fbd7
add esp, 0x14
test edx, edx
jl 0x41eb9e
jg 0x41eb14
test eax, eax
jb 0x41eb9e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41eb9e
jl 0x41eb2e
cmp dword [ebp - 0x1008], eax
ja 0x41eb9e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41eb4c
test ebx, ebx
je 0x41eb85
cmp ecx, edi
jae 0x41eb85
mov al, byte [ecx]
cmp al, 0xd
jne 0x41eb66
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41eb72
cmp byte [ecx + 1], 0xa
jne 0x41eb72
inc ecx
jmp 0x41eb72
movzx eax, al
movsx eax, byte [eax + 0x453a00]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41eb4c
cmp edx, ebx
jne 0x41eb4c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41eba3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040e647
leave
ret
Function at 0x41f075
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x455f50]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f0b5
cmp byte [ebx], 0xa
jne 0x41f0b5
or byte [eax + edi + 0x28], 4
jmp 0x41f0ba
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41f1b8
mov al, byte [edx]
cmp al, 0x1a
je 0x41f19a
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41f0e9
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41f10e
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41f118
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41f0cb
jmp 0x41f1b8
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f195
cmp dword [ebp - 0xc], 0
je 0x41f195
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x455f50]
test byte [eax + edi + 0x28], 0x48
je 0x41f16f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41f15a
mov byte [esi], dl
jmp 0x41f16b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x455f50]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41f1b8
cmp byte [ebp - 1], 0xa
jne 0x41f17e
cmp esi, ebx
jne 0x41f17e
mov byte [esi], 0xa
jmp 0x41f1b7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041fbf5
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41f1b8
mov byte [esi], 0xd
jmp 0x41f1b7
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x455f50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f1b4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f1b8
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41f1c1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x455f50]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f204
cmp word [esi], dx
jne 0x41f204
or byte [edi + eax + 0x28], 4
jmp 0x41f209
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41f35c
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41f33c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41f24b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41f281
cmp eax, edx
jae 0x41f28d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41f223
jmp 0x41f35c
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f338
cmp dword [ebp - 0x14], 0
je 0x41f338
mov eax, dword [ebx*4 + 0x455f50]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41f310
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41f2d9
mov word [esi], cx
jmp 0x41f30c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x455f50]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x455f50]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x455f50]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41f35c
pop ebx
cmp word [ebp - 4], bx
jne 0x41f321
cmp esi, dword [ebp + 0xc]
jne 0x41f321
mov word [esi], bx
jmp 0x41f359
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041fbf5
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41f35c
push 0xd
jmp 0x41f355
mov ecx, dword [ebx*4 + 0x455f50]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41f353
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41f35c
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x422ef0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x422f8d
push ebx
push esi
call fcn.00422eb9
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00421b3e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x422f3a
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422f8c
push edi
push eax
call fcn.0041fdd4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x422f5a
call fcn.0041c44c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422f8b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00421b3e
add esp, 0x20
test eax, eax
jne 0x422f79
push edi
call fcn.0041c44c
jmp 0x422f81
push ebx
call fcn.0041c44c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42a700
Capabilities:
Parse pe header

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

Function at 0x9301c8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x9301ce
pop ebp
sub ebp, 6
sub ebp, 0x5301c8
jmp 0x93022c
jmp 0x930235
mov eax, 0x5301c8
add eax, ebp
add eax, 0x93
mov ecx, 0x61c
mov edx, 0x9bf2339c
xor byte [eax], dl
inc eax
dec ecx
jne 0x93024c
jmp 0x93025f
neg ah
hlt

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x721d90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2d8000]
push edi
or ebp, 0xffffffff
jmp 0x721db2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x721db9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721da8
mov eax, 1
add ebx, ebx
jne 0x721dcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x721ddc
jne 0x721dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721dfb
dec eax
add ebx, ebx
jne 0x721de8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x721dc0
add ebx, ebx
jne 0x721df7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x721e4d
xor ecx, ecx
sub eax, 3
jb 0x721e13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x721e82
sar eax, 1
mov ebp, eax
jmp 0x721e1e
add ebx, ebx
jne 0x721e1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721dec
inc ecx
add ebx, ebx
jne 0x721e2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x721dec
add ebx, ebx
jne 0x721e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x721e2e
jne 0x721e4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x721e2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x721e6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x721e5e
jmp 0x721dae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x721e6c
add edi, ecx
jmp 0x721dae
pop esi
mov edi, esi
mov ecx, 0x46
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x721e8a
cmp byte [edi], 9
jne 0x721e8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x721e8f
lea edi, [esi + 0x31f000]
mov eax, dword [edi]
or eax, eax
je 0x721f07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x321c50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x321cf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x721ebc
mov ecx, edi
jns 0x721eeb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x321d00]
or eax, eax
je 0x721f01
mov dword [ebx], eax
add ebx, 4
jmp 0x721ed9
call dword [esi + 0x321cfc]
mov ebp, dword [esi + 0x321d04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x721f3b
sub esp, 0xffffff80
jmp 0x42aea0
Function at 0x4011a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x4bde
mov byte [ebp - 0xa], 0x90
mov byte [ebp - 0xb], 0xd4
jmp 0x4011e6
mov eax, dword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
call eax
popfd
fsubr qword [edi - 0x7696a573]
inc ebp
invalid

Function at 0x401770
Capabilities:
Accept command line arguments
Create directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov bx, word [esp + 0xce]
mov word [esp + 0xce], 0x771e
mov dword [esp + 0xd4], 0x4b12
mov dword [esp + 0xac], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0xd0]
add eax, 0x3aae
mov dword [esp + 0xd0], eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb0], edi
add edi, 4
mov dword [0x40af64], edi
mov eax, dword [esp + 0xb8]
mov dword [0x40af60], eax
mov eax, dword [esp + 0xa8]
mov dword [0x40af54], eax
mov eax, dword [esp + 0xbc]
mov dword [0x40af58], eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
not eax
not ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
mov dword [0x40af5c], edx
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov word [esp + 0x22], bx
call eax
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0xa4], esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xa4]
shr eax, 2
mov dword [esp + 0xa4], eax
mov eax, 0x4b12
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xa4]
sub eax, ecx
cmp edx, eax
ja 0x4018b6
mov al, byte [esp + 0xdb]
or al, 0x43
mov byte [esp + 0xdb], al
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
lea eax, [0x40104c]
lea ecx, [esp + 0x24]
mov edx, 0x4b11
mov esi, 0x4b12
sub esi, dword [esp + 0xd4]
sub edx, dword [esp + 0xd4]
mov edi, dword [esp + 0xa4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
call sub.msvcrt.dll_sprintf
mov bx, word [esp + 0x22]
imul si, bx, 0x2701
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0xa4]
mov word [esp + 0xce], si
mov dword [esp + 0xa4], ecx
mov ecx, esp
mov dword [ecx + 4], 0
mov dword [ecx], 0x401086
mov ecx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [esp + 0xc], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jne 0x401946
jmp 0x401881
mov eax, esp
mov dword [eax], 0
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
sub esp, 4
nop dword [eax + eax]
Function at 0x4023b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov word [esp + 0x90], 0x4d77
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x32e7
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov edi, 0x358f
mov dword [esp + 0x30], eax
mov eax, edx
mov dword [esp + 0x2c], edx
mul edi
imul edi, esi, 0x358f
add edx, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], ecx
mov byte [esp + 0x8f], 0xf3
mov ecx, esp
lea edx, [esp + 0x54]
mov dword [ecx], edx
mov dword [ecx + 8], 0x18
mov dword [ecx + 4], 0x4010c3
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edx
call fcn.00401e80
sub esp, 0xc
mov eax, esp
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
call fcn.00402560
sub esp, 4
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
xor esi, esi
mov edi, 0x4188
sub edi, ecx
mov ecx, esi
sbb ecx, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ecx
movzx edx, word [esp + 0x92]
mov bx, dx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, 0x9b99
sub eax, edx
mov edx, dword [esp + 0x1c]
sbb esi, edx
sub edi, eax
sbb ecx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov word [esp + 0x12], bx
jae 0x4024b8
jmp 0x4024b8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov ecx, 0x7ddc
mov eax, dword [esp + 0x2c]
mul ecx
mov ecx, dword [esp + 0x28]
imul esi, ecx, 0x7ddc
add edx, esi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov edx, esp
mov dword [edx], eax
call fcn.00403630
sub esp, 4
mov di, ax
mov word [esp + 0x4c], di
mov word [esp + 0x4e], di
movzx eax, word [esp + 0x90]
add eax, 0xffffb289
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x38]
mov esi, esp
lea ebx, [esp + 0x48]
mov dword [esi + 0xc], ebx
mov di, ax
movzx eax, di
mov dword [esi + 8], eax
lea eax, [esp + 0x4c]
mov dword [esi + 4], eax
mov dword [esi], ecx
call edx
sub esp, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x403630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
mov word [ebp - 0xa], 0x1d2d
mov byte [ebp - 0xb], 0x67
mov dword [ebp - 0x10], 0x6196
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
sub esp, 0x1c
jmp 0x403693
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 5], 0x5e
mov edx, dword [ebp - 0x20]
mov eax, 0x6197
sub eax, ecx
add edx, eax
mov dword [ebp - 0x20], edx
jmp 0x403693
mov al, byte [ebp - 5]
and al, 0xf8
mov byte [ebp - 5], al
mov esi, dword [ebp - 0x14]
mov al, byte [ebp - 0xb]
xor al, 0x67
mov edx, dword [ebp - 0x1c]
mov ah, byte [edx + esi]
cmp ah, al
mov cx, word [ebp - 8]
mov word [ebp - 8], cx
jne 0x403657
jmp 0x4036b8
mov ax, word [ebp - 0xa]
add ax, 0x5be5
mov word [ebp - 0x16], ax
mov edx, dword [ebp - 0x20]
mov cx, word [ebp - 0x16]
mov ax, word [ebp - 0xa]
mov dword [ebp - 0x14], edx
xor ax, 0x4865
cmp cx, ax
je 0x403693
jmp 0x40366f
add esp, 0x1c
pop esi
mov eax, dword [ebp - 0x20]
pop ebp
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xa460b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a46200
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 0xa460d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa460c2
add dl, dl
jne 0xa460e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa46134
xor eax, eax
add dl, dl
jne 0xa460ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa461d5
add dl, dl
jne 0xa460fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa46108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa46113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4611e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa4612a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa460cd
mov eax, 1
add dl, dl
jne 0xa46142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa4614d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa46139
sub eax, ebx
mov ebx, 1
jne 0xa46180
mov ecx, 1
add dl, dl
jne 0xa46166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa46171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4615d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa460cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa46197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa461a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa4618e
cmp eax, 0x7d00
jae 0xa461c5
cmp eax, 0x500
jb 0xa461c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa460cd
cmp eax, 0x7f
ja 0xa461c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa460cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa461f6
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 0xa460cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4247d8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042447a

Function at 0x4247e3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424609

Function at 0x424bdd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040f0b0
mov eax, dword [0x488ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004233a3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x424c1f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x424d7b
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00430920
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x48ad08]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00425dad
mov ecx, dword [esi*4 + 0x48ad08]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x424d74
cmp eax, dword [edi + ecx + 0x24]
jne 0x424d74
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424d74
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00425dad
add esp, 0x14
test edx, edx
jl 0x424d74
jg 0x424cea
test eax, eax
jb 0x424d74
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x424d74
jl 0x424d04
cmp dword [ebp - 0x1008], eax
ja 0x424d74
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x424d22
test ebx, ebx
je 0x424d5b
cmp ecx, edi
jae 0x424d5b
mov al, byte [ecx]
cmp al, 0xd
jne 0x424d3c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x424d48
cmp byte [ecx + 1], 0xa
jne 0x424d48
inc ecx
jmp 0x424d48
movzx eax, al
movsx eax, byte [eax + 0x489180]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x424d22
cmp edx, ebx
jne 0x424d22
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x424d79
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040e599
leave
ret