joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4053b1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5a89a8
cmp edx, dword [eax]
je 0x4053d3
add eax, 8
inc ecx
cmp eax, 0x5a8a38
jl 0x4053c4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5a89a8]
jne 0x405501
mov eax, dword [0x5a9038]
cmp eax, 1
je 0x4054db
test eax, eax
jne 0x405404
cmp dword [0x5a88f8], 1
je 0x4054db
cmp edx, 0xfc
je 0x405501
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40543b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405960
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405ad0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40547e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405ad0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407390
push edi
call fcn.004045a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405960
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405970
lea eax, [ebp - 0xa0]
push 0x407370
push eax
call fcn.00405970
push dword [esi + 0x5a89ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405970
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004066ce
add esp, 0x2c
pop edi
jmp 0x405501
lea eax, [ebp + 8]
lea esi, [esi + 0x5a89ac]
push 0
push eax
push dword [esi]
call fcn.00405ad0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4101b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x586ba0
push 0x50ae80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [case.0x4a25e1.0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
xor bl, bl
test eax, eax
je 0x41036d
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41036d
cmp byte [eax], bl
je 0x41036d
test ecx, ecx
je 0x41036d
cmp byte [ecx], bl
je 0x41036d
test edi, edi
je 0x41036d
cmp dword [ebp + 0x18], 0
je 0x41036d
push ecx
call dword [0x5481b8]
test eax, eax
je 0x41036d
push 0
push 0x40
push edi
call fcn.004103c0
add esp, 0xc
test al, al
je 0x41036d
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x41036d
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [ebp - 0x24], esi
push 0
push 0xf8
push esi
call fcn.004103c0
add esp, 0xc
test al, al
je 0x41036d
cmp dword [esi], 0x4550
jne 0x41036d
mov esi, dword [esi + 0x80]
add esi, edi
cmp esi, dword [ebp - 0x24]
je 0x410393
mov edx, dword [ebp - 0x2c]
mov edi, edx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x4102b0
sub edi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4102df
add eax, dword [ebp - 0x20]
push edi
push edx
push eax
call fcn.0041062e
add esp, 0xc
test eax, eax
je 0x4102df
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
mov edx, dword [ebp - 0x2c]
jne 0x4102c0
cmp dword [esi + 0xc], 0
je 0x410393
mov esi, dword [esi + 0x10]
add esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
test eax, eax
je 0x41036d
cmp eax, ecx
jne 0x41038b
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x80
push 4
push esi
mov edi, dword [0x54835c]
call edi
test eax, eax
je 0x41036d
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
xchg dword [esi], eax
mov bl, 1
mov byte [ebp - 0x25], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x41035a
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 4
push esi
call edi
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004016a0
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x4102f2
xor al, al
jmp 0x41036f
Function at 0x410c10
Capabilities:
Encode data using xor

Disassembly:
mov ch, 1
mov dh, 0x6c
movsd dword es:[edi], dword [esi]
out dx, al
xchg dword [ecx + 0x21], edx
in al, 0x58
pushal
wait
mov edx, 0x6d2b2d0c
mov byte [0xc4bb7ec4], al
and eax, 0x802472b
jl 0x410c78
scasb al, byte es:[edi]
adc esi, dword [esi + 0x42427ce1]
sub dh, al
sbb byte [esi - 0x31], dl
inc ecx
xor al, 0xb6
pop bp
mov dh, 0x74
jnp 0x410c39
push esi
iretd
push esi
xor esp, dword [edx]
das
and dh, byte [esi]
mov dl, 0x4b
mov byte [0xf5d8954a], al
cmpsb byte [esi], byte es:[edi]
mov ss, word [edx + 0x31]
add byte [edx], 0x4d
xor byte [edx + 0x1024902], al
add dword [eax], esi
add dword [esi + 0xb317230], 0x3060930
push ebp
add al, 6
adc eax, dword [edx]
push ebp
push ebx
xor dword [0x3061330], edx
push ebp
add al, 0xa
adc ecx, dword [esp + eax*2]
imul esp, dword [edi + 0x69], 0x74726543
and byte [ecx + 0x6e], cl
arpl word [ecx], si
sbb dword [eax], esi
pop ss
push es
add edx, dword [ebp + 4]
or edx, dword [ebx]
adc byte [edi + 0x77], dh
ja 0x410cc5
imul esp, dword fs:[edi + 0x69], 0x74726563
arpl word cs:[edi + 0x6d], bp
xor dword [ecx], esi
xor byte [edi], ch
push es
add edx, dword [ebp + 4]
add edx, dword [ebx]
sub byte [ecx + ebp*2 + 0x67], al
imul eax, dword [ebx + 0x65], 0x53207472
dec eax
inc ecx
xor ah, byte [eax]
inc ecx
jae 0x410d32
jne 0x410d33
and byte fs:[ecx + 0x44], cl
inc esp
and byte [ecx + ebp*2 + 0x6d], dl
jae 0x410d41
popal
insd dword es:[edi], dx
jo 0x410d3a
outsb dx, byte [esi]
and byte [bp + di + 0x41], al
add dl, byte [eax]
or eax, 0xbee04a42
cmp cl, byte [eax + 0x214060ff]
into
adc al, 0
invalid
or eax, 0x32303132
xor dh, byte [ecx + esi]
xor eax, 0x33333530
xor ebx, dword [edx + 0x30]
sub eax, dword [esi]
pop edx
xor byte [ebx], ch
push es
or ebp, dword [edx]
xchg byte [eax - 0x7a], cl
test dword [0x2100901], 0x301c310c
dec eax
xchg bh, dh
or eax, 0x2100901
or al, 0x31
add cl, byte [ecx + esi]
sbb al, 0x30
sbb dh, byte [eax]
sbb byte [eax], dh
push ss
add al, 0x14
loope 0x410d26
sub byte [eax - 0x10416e1f], 0x6b
retf 0x9116

Function at 0x427538
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x42756b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42756b
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x42756b
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x42756b
mov al, 1
ret
xor al, al
ret
Function at 0x428348
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, dword [edi]
push dword [edx + 0x78]
call dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42841a
mov ecx, dword [edi + 4]
mov esi, dword [edi]
mov edx, dword [ecx + 0x3c]
push dword [edx + ecx + 0x78]
mov ecx, edi
call dword [esi]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x42841a
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x42843f
mov eax, dword [edi]
mov ecx, edi
push dword [ebx + 0x20]
call dword [eax]
mov ecx, dword [ebx + 0x18]
mov edx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edx
lea ebx, [eax + ecx*4]
cmp eax, ebx
je 0x42841a
nop dword [eax + eax]
mov eax, ebx
sub eax, edx
sar eax, 2
mov eax, eax
test eax, eax
jns 0x4283c8
add eax, 1
sar eax, 1
push dword [edx + eax*4]
lea esi, [edx + eax*4]
mov ecx, edi
mov eax, dword [edi]
mov dword [ebp - 8], esi
call dword [eax]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
test dl, dl
je 0x4283fd
mov esi, dword [ebp + 8]
mov cl, dl
sub esi, eax
mov dl, cl
cmp cl, byte [eax]
jne 0x4283fa
mov cl, byte [esi + eax + 1]
inc eax
mov dl, cl
test cl, cl
jne 0x4283e9
mov esi, dword [ebp - 8]
movzx eax, byte [eax]
movzx ecx, dl
sub ecx, eax
je 0x428425
test ecx, ecx
lea edx, [esi + 4]
cmovle edx, dword [ebp - 4]
cmovle ebx, esi
mov dword [ebp - 4], edx
cmp edx, ebx
jne 0x4283b8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0xc]
mov ecx, edi
mov eax, dword [edi]
push dword [ebx + 0x24]
call dword [eax]
sub esi, dword [ebp - 0x10]
sar esi, 2
mov ax, word [eax + esi*2]
add ax, word [ebx + 0x10]
mov ebx, dword [ebp - 0x14]
mov ecx, edi
movzx esi, ax
mov eax, dword [edi]
push dword [ebx + 0x1c]
call dword [eax]
movzx ecx, si
sub ecx, dword [ebx + 0x10]
pop edi
pop esi
pop ebx
lea eax, [eax + ecx*4]
mov esp, ebp
pop ebp
ret 4
Function at 0x435708
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x586ba0
push 0x50ae80
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [case.0x4a25e1.0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
xor bl, bl
test eax, eax
je 0x4358c5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4358c5
cmp byte [eax], bl
je 0x4358c5
test ecx, ecx
je 0x4358c5
cmp byte [ecx], bl
je 0x4358c5
test edi, edi
je 0x4358c5
cmp dword [ebp + 0x18], 0
je 0x4358c5
push ecx
call dword [0x5481b8]
test eax, eax
je 0x4358c5
push 0
push 0x40
push edi
call fcn.00435918
add esp, 0xc
test al, al
je 0x4358c5
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4358c5
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [ebp - 0x24], esi
push 0
push 0xf8
push esi
call fcn.00435918
add esp, 0xc
test al, al
je 0x4358c5
cmp dword [esi], 0x4550
jne 0x4358c5
mov esi, dword [esi + 0x80]
add esi, edi
cmp esi, dword [ebp - 0x24]
je 0x4358eb
mov edx, dword [ebp - 0x2c]
mov edi, edx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x435808
sub edi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x435837
add eax, dword [ebp - 0x20]
push edi
push edx
push eax
call fcn.00435b86
add esp, 0xc
test eax, eax
je 0x435837
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
mov edx, dword [ebp - 0x2c]
jne 0x435818
cmp dword [esi + 0xc], 0
je 0x4358eb
mov esi, dword [esi + 0x10]
add esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
test eax, eax
je 0x4358c5
cmp eax, ecx
jne 0x4358e3
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x80
push 4
push esi
mov edi, dword [0x54835c]
call edi
test eax, eax
je 0x4358c5
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
xchg dword [esi], eax
mov bl, 1
mov byte [ebp - 0x25], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x4358b2
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 4
push esi
call edi
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00426bf8
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x43584a
xor al, al
jmp 0x4358c7
Function at 0x474228
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bf0e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0042b428
mov dword [edi], eax
lea esi, [edi + 0x10]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042b428
mov dword [esi], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
lea eax, [edi + 0x38]
mov byte [ebp - 4], 2
push eax
call dword [0x548290]
mov dword [edi + 8], 0
mov eax, edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47a938
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537eb0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0042b3c1
mov edi, eax
add esp, 4
test edi, edi
je 0x47a9ea
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0047aa02
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x486028
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d3b6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x30]
mov byte [edi], 0
mov dword [edi + 4], 0
mov ecx, esi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x2c], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042b428
mov dword [esi], eax
lea esi, [edi + 0x54]
mov dword [edi + 0x50], 0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042b428
mov dword [esi], eax
mov esi, dword [0x548290]
lea eax, [edi + 0x38]
push eax
mov byte [ebp - 4], 1
call esi
lea eax, [edi + 0x14]
push eax
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x488288
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d5cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x38]
mov ecx, esi
mov dword [esi], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.0042b428
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 7
mov dword [ebp - 4], 0
mov word [edi + 0x40], ax
xor ecx, ecx
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], 7
mov word [edi + 0x58], cx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], 7
mov word [edi + 0x70], ax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x14]
push eax
mov byte [ebp - 4], 3
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], ecx
mov dword [edi], ecx
mov byte [edi + 0xc], cl
mov byte [edi + 0x88], cl
mov dword [edi + 0x8c], ecx
mov dword [edi + 0x90], ecx
call dword [0x548290]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x488371
mov edx, esi
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x488358
sub edx, ecx
lea ecx, [edi + 0x40]
sar edx, 1
push edx
push esi
call fcn.0042cbb8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x488396
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x48837d
sub edx, ecx
lea ecx, [edi + 0x58]
sar edx, 1
push edx
push esi
call fcn.0042cbb8
call fcn.00487de8
cmp eax, 0x68
jl 0x4883d3
push 0x548a1c
call dword [0x54820c]
mov ebx, eax
test ebx, ebx
je 0x4883d3
mov esi, dword [0x5482f8]
push 0x548a38
push ebx
call esi
push 0x548a54
push ebx
mov dword [edi + 0x8c], eax
call esi
mov dword [edi + 0x90], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cbcd8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540cb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0xc]
mov dword [edi], 0x563800
mov word [edi + 4], 0
mov ecx, esi
mov byte [edi + 6], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042b428
mov dword [esi], eax
lea eax, [edi + 0x14]
push eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call dword [0x548290]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4df1a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5425c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0042b3c1
mov edi, eax
add esp, 4
test edi, edi
je 0x4df24c
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0047aa02
add esp, 4
mov dword [edi + 4], eax
jmp 0x4df24e
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0048d0e8
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4df2af
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4df2af
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x4df316
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
je 0x4df316
push 1
test cl, 4
jne 0x4df339
test cl, 2
je 0x4df2f2
lea eax, [ebp - 0x14]
push eax
call fcn.0048be68
add esp, 8
push eax
push 0x548dd8
jmp 0x4df34b
lea eax, [ebp - 0x1c]
push eax
call fcn.0048be68
add esp, 8
lea ecx, [ebp - 0x44]
push eax
push 0x548df0
call fcn.0048a168
push 0x58d09c
lea eax, [ebp - 0x44]
jmp 0x4df35b
cmp byte [ebp + 0xc], 0
je 0x4df325
push esi
call fcn.0052d323
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x14]
push eax
call fcn.0048be68
add esp, 8
push eax
push 0x548dc0
lea ecx, [ebp - 0x30]
call fcn.0048a168
push 0x58d09c
lea eax, [ebp - 0x30]
push eax
call fcn.0052f26d
int3
Function at 0x501478
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543758
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x5015a3
cmp byte [ebx + 0x3d], 0
je 0x5015a3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x5014cc
xor al, al
jmp 0x5015a5
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00492f78
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
nop
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x50153b
sub eax, 1
je 0x50153f
sub eax, 2
je 0x501595
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.0042ef68
mov al, bl
jmp 0x5015a5
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x501577
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0053f3b2
add esp, 0x10
cmp esi, eax
jne 0x50152d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x501595
test esi, esi
jne 0x5014f8
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.005018f8
jmp 0x5014f1
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.0042ef68
mov al, bl
jmp 0x5015a5
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00426bf8
mov esp, ebp
pop ebp
ret
Function at 0x529228
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54746c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [case.0x4a25e1.0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x574040
xor eax, eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 7
mov dword [ebp - 4], 0
mov word [edi + 0x1c], ax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 7
mov word [edi + 0x34], ax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 7
mov word [edi + 0x4c], ax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], al
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], al
mov dword [edi + 0xa4], eax
mov dword [edi + 0xa8], 0xf
mov byte [edi + 0x94], al
push 0x573fb8
mov byte [ebp - 4], 6
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], eax
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], eax
call fcn.0045bb78
add esp, 4
mov dword [edi + 0xe0], eax
test eax, eax
je 0x529410
push 8
call fcn.0042b3c1
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov esi, dword [0x5482f8]
mov byte [ebp - 4], 7
test ebx, ebx
je 0x5293b3
xorps xmm0, xmm0
push 0x574008
movq qword [ebx], xmm0
push dword [edi + 0xe0]
call esi
push 0x574050
push dword [edi + 0xe0]
mov esi, eax
call dword [0x5482f8]
mov dword [ebx + 4], esi
mov esi, dword [0x5482f8]
mov dword [ebx], eax
jmp 0x5293b5
xor ebx, ebx
push 0x574064
push dword [edi + 0xe0]
mov byte [ebp - 4], 6
mov dword [edi + 0xac], ebx
call esi
push 0x574074
push dword [edi + 0xe0]
mov dword [edi + 4], eax
call esi
mov ecx, dword [edi + 4]
mov dword [edi + 8], eax
test ecx, ecx
je 0x529410
test eax, eax
je 0x529410
push 0
call ecx
test eax, eax
mov eax, edi
js 0x52941c
mov dword [edi + 0xb8], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov dword [edi + 0xb8], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret