joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57ee06
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov ebx, edi
call fcn.0057f076
lea esi, [esp + 0x10]
test al, al
je 0x57ee41
push 0x42102e
call fcn.0057f168
mov esi, eax
cmp esi, 0xc0000452
jne 0x57ee4d
lea esi, [esp + 0x10]
push 0x421070
call fcn.0057f168
mov esi, eax
test esi, esi
js 0x57eeef
push edi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], edi
call dword [fcn.00423718]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call dword [0x423614]
mov esi, eax
cmp esi, 0xc0000023
je 0x57ee8f
test esi, esi
js 0x57eef3
mov esi, 0xc0000001
jmp 0x57eef3
mov eax, dword [esp + 0x14]
add eax, 2
push eax
mov eax, dword fs:[0x30]
push 0
push dword [eax + 0x18]
call dword [fcn.004236c8]
mov edi, dword [esp + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x57eeb9
mov esi, 0xc000009a
jmp 0x57eef3
mov ax, word [esp + 0x14]
mov word [esp + 0x1a], ax
push 0
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x28], ebx
call dword [0x423614]
mov esi, eax
test esi, esi
js 0x57eef3
movzx eax, word [esp + 0x18]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2], cx
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x57eef3
mov edi, dword [esp + 0x10]
test edi, edi
je 0x57eefe
push edi
call dword [0x4236ec]
test esi, esi
jns 0x57ef18
test ebx, ebx
je 0x57ef18
mov eax, dword fs:[0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [fcn.004236cc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x580a84
Capabilities:
Parse pe header

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

Function at 0x580ac4
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x580b02
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x580afa
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x580b04
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x580aea
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x596322
Capabilities:
Get process heap flags
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1014420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
call fcn.0059725a
test al, al
jne 0x59634d
xor eax, eax
jmp 0x596498
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x100d6d0
push 0x100d6aa
push esi
call fcn.00596a72
mov ebx, dword [0x10011a0]
test eax, eax
jl 0x59647d
cmp dword [ebp - 0x40], 4
jb 0x59647d
push dword [ebp - 0x3c]
shr dword [ebp - 0x40], 1
call fcn.005908ea
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x100d674
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.00590934
add esp, 0x1c
cmp eax, 3
jne 0x59647d
cmp dword [ebp - 0x54], esi
jne 0x59647d
cmp dword [ebp - 0x4c], esi
jne 0x59647d
cmp dword [ebp - 0x48], esi
jne 0x59647d
lea eax, [ebp - 0x50]
push eax
push 0x100d632
call fcn.00596bbe
test eax, eax
jl 0x59647d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [ebp - 0x3c]
push esi
push dword [eax + 0x18]
call ebx
mov edx, dword [ebp - 0x50]
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
pop ecx
xor eax, eax
push 0x28
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.00597166
cmp eax, esi
pop edi
jge 0x596438
cmp eax, 0xc000003a
jmp 0x59643c
cmp dword [ebp - 0x1c], 7
jne 0x59647d
push 0x100d5f0
lea eax, [ebp - 0x74]
push eax
call dword [0x10011ac]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
push 0x20001
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x6c], 0x18
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], pe_nt_image_headers32
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call dword [0x1001188]
cmp dword [ebp - 0x3c], esi
je 0x596494
push dword [ebp - 0x3c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call ebx
mov eax, dword [ebp - 0x44]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00590727
leave
ret
Function at 0x5964d6
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [0x10011ac]
push edi
push 0x100d632
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x20001
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], pe_nt_image_headers32
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [0x1001188]
mov ebx, eax
cmp ebx, edi
jge 0x596552
cmp ebx, 0xc0000017
je 0x5965e6
cmp ebx, 0xc000009a
je 0x5965e6
mov ebx, 0xc0000452
jmp 0x5965e6
push dword [ebp - 4]
call fcn.005964aa
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], edi
call esi
mov esi, dword [0x100118c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, 0xc0000023
je 0x59658f
cmp ebx, edi
jl 0x5965e6
mov ebx, 0xc0000001
jmp 0x5965e6
mov eax, dword fs:[0x18]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
add ecx, 2
push ecx
push edi
push dword [eax + 0x18]
call dword [0x10011a4]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x5965b7
mov ebx, 0xc000009a
jmp 0x5965e6
mov dword [ebp - 0x10], eax
mov ax, word [ebp - 0xc]
mov word [ebp - 0x12], ax
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, edi
jl 0x5965e6
movzx ecx, word [ebp - 0x14]
mov eax, dword [ebp - 8]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp - 4], edi
je 0x5965f4
push dword [ebp - 4]
call dword [0x10011b4]
cmp ebx, edi
jge 0x596613
cmp dword [ebp - 8], edi
je 0x596613
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [0x10011a0]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x596a72
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0xc]
mov dword [eax], ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [0x10011ac]
cmp dword [ebp + 0x10], ebx
je 0x596ac0
lea eax, [ebp - 4]
push eax
push 0x20019
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.005969fa
mov edi, eax
cmp edi, ebx
jl 0x596b85
jmp 0x596ac6
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10011c8]
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov edi, eax
cmp edi, 0xc0000023
je 0x596afa
cmp edi, ebx
jl 0x596b84
mov edi, 0xc0000001
jmp 0x596b84
mov eax, dword fs:[0x18]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
mov ebx, dword [0x10011a4]
call ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x596b65
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0xc]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov edi, eax
test edi, edi
jl 0x596b84
mov esi, dword [ebp - 8]
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0x14]
je 0x596b44
mov edi, 0xc0000024
jmp 0x596b84
sub dword [ebp + 0xc], 0xc
mov eax, dword fs:[0x18]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
xor edi, edi
push edi
push dword [eax + 0x18]
call ebx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp eax, edi
jne 0x596b6c
mov edi, 0xc000009a
jmp 0x596b84
push dword [ebp + 0xc]
add esi, 0xc
push esi
push eax
call fcn.00590704
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
pop esi
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
je 0x596b94
push eax
call dword [0x10011b4]
cmp dword [ebp - 8], 0
je 0x596bb1
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [0x10011a0]
mov eax, edi
pop edi
pop ebx
leave
ret 0x18
Function at 0x596bbe
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [0x10011ac]
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call edi
mov ebx, dword [0x1001188]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call ebx
cmp eax, esi
jl 0x596d19
push esi
lea eax, [ebp - 0x10]
push eax
call edi
xor edi, edi
mov dword [ebp - 8], esi
jmp 0x596c65
cmp dword [ebp - 0xc], esi
je 0x596c40
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [0x10011a0]
mov eax, dword [ebp - 8]
lea edi, [eax + 2]
mov word [ebp - 0xe], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push esi
push dword [eax + 0x18]
call dword [0x10011a4]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x596cde
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [0x100118c]
mov dword [ebp + 8], eax
cmp eax, 0xc0000023
je 0x596c25
push dword [ebp - 4]
call dword [0x10011b4]
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
jl 0x596cfb
movzx eax, word [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov word [ebp - 0xe], di
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
jge 0x596c65
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp + 8], esi
jmp 0x596ce5
mov dword [ebp + 8], 0xc000009a
cmp dword [ebp - 4], esi
je 0x596cf6
push dword [ebp - 4]
call dword [0x10011b4]
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
jge 0x596d16
cmp dword [ebp - 0xc], esi
je 0x596d16
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [0x10011a0]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5adf22
Capabilities:
Get process heap flags
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1014420]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], esi
call fcn.005aee5a
test al, al
jne 0x5adf4d
xor eax, eax
jmp 0x5ae098
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 1
push 0x100d6d0
push 0x100d6aa
push esi
call fcn.005ae672
mov ebx, dword [0x10011a0]
test eax, eax
jl 0x5ae07d
cmp dword [ebp - 0x40], 4
jb 0x5ae07d
push dword [ebp - 0x3c]
shr dword [ebp - 0x40], 1
call fcn.005a84ea
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x100d674
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
call fcn.005a8534
add esp, 0x1c
cmp eax, 3
jne 0x5ae07d
cmp dword [ebp - 0x54], esi
jne 0x5ae07d
cmp dword [ebp - 0x4c], esi
jne 0x5ae07d
cmp dword [ebp - 0x48], esi
jne 0x5ae07d
lea eax, [ebp - 0x50]
push eax
push 0x100d632
call fcn.005ae7be
test eax, eax
jl 0x5ae07d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [ebp - 0x3c]
push esi
push dword [eax + 0x18]
call ebx
mov edx, dword [ebp - 0x50]
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
pop ecx
xor eax, eax
push 0x28
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.005aed66
cmp eax, esi
pop edi
jge 0x5ae038
cmp eax, 0xc000003a
jmp 0x5ae03c
cmp dword [ebp - 0x1c], 7
jne 0x5ae07d
push 0x100d5f0
lea eax, [ebp - 0x74]
push eax
call dword [0x10011ac]
lea eax, [ebp - 0x74]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
push eax
push 0x20001
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x6c], 0x18
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], pe_nt_image_headers32
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call dword [0x1001188]
cmp dword [ebp - 0x3c], esi
je 0x5ae094
push dword [ebp - 0x3c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call ebx
mov eax, dword [ebp - 0x44]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005a8327
leave
ret
Function at 0x5ae0d6
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [0x10011ac]
push edi
push 0x100d632
lea eax, [ebp - 0x14]
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push 0x20001
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], pe_nt_image_headers32
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [0x1001188]
mov ebx, eax
cmp ebx, edi
jge 0x5ae152
cmp ebx, 0xc0000017
je 0x5ae1e6
cmp ebx, 0xc000009a
je 0x5ae1e6
mov ebx, 0xc0000452
jmp 0x5ae1e6
push dword [ebp - 4]
call fcn.005ae0aa
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], edi
call esi
mov esi, dword [0x100118c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, 0xc0000023
je 0x5ae18f
cmp ebx, edi
jl 0x5ae1e6
mov ebx, 0xc0000001
jmp 0x5ae1e6
mov eax, dword fs:[0x18]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
add ecx, 2
push ecx
push edi
push dword [eax + 0x18]
call dword [0x10011a4]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x5ae1b7
mov ebx, 0xc000009a
jmp 0x5ae1e6
mov dword [ebp - 0x10], eax
mov ax, word [ebp - 0xc]
mov word [ebp - 0x12], ax
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov ebx, eax
cmp ebx, edi
jl 0x5ae1e6
movzx ecx, word [ebp - 0x14]
mov eax, dword [ebp - 8]
shr ecx, 1
xor edx, edx
mov word [eax + ecx*2], dx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
cmp dword [ebp - 4], edi
je 0x5ae1f4
push dword [ebp - 4]
call dword [0x10011b4]
cmp ebx, edi
jge 0x5ae213
cmp dword [ebp - 8], edi
je 0x5ae213
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push dword [eax + 0x18]
call dword [0x10011a0]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x5ae672
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
push edi
push dword [ebp + 0xc]
mov dword [eax], ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [0x10011ac]
cmp dword [ebp + 0x10], ebx
je 0x5ae6c0
lea eax, [ebp - 4]
push eax
push 0x20019
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.005ae5fa
mov edi, eax
cmp edi, ebx
jl 0x5ae785
jmp 0x5ae6c6
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x10011c8]
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov edi, eax
cmp edi, 0xc0000023
je 0x5ae6fa
cmp edi, ebx
jl 0x5ae784
mov edi, 0xc0000001
jmp 0x5ae784
mov eax, dword fs:[0x18]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
mov ebx, dword [0x10011a4]
call ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x5ae765
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp + 0xc]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call esi
mov edi, eax
test edi, edi
jl 0x5ae784
mov esi, dword [ebp - 8]
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0x14]
je 0x5ae744
mov edi, 0xc0000024
jmp 0x5ae784
sub dword [ebp + 0xc], 0xc
mov eax, dword fs:[0x18]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
xor edi, edi
push edi
push dword [eax + 0x18]
call ebx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp eax, edi
jne 0x5ae76c
mov edi, 0xc000009a
jmp 0x5ae784
push dword [ebp + 0xc]
add esi, 0xc
push esi
push eax
call fcn.005a8304
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
pop esi
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
je 0x5ae794
push eax
call dword [0x10011b4]
cmp dword [ebp - 8], 0
je 0x5ae7b1
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [0x10011a0]
mov eax, edi
pop edi
pop ebx
leave
ret 0x18
Function at 0x5ae7be
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [0x10011ac]
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call edi
mov ebx, dword [0x1001188]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call ebx
cmp eax, esi
jl 0x5ae919
push esi
lea eax, [ebp - 0x10]
push eax
call edi
xor edi, edi
mov dword [ebp - 8], esi
jmp 0x5ae865
cmp dword [ebp - 0xc], esi
je 0x5ae840
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [0x10011a0]
mov eax, dword [ebp - 8]
lea edi, [eax + 2]
mov word [ebp - 0xe], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push esi
push dword [eax + 0x18]
call dword [0x10011a4]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x5ae8de
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [0x100118c]
mov dword [ebp + 8], eax
cmp eax, 0xc0000023
je 0x5ae825
push dword [ebp - 4]
call dword [0x10011b4]
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
jl 0x5ae8fb
movzx eax, word [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shr eax, 1
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov word [ebp - 0xe], di
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call ebx
test eax, eax
jge 0x5ae865
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [ebp + 8], esi
jmp 0x5ae8e5
mov dword [ebp + 8], 0xc000009a
cmp dword [ebp - 4], esi
je 0x5ae8f6
push dword [ebp - 4]
call dword [0x10011b4]
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
jge 0x5ae916
cmp dword [ebp - 0xc], esi
je 0x5ae916
push dword [ebp - 0xc]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push dword [eax + 0x18]
call dword [0x10011a0]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45c6f0
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x45c75a
push esi
lea edi, [eax + 0x400]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x45c72a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45c776
push ecx
push esi
call fcn.0045d960
add esp, 8
mov ebx, eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x45c7d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x45c7ee
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x45c7e3
pop esi
ret

Function at 0x45c840
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x45c8d2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x45c8c4
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x45c8bc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x45c885
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x5f0d67bc
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x6e13001d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219