joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ad0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b745
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4b2100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 8]
mov dword [ebp + 8], edi
cmp dword [edi + 0x14], 0xf
jbe 0x406b0d
mov eax, dword [edi]
mov dword [ebp + 8], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x406b35
mov edx, dword [ebp + 8]
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x406b20
mov edx, dword [ebp - 0x10]
push esi
push edi
lea eax, [ebp - 0x18]
mov ecx, edx
push eax
call fcn.00401e00
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x406c48
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x4924924
je 0x406c5e
add eax, 4
mov dword [ebp - 0x20], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.00442d8a
xorps xmm0, xmm0
mov dword [ebp + 8], eax
mov dword [ebp - 0x1c], eax
add esp, 4
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmm0, xmmword [edi]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x18], xmm0
xorps xmm0, xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [eax + 0x20], xmm0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0xf
mov byte [eax + 0x20], 0
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x49f960]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x49f960]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x406c39
mov ecx, edi
call fcn.004090e0
mov eax, dword [ebp + 8]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401e00
mov ecx, dword [eax]
jmp 0x406c3c
mov ecx, dword [ebp - 0x18]
push dword [ebp + 8]
push ecx
push esi
mov ecx, edi
call fcn.00408810
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.004240c1
int3
Function at 0x409340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x4094dc
cmp dword [edx + 0x1c], 0xf
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jbe 0x40937b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x4093a4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x409390
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004062b0
push 0x38
push edi
call fcn.00442dba
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x409409
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x4093c0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x4093f8
mov edx, dword [ebp - 0xc]
mov dword [edx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x40941b
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
jmp 0x40941e
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x4094cf
nop dword [eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x40943e
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x409464
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x409450
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.004062b0
push 0x38
push edi
call fcn.00442dba
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x4094b9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x409478
mov ecx, dword [ebp + 8]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x409430
mov eax, dword [ebp - 8]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4094f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
cmp ecx, eax
je 0x40966f
cmp dword [ecx + 0x1c], 0xf
lea edx, [ebx + 4]
mov eax, dword [edx]
push esi
mov dword [ebp - 0x1c], eax
mov esi, ecx
mov eax, dword [ebx + 0xc]
push edi
mov dword [ebp - 0x18], eax
lea edi, [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], edx
jbe 0x409533
mov edi, dword [edi]
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x409554
mov edx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edx
jb 0x409540
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea eax, [edi + 8]
push eax
push edx
call fcn.00402680
push 0x28
push edi
call fcn.00442dba
mov edx, dword [ebp - 4]
add esp, 0x10
add edx, 4
dec dword [edx + 4]
cmp ebx, dword [ebp - 0x20]
je 0x4095c2
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x409570
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x409665
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
jne 0x4095d4
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x4095d7
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x409665
cmp dword [esi + 0x1c], 0xf
lea edi, [esi + 8]
mov eax, dword [edi + 0x10]
mov dword [ebp + 8], eax
jbe 0x4095f6
mov edi, dword [edi]
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x409618
mov edx, dword [ebp + 8]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edx
jb 0x409604
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
and eax, ebx
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
nop
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea eax, [edi + 8]
push eax
push edx
call fcn.00402680
push 0x28
push edi
call fcn.00442dba
mov edx, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp + 0xc]
add edx, 4
dec dword [edx + 4]
cmp ebx, dword [ebp - 0x20]
je 0x409676
cmp esi, eax
jne 0x409630
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x1c]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x4095e5
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4166d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4b2100]
xor eax, ebp
mov dword [ebp - 4], eax
vmovdqu ymm6, ymmword [0x49fc60]
vmovsd xmm2, qword [0x49fb68]
push esi
mov esi, dword [ebx + 8]
mov eax, esi
push edi
mov edi, dword [ebx + 0xc]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x44], esi
vmovupd ymm3, ymmword [esi]
and ecx, 0xffffffe0
add ecx, esi
add esi, 0x20
vpxor xmm5, xmm5, xmm5
vmovupd ymmword [ebp - 0x80], ymm3
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovdqu ymm4, ymm6
cmp esi, ecx
je 0x41676b
nop dword [eax]
vmovupd ymm1, ymmword [esi]
vcmpgt_oqpd ymm0, ymm3, ymm1
add esi, 0x20
vpblendvb ymm5, ymm5, ymm4, ymm0
vminpd ymm3, ymm1, ymm3
vpaddq ymm4, ymm6, ymm4
cmp esi, ecx
jne 0x416740
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovupd ymmword [ebp - 0x80], ymm3
vshufpd ymm0, ymm3, ymm3, 5
vminpd ymm1, ymm0, ymm3
vpermpd ymm0, ymm1, 0x4e
vminpd ymm0, ymm0, ymm1
vcomisd xmm2, xmm0
vmovupd ymmword [ebp - 0x40], ymm0
jbe 0x4167f5
vmovsd qword [ebp - 0x50], xmm0
vcmpeqpd ymm1, ymm0, ymm3
vmovdqu ymm0, ymmword [0x49fdc0]
vpblendvb ymm0, ymm0, ymm5, ymm1
vmovdqu ymmword [ebp - 0xc0], ymm0
call fcn.00420cd0
vpcmpeqq ymm0, ymm0, ymmword [ebp - 0xc0]
vmovupd ymm2, ymmword [ebp - 0x40]
vpmovmskb ecx, ymm0
vcmpeqpd ymm0, ymm2, ymmword [ebp - 0x80]
vpmovmskb eax, ymm0
vmovdqu ymm0, ymmword [ebp - 0xa0]
and ecx, eax
vmovsd xmm2, qword [ebp - 0x50]
bsf ecx, ecx
vmovdqu ymmword [ebp - 0x40], ymm0
mov eax, ecx
mov dword [ebp - 0x48], ecx
shr eax, 3
mov eax, dword [ebp + eax*8 - 0x40]
shl eax, 5
add eax, ecx
add eax, dword [ebp - 0x44]
vzeroupper
cmp esi, edi
je 0x416816
nop dword [eax]
movsd xmm0, qword [esi]
comisd xmm2, xmm0
jbe 0x41680f
mov eax, esi
movaps xmm2, xmm0
add esi, 8
cmp esi, edi
jne 0x416800
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00442dcd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x417b70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xffffffe0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x4b2100]
xor eax, ebp
mov dword [ebp - 4], eax
vmovdqu ymm6, ymmword [0x49fc60]
vmovsd xmm2, qword [0x49fb78]
push esi
mov esi, dword [ebx + 8]
mov eax, esi
push edi
mov edi, dword [ebx + 0xc]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x44], esi
vmovupd ymm3, ymmword [esi]
and ecx, 0xffffffe0
add ecx, esi
add esi, 0x20
vpxor xmm5, xmm5, xmm5
vmovupd ymmword [ebp - 0x80], ymm3
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovdqu ymm4, ymm6
cmp esi, ecx
je 0x417c0b
nop dword [eax]
vmovupd ymm1, ymmword [esi]
vcmpgt_oqpd ymm0, ymm1, ymm3
add esi, 0x20
vpblendvb ymm5, ymm5, ymm4, ymm0
vmaxpd ymm3, ymm1, ymm3
vpaddq ymm4, ymm6, ymm4
cmp esi, ecx
jne 0x417be0
vmovdqu ymmword [ebp - 0xa0], ymm5
vmovupd ymmword [ebp - 0x80], ymm3
vshufpd ymm0, ymm3, ymm3, 5
vmaxpd ymm1, ymm0, ymm3
vpermpd ymm0, ymm1, 0x4e
vmaxpd ymm0, ymm0, ymm1
vcomisd xmm0, xmm2
vmovupd ymmword [ebp - 0x40], ymm0
jbe 0x417c95
vmovsd qword [ebp - 0x50], xmm0
vcmpeqpd ymm1, ymm0, ymm3
vmovdqu ymm0, ymmword [0x49fdc0]
vpblendvb ymm0, ymm0, ymm5, ymm1
vmovdqu ymmword [ebp - 0xc0], ymm0
call fcn.00420cd0
vpcmpeqq ymm0, ymm0, ymmword [ebp - 0xc0]
vmovupd ymm2, ymmword [ebp - 0x40]
vpmovmskb ecx, ymm0
vcmpeqpd ymm0, ymm2, ymmword [ebp - 0x80]
vpmovmskb eax, ymm0
vmovdqu ymm0, ymmword [ebp - 0xa0]
and ecx, eax
vmovsd xmm2, qword [ebp - 0x50]
bsf ecx, ecx
vmovdqu ymmword [ebp - 0x40], ymm0
mov eax, ecx
mov dword [ebp - 0x48], ecx
shr eax, 3
mov eax, dword [ebp + eax*8 - 0x40]
shl eax, 5
add eax, ecx
add eax, dword [ebp - 0x44]
vzeroupper
cmp esi, edi
je 0x417cb6
nop dword [eax]
movsd xmm0, qword [esi]
comisd xmm0, xmm2
jbe 0x417caf
mov eax, esi
movaps xmm2, xmm0
add esi, 8
cmp esi, edi
jne 0x417ca0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00442dcd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x424199
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x4241c0
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x4241c3
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00424175
pop esi
leave
ret 8

Function at 0x43254a
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x43256d
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x43255b
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4424f8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00455103
mov eax, dword [eax + 0x14]
test eax, eax
je 0x44253b
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x44253b
sub eax, 1
je 0x442536
sub eax, 1
je 0x442532
xor eax, eax
leave
ret
push 3
jmp 0x44253d
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x443598
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4435cd
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4435ca
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x4435d6
add edx, 0x28
cmp edx, esi
jne 0x4435b8
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4435d3

Function at 0x444615
Capabilities:
Parse pe header

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

Function at 0x4809f4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a5974
push 0x4a596c
push str.FlsAlloc
push 0x1e
call fcn.004806c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x480a28
push dword [ebp + 8]
mov ecx, esi
call dword [0x49f1cc]
call esi
jmp 0x480a2e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x480a72
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4a5984
push 0x4a597c
push str.FlsGetValue
push 0x20
call fcn.004806c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x480aa9
push dword [ebp + 8]
mov ecx, esi
call dword [0x49f1cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x482b06
Capabilities:
Read file on windows

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

Function at 0x483034
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00444790
mov eax, dword [0x4b2100]
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.00481457
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x483076
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4831d2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0049a620
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 + 0x4b6b60]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004845ad
mov ecx, dword [esi*4 + 0x4b6b60]
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 0x4831cb
cmp eax, dword [edi + ecx + 0x24]
jne 0x4831cb
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 0x4831cb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004845ad
add esp, 0x14
test edx, edx
jl 0x4831cb
jg 0x483141
test eax, eax
jb 0x4831cb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4831cb
jl 0x48315b
cmp dword [ebp - 0x1008], eax
ja 0x4831cb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x483179
test ebx, ebx
je 0x4831b2
cmp ecx, edi
jae 0x4831b2
mov al, byte [ecx]
cmp al, 0xd
jne 0x483193
lea eax, [edi - 1]
cmp ecx, eax
jae 0x48319f
cmp byte [ecx + 1], 0xa
jne 0x48319f
inc ecx
jmp 0x48319f
movzx eax, al
movsx eax, byte [eax + 0x4b23d8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x483179
cmp edx, ebx
jne 0x483179
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4831d0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00442dcd
leave
ret
Function at 0x483750
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 + 0x4b6b60]
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 0x483790
cmp byte [ebx], 0xa
jne 0x483790
or byte [eax + edi + 0x28], 4
jmp 0x483795
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x483893
mov al, byte [edx]
cmp al, 0x1a
je 0x483875
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4837c4
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4837e9
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4837f3
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 0x4837a6
jmp 0x483893
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 0x483870
cmp dword [ebp - 0xc], 0
je 0x483870
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4b6b60]
test byte [eax + edi + 0x28], 0x48
je 0x48384a
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x483835
mov byte [esi], dl
jmp 0x483846
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4b6b60]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x483893
cmp byte [ebp - 1], 0xa
jne 0x483859
cmp esi, ebx
jne 0x483859
mov byte [esi], 0xa
jmp 0x483892
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004845cb
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x483893
mov byte [esi], 0xd
jmp 0x483892
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4b6b60]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48388f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x483893
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x48389c
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 + 0x4b6b60]
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 0x4838df
cmp word [esi], dx
jne 0x4838df
or byte [edi + eax + 0x28], 4
jmp 0x4838e4
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 0x483a1d
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 0x4839fd
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x483926
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x48395c
cmp eax, edx
jae 0x483968
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 0x4838fe
jmp 0x483a1d
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 0x4839f9
cmp dword [ebp - 0x14], 0
je 0x4839f9
mov eax, dword [ebx*4 + 0x4b6b60]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4839d1
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x483a17
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4b6b60]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x4b6b60]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4b6b60]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x483a1a
pop ebx
cmp word [ebp - 4], bx
jne 0x4839e2
cmp esi, dword [ebp + 0xc]
jne 0x4839e2
mov word [esi], bx
jmp 0x483a1a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004845cb
add esp, 0x10
cmp word [ebp - 4], bx
je 0x483a1d
push 0xd
jmp 0x483a16
mov ecx, dword [ebx*4 + 0x4b6b60]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x483a14
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x483a1d
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 0x489866
Capabilities:
Print debug messages

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