joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x14d0fa28
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x20000013
push dword [ebp + 8]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], ebx
call dword [0x14d12300]
test eax, eax
je 0x14d0fb16
cmp dword [ebp - 0xc], 0xc8
jne 0x14d0fb16
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [0x14d12158]
mov esi, eax
cmp esi, 0xffffffff
je 0x14d0fb16
mov byte [ebp - 1], bl
push ebx
push dword [ebp + 0x10]
call dword [0x14d12150]
test eax, eax
je 0x14d0fabc
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call dword [0x14d122ec]
test eax, eax
jne 0x14d0fac0
mov byte [ebp - 1], 1
cmp dword [ebp - 8], ebx
je 0x14d0faf0
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x210]
push eax
push esi
call dword [0x14d12190]
test eax, eax
je 0x14d0fae7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
je 0x14d0faeb
mov byte [ebp - 1], 1
cmp byte [ebp - 1], bl
je 0x14d0fa91
push esi
call dword [0x14d121a0]
push esi
call dword [0x14d12140]
cmp byte [ebp - 1], bl
je 0x14d0fb0c
push dword [ebp + 0xc]
call fcn.14d0eab6
pop ecx
xor eax, eax
cmp byte [ebp - 1], bl
sete al
jmp 0x14d0fb18
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x41ac0f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x41ac0f
lcall 0x5de5, 0x8b10c483
jmp fcn.0179b8d8
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..reloc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x75575744
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1195017
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x682db9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004386f0
mov al, byte [esp + 0xb]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [esi + 0x2c], al
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov cl, byte [esp + 0xb]
mov byte [esp + 0x18], 1
mov byte [esi + 0x3c], cl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dl, byte [esp + 0xb]
mov byte [esp + 0x18], 2
push 0xc
mov byte [esi + 0x64], dl
call fcn.00673b05
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ebx
or eax, 0xffffffff
lea edx, [esi + 0x80]
mov byte [esp + 0x18], 3
xor ecx, ecx
mov dword [esi], fcn.00401320
mov dword [esi + 0x70], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov word [esi + 0x58], 1
mov dword [esi + 0x5c], eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
lea edx, [esi + 0x90]
mov dword [esi + 0x90], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov byte [esi + 0xa0], 1
mov byte [esi + 0xac], bl
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esp + 0x18], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4011b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x682df9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], fcn.00401320
mov edx, dword [esi + 0x60]
mov dword [esp + 0x18], 3
test edx, edx
je 0x40120d
test esi, esi
je 0x40120d
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx]
cmp ecx, eax
je 0x40120d
cmp dword [eax + 8], esi
je 0x4011ff
mov eax, dword [eax]
cmp ecx, eax
jne 0x4011f2
jmp 0x40120d
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [edx + 0x64]
call fcn.005a80a0
lea ecx, [esi + 0xa4]
push ecx
mov ecx, dword [0x6e29b4]
call fcn.0044d410
mov ecx, dword [0x6e29b4]
lea edx, [esi + 0xa8]
push edx
call fcn.0044d410
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x401252
mov eax, dword [esi + 0x68]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40124b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x401238
push ebx
mov ebx, dword [esi + 0x68]
push ebp
lea ebp, [esi + 0x64]
mov edi, dword [ebx]
mov byte [esp + 0x20], 2
cmp edi, ebx
je 0x40127a
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.005a80a0
cmp edi, ebx
jne 0x401265
mov eax, dword [ebp + 4]
push eax
call fcn.006713a0
xor edi, edi
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov eax, dword [esi + 0x40]
pop ebp
cmp eax, edi
mov byte [esp + 0x1c], 1
pop ebx
je 0x4012b9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4012b0
cmp al, 0xff
je 0x4012b0
dec al
mov byte [ecx], al
jmp 0x4012b9
push ecx
call fcn.006713a0
add esp, 4
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov eax, dword [esi + 0x30]
cmp eax, edi
mov byte [esp + 0x18], 0
je 0x4012eb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4012e2
cmp al, 0xff
je 0x4012e2
dec al
mov byte [ecx], al
jmp 0x4012eb
push ecx
call fcn.006713a0
add esp, 4
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00438820
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4020b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov al, byte [esi + 0xa0]
test al, al
jne 0x4020cd
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov eax, dword [esi + 0x78]
test ah, 1
je 0x4020e1
mov dword [esp + 0x10], 0x20
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x74], 1
jne 0x40212e
test byte [esp + 0x18], 2
je 0x402103
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x34]
mov eax, edi
pop edi
pop esi
pop ebp
or al, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
mov ebx, dword [eax + 4]
mov ebp, dword [ecx + 4]
mov eax, dword [eax]
sub ebx, ebp
push ebx
mov ebx, dword [ecx]
sub eax, ebx
mov ecx, esi
push eax
call dword [edx + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebp
or al, 1
pop ebx
pop ecx
ret 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esi + 0x80]
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
cmp eax, ecx
jl 0x40215a
cmp eax, dword [esi + 0x88]
jg 0x40215a
cmp edx, dword [esi + 0x84]
jl 0x40215a
cmp edx, dword [esi + 0x8c]
jle 0x40218e
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
jl 0x40217f
cmp eax, dword [esi + 0x88]
jg 0x40217f
cmp edx, dword [esi + 0x84]
jl 0x40217f
cmp edx, dword [esi + 0x8c]
jle 0x402189
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
or edi, 8
jmp 0x4021a5
mov ecx, dword [0x6dfe24]
test ecx, ecx
je 0x4021a5
mov edx, dword [esi + 0x4c]
lea eax, [esi + 0x3c]
push edx
push eax
call fcn.0040fb80
mov eax, dword [esi + 0x50]
or edi, 4
test eax, eax
mov dword [esp + 0x10], edi
je 0x4021c7
mov cl, byte [eax + 0xa0]
test cl, cl
je 0x4021c7
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
mov eax, dword [esi + 0x68]
mov ebx, dword [esp + 0x18]
mov edi, dword [eax]
cmp eax, edi
je 0x4021f0
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x20]
push eax
push ebp
mov edx, dword [ecx]
push ebx
call dword [edx + 0x50]
test al, 1
jne 0x40222b
mov edi, dword [edi]
mov eax, dword [esi + 0x68]
cmp eax, edi
jne 0x4021d4
cmp dword [esi + 0x74], 1
je 0x402239
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
push ecx
lea eax, [esi + 0x90]
push edx
push eax
call dword [sym.imp.user32.dll_PtInRect]
test eax, eax
je 0x402239
test bl, 1
je 0x402239
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x34]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
or al, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
or al, 3
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x406e40
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x683298
push eax
mov eax, dword [0x6dfe20]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x406f34
mov eax, dword [0x6dfe84]
cmp eax, ebx
je 0x406f34
push ebp
push edi
push 0x200
push 0x6dfe98
push eax
call dword [sym.imp.user32.dll_GetWindowTextA]
mov al, byte [esp + 0xf]
mov edi, 0x6dfe98
mov byte [esp + 0x10], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ebx
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00403350
test al, al
je 0x406ee3
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
push esi
mov esi, 0x6dfe98
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
pop esi
mov byte [eax + ebp], bl
mov ecx, dword [0x6dfe20]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2c], ebx
mov edx, dword [ecx]
call dword [edx + 0x74]
mov eax, dword [esp + 0x14]
pop edi
cmp eax, ebx
mov dword [esp + 0x24], 0xffffffff
pop ebp
je 0x406f34
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x406f2b
cmp al, 0xff
je 0x406f2b
dec al
pop ebx
mov byte [ecx], al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x18]
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x406f90
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6832b8
push eax
mov eax, dword [0x6dfe20]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x407084
mov eax, dword [0x6dfe88]
cmp eax, ebx
je 0x407084
push ebp
push edi
push 0x200
push 0x6dfe98
push eax
call dword [sym.imp.user32.dll_GetWindowTextA]
mov al, byte [esp + 0xf]
mov edi, 0x6dfe98
mov byte [esp + 0x10], al
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ebx
mov ebp, ecx
lea ecx, [esp + 0x14]
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00403350
test al, al
je 0x407033
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
push esi
mov esi, 0x6dfe98
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
pop esi
mov byte [eax + ebp], bl
mov ecx, dword [0x6dfe20]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2c], ebx
mov edx, dword [ecx]
call dword [edx + 0x74]
mov eax, dword [esp + 0x14]
pop edi
cmp eax, ebx
mov dword [esp + 0x24], 0xffffffff
pop ebp
je 0x407084
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40707b
cmp al, 0xff
je 0x40707b
dec al
pop ebx
mov byte [ecx], al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x18]
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x40c470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x683613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push 0xec
lea eax, [ebp + 0x80]
mov dword [ebp + 0xb0], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
call fcn.00673b05
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov dword [esp + 0x44], esi
je 0x40c4e2
mov ecx, eax
call fcn.0040d560
mov ebx, eax
jmp 0x40c4e4
xor ebx, ebx
cmp ebx, esi
mov dword [esp + 0x44], 0xffffffff
je 0x40c60c
mov eax, dword [ebx]
push edi
push esi
mov ecx, ebx
call dword [eax + 0x5c]
mov eax, dword [ebp + 0xe8]
mov ecx, dword [ebp + 0xe4]
mov edx, dword [ebx]
push eax
mov eax, dword [ebp + 0xe0]
push ecx
lea ecx, [ebp + 0xd0]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x80]
mov eax, dword [ebp + 0xec]
mov edi, 0x6d3a50
mov dword [ebx + 0xcc], eax
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
lea ecx, [esp + 0x24]
push edi
mov byte [esp + 0x28], dl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], edi
call fcn.00403350
test al, al
je 0x40c58f
mov ecx, edi
mov edi, dword [esp + 0x24]
mov eax, ecx
mov esi, 0x6d3a50
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
xor esi, esi
mov byte [ecx + eax], 0
mov ecx, dword [ebx + 0xb0]
mov dword [esp + 0x48], 1
cmp ecx, esi
pop edi
je 0x40c5b3
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 1
push eax
call fcn.0042bcd0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
cmp eax, esi
je 0x40c5e0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40c5d7
cmp al, 0xff
je 0x40c5d7
dec al
mov byte [ecx], al
jmp 0x40c5e0
push ecx
call fcn.006713a0
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
jle 0x40c603
mov ecx, dword [ebp + 0xb8]
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x38]
sub eax, edx
cdq
idiv ecx
mov dword [ebp + 0xb0], eax
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x3c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x410a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x683993
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004386f0
mov cl, byte [esp + 7]
xor eax, eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x2c], cl
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xc]
or eax, 0x40000000
mov byte [esp + 0x14], 1
mov dword [esi], 0x6a3a68
mov dword [esi + 4], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x411953
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
test eax, eax
jle 0x411965
mov eax, dword [esi]
call dword [eax]
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.kernel32.dll_ReadFile]
lea ecx, [esp + 0x10]
push 0
push ecx
push 4
push edi
push ebx
mov dword [esp + 0x24], 0
call ebp
cmp dword [edi], 0
jle 0x411a41
lea edx, [esp + 0x10]
push 0
lea eax, [esi + 0x18]
push edx
push 4
push eax
push ebx
call ebp
lea ecx, [esp + 0x10]
push 0
lea eax, [esi + 0x20]
push ecx
push 4
push eax
push ebx
call ebp
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x20]
mov ecx, dword [edi]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00411830
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x411a03
mov ecx, dword [esi + 0x24]
push eax
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
lea eax, [eax + eax*2]
shl eax, 2
push eax
push ecx
push ebx
call ebp
mov edi, dword [edi]
mov esi, dword [esi + 0x24]
lea edx, [edi + edi*2]
pop edi
mov ecx, dword [esi + edx*4 - 0xc]
lea eax, [esi + edx*4]
pop esi
pop ebp
mov dword [eax], ecx
mov edx, dword [eax - 8]
mov dword [eax + 4], edx
mov ecx, dword [eax - 4]
mov dword [eax + 8], ecx
mov al, 1
pop ebx
pop ecx
ret 4
cmp eax, 1
jne 0x411a41
mov eax, dword [edi]
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x10]
push 0
shl eax, 4
push edx
push eax
push ecx
push ebx
call ebp
mov edx, dword [edi]
mov esi, dword [esi + 0x24]
shl edx, 4
lea eax, [edx + esi]
lea ecx, [eax - 0x10]
mov edx, dword [eax - 0x10]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret 4
Function at 0x412d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x683b76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004386f0
xor ebx, ebx
lea ecx, [esi + 0xec]
mov dword [esp + 0x28], ebx
call fcn.004415d0
mov ecx, dword [esi + 4]
mov al, 1
or ch, 0x80
mov byte [esp + 0x28], al
lea edx, [esi + 0x50]
mov dword [esi + 4], ecx
mov byte [esi + 0x30], al
mov ecx, 0x17
xor eax, eax
mov edi, edx
mov dword [esi], 0x6a3b0c
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x3f800000
mov ecx, dword [esp + 0x10]
mov eax, edx
mov dword [esp + 0x14], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x1c], 0x3f800000
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x44], 4
mov dword [edx + 0x48], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 0x4c], 2
mov dword [edx + 0x50], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x54], 5
mov dword [edx + 0x58], 6
mov dword [eax + 0xc], ecx
mov eax, dword [edx + 0xc]
fld dword [edx]
fmul dword [0x6a36f0]
mov dword [edx + 0x1c], eax
mov eax, 0x3f800000
fstp dword [edx + 0x10]
fld dword [edx + 4]
fmul dword [0x6a36f0]
fstp dword [edx + 0x14]
fld dword [edx + 8]
fmul dword [0x6a36f0]
fstp dword [edx + 0x18]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x160], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x138], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x4c], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb0], ebx
mov eax, esi
pop edi
mov dword [esp + 0x24], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret