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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x401896
mov eax, dword [ebp + 0xc]
push 0
shl eax, 9
push eax
push ecx
call fcn.0042b9bb
add esp, 0xc
test eax, eax
jne 0x4018f2
push esi
push dword [edi + 4]
mov esi, dword [ebp + 0x10]
shl esi, 9
push esi
push 1
push ebx
call fcn.0042bbce
add esp, 0x10
cmp esi, eax
sete al
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265a4
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 8], 0xffffffff
je 0x4018f2
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004016d0
mov al, byte [ebp - 0x14]
push dword [ebp + 0x10]
mov cl, byte [ebp - 0x13]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0xc], al
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xd], cl
push ecx
mov ecx, edi
mov byte [ebp - 0x10], 0x40
mov byte [ebp - 0xb], 2
mov word [ebp - 9], 0xff0a
call fcn.00401710
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265a4
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.004265a4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x208]
mov esi, edx
push 0
push eax
mov edi, ecx
xor bl, bl
call fcn.00427c40
cmp byte [esi], bl
mov ecx, 0x1000
mov eax, 0xe00
mov dword [esi + 0x14], 0
push 0
cmovne eax, ecx
push eax
push edi
call fcn.0042b9bb
add esp, 0x18
test eax, eax
jne 0x40440e
push edi
push 0x200
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x40440e
lea ecx, [ebp - 0x208]
call fcn.00403ff0
movzx eax, word [ebp - 0xa]
movzx edi, byte [ebp - 0x10]
mov word [esi + 8], ax
movzx eax, byte [ebp - 0xc]
mov word [esi + 0xa], ax
movzx eax, word [ebp - 0xe]
lea ecx, [edi*2 + 4]
mov dword [ebp - 0x20c], 0x15c1
mov dx, word [ebp - 0x20c]
mov word [esi + 0xc], ax
mov dword [esi + 4], edi
test ecx, ecx
je 0x4043eb
lea eax, [ebp - 0xa]
add dx, word [eax]
lea eax, [eax - 2]
sub ecx, 1
jne 0x4043e0
lea eax, [edi*4]
lea ecx, [ebp - 0x12]
sub ecx, eax
cmp word [ecx], dx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265a4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
mov dword [esi + 0x14], 0xffffffff
xor ecx, ebp
pop esi
pop ebx
call fcn.004265a4
mov esp, ebp
pop ebp
ret
Function at 0x404430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x408]
mov byte [ebp - 0x409], 0
mov ebx, ecx
mov edi, edx
push 0
push eax
mov dword [ebp - 0x410], ebx
call fcn.00427c40
push 0x200
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.00427c40
cmp byte [edi], 0
mov ecx, 0x400
mov eax, 0x200
mov dword [edi + 0x14], 0
push 0
cmovne eax, ecx
push eax
push ebx
call fcn.0042b9bb
add esp, 0x24
test eax, eax
jne 0x40461e
push ebx
push 0x200
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x40461e
lea ecx, [ebp - 0x208]
call fcn.00403ff0
movzx edx, word [ebp - 0x206]
movzx eax, byte [ebp - 0x203]
movzx esi, byte [ebp - 0x204]
inc ax
mov dword [ebp - 0x414], edx
mov word [edi + 0xc], si
mov word [edi + 0xa], ax
test edx, edx
je 0x40460a
movzx ecx, ax
imul ecx, esi
cmp edx, ecx
jne 0x40460a
push 2
push 0
push ebx
call fcn.0042b9bb
push ebx
call fcn.0043196d
push 0
push 0
push ebx
mov esi, eax
call fcn.0042b9bb
xor ecx, ecx
add esp, 0x1c
cmp byte [edi], cl
mov eax, esi
cdq
setne cl
and edx, 0x1ff
add eax, edx
sar eax, 9
sub eax, ecx
cdq
idiv dword [ebp - 0x414]
movzx eax, ax
mov word [edi + 8], ax
test edx, edx
je 0x40455d
inc eax
mov word [edi + 8], ax
xor esi, esi
mov byte [edi + 1], 1
lea eax, [ebp - 0x200]
lea ebx, [esi + 2]
nop dword [eax]
movzx ecx, word [eax + esi*4]
movzx eax, word [ebp + esi*4 - 0x202]
shl ecx, 0x10
or ecx, eax
je 0x404607
xor eax, eax
cmp byte [edi], al
push 0
setne al
add eax, ecx
shl eax, 9
push eax
push dword [ebp - 0x410]
call fcn.0042b9bb
add esp, 0xc
test eax, eax
jne 0x404603
push dword [ebp - 0x410]
lea eax, [ebp - 0x408]
push 0x200
push 1
push eax
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x404603
lea ecx, [ebp - 0x408]
call fcn.00403ff0
cmp word [ebp - 0x408], bx
jne 0x404603
inc esi
lea eax, [ebp - 0x200]
inc ebx
cmp esi, 0x40
jl 0x404570
mov al, byte [edi + 1]
mov dword [edi + 4], esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265a4
mov esp, ebp
pop ebp
ret
mov byte [edi + 1], 0
mov dword [edi + 4], esi
mov al, byte [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265a4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x409]
xor ecx, ebp
mov dword [edi + 0x14], 0xffffffff
pop edi
pop esi
pop ebx
call fcn.004265a4
mov esp, ebp
pop ebp
ret
Function at 0x406810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push edi
push 0x200
push 1
push 0x461cb0
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x406984
call fcn.00404060
test al, al
je 0x40684b
mov byte [esi], 1
jmp 0x40685b
push 0
push 0
push edi
mov byte [esi], 0
call fcn.0042b9bb
add esp, 0xc
movups xmm0, xmmword [esi]
lea edx, [ebp - 0x18]
mov ecx, edi
movups xmmword [ebp - 0x18], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 8], xmm0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x20], xmm0
call fcn.00404320
cmp dword [ebp - 4], 0xffffffff
je 0x40698b
test al, al
je 0x4068cd
movups xmm0, xmmword [ebp - 0x18]
mov bl, 1
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 8]
movq qword [esi + 0x10], xmm0
cmp byte [0x45fef1], 0
je 0x40697b
mov edx, 0x461ee0
mov ecx, 0x461ec8
call fcn.00406790
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x30]
mov ecx, edi
call fcn.00404430
cmp dword [ebp - 0x1c], 0xffffffff
je 0x40698b
test al, al
je 0x406919
movups xmm0, xmmword [ebp - 0x30]
mov bl, 1
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
cmp byte [0x45fef0], 0
je 0x40697b
mov edx, 0x461ec8
mov ecx, 0x461ee0
call fcn.00406790
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor bl, bl
cmp byte [0x45fef0], bl
je 0x40694f
mov ecx, 0x461ec8
call fcn.004067d0
movups xmm0, xmmword [ebp - 0x18]
mov byte [0x45fef1], bl
mov bl, 1
mov al, bl
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 8]
movq qword [esi + 0x10], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x45fef1], bl
je 0x40697b
mov ecx, 0x461ee0
call fcn.004067d0
movups xmm0, xmmword [ebp - 0x30]
mov byte [0x45fef1], 1
mov bl, 1
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x14], 0xffffffff
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4069a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
mov byte [ebp - 1], 0
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov esi, ecx
mov dword [ebp - 8], ebx
mov ecx, 0x1000
mov dword [ebp - 0x14], esi
cmp byte [edi], bl
mov eax, 0xe00
push ebx
cmovne eax, ecx
mov dword [edi + 0x14], ebx
push eax
push esi
call fcn.0042b9bb
add esp, 0xc
test eax, eax
jne 0x406b3d
push esi
push 0x200
push 1
push 0x461cb0
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x406b3d
mov ecx, 0x461cb0
call fcn.00403ff0
mov eax, dword [edi + 4]
xor esi, esi
test eax, eax
jle 0x406b07
mov ecx, 0x461ea4
mov dword [ebp - 0xc], ecx
movzx ebx, word [ecx + 2]
movzx edi, word [edi + 0xa]
mov eax, ebx
not eax
test bx, bx
movzx ecx, ax
mov eax, ebx
cmovns ecx, eax
mov eax, dword [ebp - 0x10]
movzx edx, cx
mov ecx, edx
and edx, 0xf
shr ecx, 4
movzx eax, word [eax + 0xc]
imul edi, ecx
add edi, edx
imul edi, eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
push eax
push edi
push edx
push ecx
mov dword [ebp - 0x18], eax
lea eax, [esi + 0x43]
push eax
push esi
push str.part__d::__c:_cyl___d_thd___d_tsec__1_tlba___ld_tlen___d
call fcn.0040b0e0
shr bx, 0xf
mov ecx, str.__WP__n
test bl, bl
mov eax, str._____n
cmovne eax, ecx
push eax
call fcn.0040b0e0
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov ebx, dword [ebp - 0x14]
push 0
cmp byte [ecx], al
setne al
add eax, edi
shl eax, 9
push eax
push ebx
call fcn.0042b9bb
add esp, 0x2c
test eax, eax
jne 0x406ad5
push dword [ebp - 0x18]
mov edx, esi
mov ecx, ebx
call fcn.00406e70
add esp, 4
mov byte [ebp - 1], al
test al, al
jne 0x406aec
push esi
push 0x45735c
call fcn.0040b0e0
mov ebx, dword [ebp - 8]
add esp, 8
inc ebx
mov dword [ebp - 8], ebx
jmp 0x406aef
push esi
push 0x4573a0
call fcn.0040b0e0
mov ebx, dword [ebp - 8]
add esp, 8
inc ebx
mov dword [ebp - 8], ebx
jmp 0x406aef
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
inc esi
mov ecx, dword [ebp - 0xc]
sub ecx, 4
mov dword [ebp - 0xc], ecx
mov eax, dword [edi + 4]
cmp esi, eax
jl 0x406a20
sub eax, ebx
push eax
push 0x4573e8
call fcn.0040b0e0
add esp, 8
test ebx, ebx
je 0x406b33
push ebx
push 0x457428
call fcn.0040b0e0
mov al, byte [ebp - 1]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x14], 0xffffffff
mov eax, 0x461ec8
cmp dword [0x461edc], 7
cmova eax, dword [0x461ec8]
push eax
push 0x457460
call fcn.0040b0e0
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x45f040]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
push 0x200
xor edi, edi
mov dword [esp + 0x14], edx
lea eax, [esp + 0x24]
mov esi, ecx
push edi
push eax
mov dword [esp + 0x20], esi
xor bl, bl
call fcn.00427c40
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, 0x400
mov eax, 0x200
cmp byte [ecx], bl
push edi
cmovne eax, edx
mov dword [ecx + 0x14], edi
push eax
push esi
call fcn.0042b9bb
add esp, 0xc
test eax, eax
jne 0x406d9a
push esi
push 0x200
push 1
push 0x461cb0
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x406d9a
mov ecx, 0x461cb0
call fcn.00403ff0
mov edx, dword [esp + 0x10]
xor esi, esi
mov eax, dword [edx + 4]
test eax, eax
jle 0x406d7e
nop dword [eax]
nop word [eax + eax]
movzx ecx, word [esi*4 + 0x461cb8]
movzx eax, word [esi*4 + 0x461cb6]
shl ecx, 0x10
or ecx, eax
xor eax, eax
cmp byte [edx], al
push 0
setne al
mov dword [esp + 0x1c], ecx
add eax, ecx
shl eax, 9
push eax
push dword [esp + 0x1c]
call fcn.0042b9bb
add esp, 0xc
test eax, eax
jne 0x406d5f
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push 0x200
push 1
push eax
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x406d57
lea ecx, [esp + 0x20]
call fcn.00403ff0
movzx eax, word [esp + 0x22]
mov bl, byte [esp + 0x24]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x28]
add eax, 0x41
push eax
push esi
push str.part__d::__c:_lba___ld_tlen___d_t
call fcn.0040b0e0
movzx eax, word [esp + 0x3e]
add esp, 0x14
push eax
movzx eax, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
push str.ldr_06o_bpar_06o_pg_06o__
call fcn.0040b0e0
add esp, 0x10
test bl, 1
je 0x406ce2
push str.BAD
call fcn.0040b0e0
add esp, 4
test bl, 2
je 0x406cf4
push 0x457550
call fcn.0040b0e0
add esp, 4
test bl, 4
je 0x406d06
push 0x457558
call fcn.0040b0e0
add esp, 4
test bl, 8
je 0x406d18
push str.FWP
call fcn.0040b0e0
add esp, 4
test bl, 0x10
je 0x406d2a
push str.FRP
call fcn.0040b0e0
add esp, 4
push 0x457578
call fcn.0040b0e0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, esi
push dword [esp + 0x1c]
call fcn.00406e70
mov bl, al
add esp, 4
test bl, bl
jne 0x406d6e
push esi
push 0x45735c
jmp 0x406d65
push esi
push 0x457580
jmp 0x406d65
push esi
push 0x4575d8
call fcn.0040b0e0
add esp, 8
inc edi
mov edx, dword [esp + 0x10]
inc esi
mov eax, dword [edx + 4]
cmp esi, eax
jl 0x406c20
sub eax, edi
push eax
push 0x4573e8
call fcn.0040b0e0
add esp, 8
test edi, edi
je 0x406dc6
push edi
push 0x457428
jmp 0x406dbe
mov eax, dword [esp + 0x10]
mov dword [eax + 0x14], 0xffffffff
mov eax, 0x461ee0
cmp dword [0x461ef4], 7
cmova eax, dword [0x461ee0]
push eax
push 0x457460
call fcn.0040b0e0
add esp, 8
mov ecx, dword [esp + 0x224]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004265a4
mov esp, ebp
pop ebp
ret
Function at 0x406e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bfab
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x45f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x2c8], ecx
push 0x200
lea eax, [ebp - 0x2c4]
mov bl, 1
push 0
push eax
call fcn.00427c40
add esp, 0xc
lea eax, [ebp - 0x94]
push 0x80
push 0
push eax
call fcn.00427c40
add esp, 0xc
lea eax, [ebp - 0x94]
push esi
push str._03d_part.bkd
push eax
call fcn.0040b0b0
add esp, 0xc
lea eax, [ebp - 0x94]
push 0x456ef8
push eax
call fcn.0042b566
mov esi, eax
add esp, 8
mov dword [ebp - 0x2cc], esi
test esi, esi
je 0x4070d1
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x406fa9
nop word [eax + eax]
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x2c4]
push 0x200
push 1
push eax
call fcn.0042bbce
add esp, 0x10
cmp eax, 0x200
jne 0x406f86
lea ecx, [ebp - 0x2c4]
call fcn.00403ff0
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x2c4]
push 0x200
push 1
push eax
call fcn.0042bfce
add esp, 0x10
cmp eax, 0x200
jne 0x406f78
inc esi
cmp esi, edi
jb 0x406f20
jmp 0x406fa9
lea eax, [ebp - 0x94]
push eax
push 0x457664
jmp 0x406f9f
cmp dword [0x45ff40], 7
mov eax, 0x45ff2c
cmova eax, dword [0x45ff2c]
push eax
push 0x4576a8
call fcn.0040b0e0
add esp, 8
xor bl, bl
push dword [ebp - 0x2cc]
call fcn.0042b6a2
add esp, 4
test bl, bl
je 0x4070d3
mov byte [ebp - 0x2c8], 0
lea edx, [ebp - 0x94]
push dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2e4]
call fcn.00408b20
lea eax, [ebp - 0x2e4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00402840
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2d0]
cmp ecx, 7
jbe 0x40703b
mov edx, dword [ebp - 0x2e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407031
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070f1
push ecx
push edx
call fcn.004265b2
add esp, 8
xor eax, eax
mov dword [ebp - 0x2d4], 0
push 0x4576ec
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
call fcn.0040b0e0
add esp, 4
lea ecx, [ebp - 0xc0]
call fcn.00406de0
cmp dword [ebp - 0x98], 7
lea eax, [ebp - 0xac]
mov dword [ebp - 0x9c], 0
cmova eax, dword [ebp - 0xac]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x98]
cmp ecx, 7
jbe 0x4070d3
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4070c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070f6
push ecx
push edx
call fcn.004265b2
add esp, 8
jmp 0x4070d3
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004265a4
mov esp, ebp
pop ebp
ret
call fcn.0042b45f
call fcn.0042b45f
int3
Function at 0x40d4e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x45f040]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x14]
push edi
push 0x200
push 0
push eax
mov dword [esp + 0x20], edx
mov ebx, ecx
mov byte [esp + 0x1f], 1
call fcn.00427c40
xor edi, edi
add esp, 0xc
cmp dword [ebp + 0xc], edi
jbe 0x40d5ff
nop word [eax + eax]
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00427c40
add esp, 0xc
push ebx
call fcn.0043233d
add esp, 4
test eax, eax
jne 0x40d566
push ebx
push 0x200
lea eax, [esp + 0x20]
push 1
push eax
call fcn.0042bbce
add esp, 0x10
push ebx
call fcn.00432369
add esp, 4
test eax, eax
jne 0x40d5ed
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push 0x200
push 1
push eax
call fcn.0042bfce
add esp, 0x10
cmp eax, 0x200
jne 0x40d5e6
mov ax, word [esi + 0x12]
inc ax
mov word [esi + 0x12], ax
cmp ax, word [esi + 0xc]
jne 0x40d5da
xor eax, eax
mov word [esi + 0x12], ax
mov ax, word [esi + 0x10]
inc ax
mov word [esi + 0x10], ax
cmp ax, word [esi + 0xa]
jne 0x40d5da
xor eax, eax
mov word [esi + 0x10], ax
mov ax, word [esi + 0xe]
inc ax
movzx ecx, ax
mov word [esi + 0xe], ax
cmp cx, word [esi + 8]
jbe 0x40d5da
mov word [esi + 8], cx
mov byte [esp + 0x13], 0
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x40d530
jmp 0x40d5ff
push 0x459158
jmp 0x40d5f2
push 0x459110
call fcn.0040b0e0
mov byte [esp + 0x17], 0
add esp, 4
push dword [esp + 0x14]
call fcn.00432845
mov ecx, dword [esp + 0x220]
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004265a4
mov esp, ebp
pop ebp
ret

Function at 0x40d926
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 0x40d94d
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x40d950
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.0040d902
pop esi
leave
ret 8

Function at 0x417cf4
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 0x417d17
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x417d05
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x425ef2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004328e2
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x425f31
sub eax, 1
je 0x425f2c
sub eax, 1
je 0x425f28
xor eax, eax
leave
ret
push 3
jmp 0x425f33
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret
Function at 0x427278
Capabilities:
Parse pe header

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

Function at 0x431766
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004274e0
mov eax, dword [0x45f040]
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.0043c487
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4317a8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x431904
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0044b820
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 + 0x461890]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0043c8da
mov ecx, dword [esi*4 + 0x461890]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4318fd
cmp eax, dword [ecx + edi + 0x24]
jne 0x4318fd
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4318fd
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0043c8da
add esp, 0x14
test edx, edx
jl 0x4318fd
jg 0x431873
test eax, eax
jb 0x4318fd
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4318fd
jl 0x43188d
cmp dword [ebp - 0x1008], eax
ja 0x4318fd
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4318ab
test ebx, ebx
je 0x4318e4
cmp ecx, edi
jae 0x4318e4
mov al, byte [ecx]
cmp al, 0xd
jne 0x4318c5
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4318d1
cmp byte [ecx + 1], 0xa
jne 0x4318d1
inc ecx
jmp 0x4318d1
movzx eax, al
movsx eax, byte [eax + 0x45f2e8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4318ab
cmp edx, ebx
jne 0x4318ab
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x431902
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004265a4
leave
ret
Function at 0x43cb48
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x461890]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43cb88
cmp byte [ebx], 0xa
jne 0x43cb88
or byte [edi + eax + 0x28], 4
jmp 0x43cb8d
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x43cc8c
mov dl, byte [eax]
cmp dl, 0x1a
je 0x43cc6f
inc eax
cmp dl, 0xd
je 0x43cbb9
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x43cbdf
cmp eax, ecx
jae 0x43cbed
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x43cba1
jmp 0x43cc8c
push 0
lea eax, [ebp - 0x10]
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 0x43cc6a
cmp dword [ebp - 0x10], 0
je 0x43cc6a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x461890]
test byte [eax + edi + 0x28], 0x48
je 0x43cc44
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x43cc2f
mov byte [esi], dl
jmp 0x43cc40
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x461890]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x43cc8c
cmp byte [ebp - 1], 0xa
jne 0x43cc53
cmp esi, ebx
jne 0x43cc53
mov byte [esi], 0xa
jmp 0x43cc8b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0043c8f8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x43cc8c
mov byte [esi], 0xd
jmp 0x43cc8b
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x461890]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x43cc89
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x43cc8c
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret