joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbf20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x8189b8]
sub esp, 0x1c
push ebx
push esi
mov esi, dword [eax + 0x3c]
mov ebx, ecx
test esi, esi
je 0x4bbff3
push ebp
xor ebp, ebp
lea ecx, [ebx + 0x100]
add esi, 0x13c
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], esi
mov edi, dword [esi]
test edi, edi
je 0x4bbfd1
mov ecx, dword [edi]
push ebx
call fcn.004015a0
mov dword [esi], 0
mov edx, dword [ebx]
push ebp
push 0xc
mov ecx, ebx
call dword [edx + 0x78]
test eax, eax
je 0x4bbfcb
lea esi, [eax + 0x80]
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x28]
mov ebp, dword [edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
add ebp, 0x90
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [eax], edi
mov ecx, dword [esp + 0x10]
inc ebp
add esi, 4
add ecx, 4
cmp ebp, 0x1c
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
jl 0x4bbf53
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x4bc000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x8189b8]
sub esp, 0x1c
push ebx
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x4bc0d2
push ebp
push esi
xor ebp, ebp
lea edx, [ebx + 0x13c]
lea esi, [ecx + 0x100]
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov edi, dword [esi]
test edi, edi
je 0x4bc0af
mov ecx, dword [edi]
push ebx
call fcn.004015a0
mov dword [esi], 0
mov eax, dword [ebx]
push ebp
push 2
mov ecx, ebx
call dword [eax + 0x78]
test eax, eax
je 0x4bc0a9
lea esi, [eax + 0x80]
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov ebp, dword [edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
add ebp, 0x90
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
inc ebp
add esi, 4
add ecx, 4
cmp ebp, 0x1c
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
jl 0x4bc031
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4c2250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x8189b8]
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [eax + 0x3c]
mov ebx, ecx
test ebp, ebp
je 0x4c2330
push esi
lea edx, [ebx + 0x534]
push edi
xor eax, eax
xor esi, esi
mov ecx, 0x1c
mov edi, edx
add ebp, 0x13c
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebp
mov edi, dword [ebp]
test edi, edi
je 0x4c230e
mov ecx, dword [edi]
push ebx
call fcn.004015a0
mov dword [ebp], 0
mov edx, dword [ebx]
push esi
push 0xb
mov ecx, ebx
call dword [edx + 0x78]
test eax, eax
je 0x4c2308
lea esi, [eax + 0x80]
mov eax, esi
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x28]
mov ebp, dword [edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
add ebp, 0x90
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov dword [eax], edi
mov ecx, dword [esp + 0x10]
inc esi
add ebp, 4
add ecx, 4
cmp esi, 0x1c
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ecx
jl 0x4c228e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x4c23a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x8189b8]
sub esp, 0x1c
push ebx
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x4c2472
push ebp
push esi
xor ebp, ebp
lea edx, [ebx + 0x13c]
lea esi, [ecx + 0x534]
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov edi, dword [esi]
test edi, edi
je 0x4c244f
mov ecx, dword [edi]
push ebx
call fcn.004015a0
mov dword [esi], 0
mov eax, dword [ebx]
push ebp
push 2
mov ecx, ebx
call dword [eax + 0x78]
test eax, eax
je 0x4c2449
lea esi, [eax + 0x80]
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov ebp, dword [edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
add ebp, 0x90
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
inc ebp
add esi, 4
add ecx, 4
cmp ebp, 0x1c
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
jl 0x4c23d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4df3c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x68c238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
xor ebx, ebx
xor edi, edi
lea esi, [ecx + 0xfc]
mov dword [esp + 0x24], edi
mov eax, esi
mov edx, 8
mov ecx, 8
cmp dword [eax], ebx
je 0x4df3fb
inc edi
add eax, 4
dec ecx
jne 0x4df3f6
dec edx
jne 0x4df3f1
lea eax, [esp + 0x24]
push 4
push eax
push 0x6d5484
mov dword [esp + 0x30], edi
call fcn.00646c70
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov eax, esi
mov ebp, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
cmp dword [ebp], ebx
je 0x4df56d
mov cl, byte [esp + 0x13]
mov edi, 0x6d547c
mov byte [esp + 0x34], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
push ecx
push 0x6d547c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], ebx
call fcn.004083a0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push edx
push 0x6d3a54
push eax
mov dword [esp + 0x78], ebx
call fcn.0067429f
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x3c]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x6a3564]
sub ecx, edx
cmp ecx, esi
ja 0x4df4ab
call fcn.006713ab
cmp esi, ebx
jbe 0x4df4f3
mov edx, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x38]
lea ebp, [edx + esi]
push ebp
call fcn.00403350
test al, al
je 0x4df4ef
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x44]
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 + 0x38]
mov dword [esp + 0x3c], ebp
mov byte [eax + ebp], bl
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x30]
mov ecx, dword [esp + 0x20]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jne 0x4df51c
mov eax, 0x6a3560
lea ecx, [esp + 0x28]
push 0xc
push ecx
push eax
call fcn.00646c70
mov ecx, dword [esp + 0x20]
add esp, 0xc
inc ecx
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
je 0x4df561
mov al, byte [ecx - 1]
cmp al, bl
je 0x4df557
cmp al, 0xff
je 0x4df557
dec al
mov byte [ecx - 1], al
jmp 0x4df561
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x18]
add ebp, 4
inc eax
mov dword [esp + 0x1c], ebp
cmp eax, 8
mov dword [esp + 0x18], eax
jl 0x4df430
mov ecx, dword [esp + 0x20]
mov eax, ebp
inc ecx
cmp ecx, 8
mov dword [esp + 0x20], ecx
jl 0x4df426
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x4dfe90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x68c2ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x134]
push edi
mov eax, dword [esi + 0xf8]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x24], esi
shl eax, 5
lea ecx, [eax + esi + 0xfc]
mov eax, dword [ecx]
cmp eax, edi
je 0x4dfeda
cmp eax, ebp
je 0x4dfee8
inc ebx
add ecx, 4
cmp ebx, 8
jl 0x4dfed0
jmp 0x4dffe4
cmp ebx, 0xffffffff
je 0x4dffe4
mov ecx, dword [esi + ebx*4 + 0x1fc]
mov al, byte [ecx + 0xa0]
test al, al
jne 0x4dff09
mov edx, dword [ecx]
push 1
call dword [edx + 0x3c]
mov eax, dword [ebp + 0x30]
add eax, 0x14
mov eax, dword [eax + 4]
cmp eax, edi
jne 0x4dff1b
mov eax, 0x6a3560
push eax
lea eax, [esp + 0x2c]
push 0x6d54a0
push eax
call fcn.0067429f
mov cl, byte [esp + 0x1f]
mov dword [esp + 0x24], edi
mov byte [esp + 0x20], cl
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00403350
test al, al
je 0x4dff8a
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x28]
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 esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
mov ecx, dword [esi + ebx*4 + 0x1fc]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x134], 0
mov edx, dword [ecx]
call dword [edx + 0x78]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x130], 0xffffffff
test eax, eax
je 0x4dffd6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4dffcd
cmp al, 0xff
je 0x4dffcd
dec al
mov byte [ecx], al
jmp 0x4dffd6
push ecx
call fcn.006713a0
add esp, 4
mov ebx, dword [esi + ebx*4 + 0x1fc]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x58]
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 4
Function at 0x50f140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68f074
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
call fcn.00401090
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x13]
xor ebx, ebx
lea edi, [esi + 0xb4]
mov dword [esp + 0x2c], ebx
push 0x28
mov dword [esp + 0x24], edi
mov byte [edi], al
mov byte [edi + 1], cl
mov byte [edi + 8], bl
call fcn.00673b05
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], ebx
mov dword [ebp + 0x24], 1
call fcn.00671594
mov eax, dword [0x8155bc]
mov byte [esp + 0x2c], 1
cmp eax, ebx
jne 0x50f1ce
mov dword [0x8155bc], ebp
mov dword [ebp], ebx
mov edx, dword [0x8155bc]
mov dword [esp + 0x14], ebx
mov dword [edx + 8], ebx
mov edx, dword [0x8155b8]
lea ecx, [esp + 0x18]
inc edx
mov dword [0x8155b8], edx
mov byte [esp + 0x2c], bl
call fcn.00671630
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x50f1f9
push eax
call fcn.006713a0
add esp, 4
mov ebp, dword [0x8155bc]
push 0x28
call fcn.00673b05
mov dword [eax + 4], ebp
mov dword [eax + 0x24], ebx
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
mov al, byte [esp + 0x17]
mov byte [esp + 0x30], 3
push 0x34
mov byte [esi + 0xc4], al
call fcn.00673b05
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], ebx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x2c], 4
mov dword [esi], 0x6a5ff4
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x24], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x52e0b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x691818
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea eax, [esp + 8]
push ebx
push esi
push edi
push 0x300
push 0x400
push 0x26
push 0
mov esi, ecx
push eax
call dword [sym.imp.user32.dll_SetRect]
mov eax, dword [esi + 0xec]
test eax, eax
je 0x52e110
add eax, 0x80
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
lea edi, [esi + 0xb0]
mov ecx, edi
call fcn.0060da40
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x30], esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
lea ecx, [esi + 0xf0]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x2f]
push eax
call fcn.004ba880
push eax
mov ecx, ebx
call fcn.004a64f0
mov ecx, dword [0x6e29ac]
mov edx, dword [0x818a0c]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x54], 0xffffffff
call fcn.0060d5a0
mov ecx, dword [esp + 0x24]
mov byte [esi + 0x120], 0
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x56eef0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x695e00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x818794]
mov edx, dword [0x6a3564]
push ebx
push ebp
mov ebx, dword [eax + 0x4f0]
push esi
add eax, 0x4c8
mov esi, ecx
push edi
xor ebp, ebp
mov cl, byte [eax]
push edx
mov byte [esp + 0x20], cl
push ebp
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.00402fc0
mov eax, dword [0x818794]
mov edi, dword [esi + 0xb4]
cmp edi, ebp
mov dword [esp + 0x44], ebp
mov ecx, dword [eax + 0x4d8]
mov dword [esp + 0x18], ecx
je 0x56f04d
cmp dword [edi + 0xc8], ebp
je 0x56efea
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.004031c0
cmp ebx, 0x64
mov byte [esp + 0x44], 1
ja case.0x56ef95.0
xor eax, eax
mov al, byte [ebx + 0x56f148]
jmp dword [eax*4 + 0x56f134]
lea ecx, [esp + 0x2c]
push ecx
push 0xa9a
jmp 0x56efbe
lea edx, [esp + 0x2c]
push edx
push 0xaa0
jmp 0x56efbe
lea eax, [esp + 0x2c]
push eax
push 0xa9b
call fcn.00615080
add esp, 8
mov ecx, dword [edi + 0xc8]
cmp ecx, ebp
je 0x56efda
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
call dword [edx + 0x78]
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0
call fcn.004031c0
mov eax, dword [esi + 0xb4]
mov ecx, dword [eax + 0xc4]
cmp ecx, ebp
je 0x56f004
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
call dword [edx + 0x78]
mov ebx, dword [esi + 0xb4]
mov ebp, 5
lea edi, [ebx + 0xdc]
mov ecx, dword [edi]
test ecx, ecx
je 0x56f022
mov edx, dword [ecx]
push 0
call dword [edx + 0x3c]
add edi, 4
dec ebp
jne 0x56f015
mov eax, dword [esp + 0x18]
cmp eax, 5
jg 0x56f047
test eax, eax
jle 0x56f047
mov ecx, dword [ebx + eax*4 + 0xd8]
test ecx, ecx
je 0x56f047
mov eax, dword [ecx]
push 1
call dword [eax + 0x3c]
mov ebx, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [esi + 0xc0]
cmp ecx, ebp
je 0x56f078
push ebx
call fcn.00507ba0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.00507b80
mov ecx, dword [esi + 0xc0]
call fcn.00509010
mov ecx, dword [esi + 0xc4]
cmp ecx, ebp
je 0x56f0a3
push ebx
call fcn.005125c0
mov ecx, dword [esi + 0xc4]
lea edx, [esp + 0x1c]
push edx
call fcn.005125a0
mov ecx, dword [esi + 0xc4]
call fcn.00513250
mov ecx, dword [esi + 0xc8]
cmp ecx, ebp
je 0x56f0ce
push ebx
call fcn.00514480
mov ecx, dword [esi + 0xc8]
lea eax, [esp + 0x1c]
push eax
call fcn.00514460
mov ecx, dword [esi + 0xc8]
call fcn.00514cb0
mov ecx, dword [0x8189b8]
mov ecx, dword [ecx + 0x44]
cmp ecx, ebp
je 0x56f0e0
call fcn.00545390
mov ecx, esi
call fcn.0056e250
mov ecx, dword [esp + 0x20]
pop edi
pop esi
cmp ecx, ebp
pop ebp
mov dword [esp + 0x38], 0xffffffff
pop ebx
je 0x56f124
mov al, byte [ecx - 1]
test al, al
je 0x56f11a
cmp al, 0xff
je 0x56f11a
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x574470
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x6963cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
push eax
push ecx
lea eax, [esp + 8]
push edx
push eax
call fcn.00649330
add esp, 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x158], 0
test eax, eax
jne 0x5744c8
mov eax, 0x6a3560
lea ecx, [esp + 0x10]
push esi
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
test esi, esi
jne 0x574507
push eax
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
test ecx, ecx
je 0x574565
mov al, byte [ecx - 1]
test al, al
je 0x57455b
cmp al, 0xff
je 0x57455b
dec al
mov byte [ecx - 1], al
jmp 0x574565
mov eax, dword [esp + 8]
test eax, eax
jne 0x574514
mov eax, 0x6a3560
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
push esi
jne 0x5744dc
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
test ecx, ecx
je 0x574557
mov al, byte [ecx - 1]
test al, al
je 0x57454d
cmp al, 0xff
je 0x57454d
dec al
mov byte [ecx - 1], al
xor al, al
jmp 0x574567
dec ecx
push ecx
call fcn.006713a0
add esp, 4
xor al, al
jmp 0x574567
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x154]
pop esi
mov dword fs:[0], ecx
add esp, 0x15c
ret 0xc
Function at 0x576d80
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x69660b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x864
mov eax, dword [ecx + 0xcc]
mov edx, dword [ecx + 0xc8]
inc eax
push eax
mov eax, dword [ecx + 0xc0]
push edx
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00649330
add esp, 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x86c], 0
test eax, eax
jne 0x576dd6
mov eax, 0x6a3560
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x576e37
mov ecx, dword [esp + 8]
mov dword [esp + 0x870], eax
test ecx, ecx
je 0x576ef0
mov al, byte [ecx - 1]
test al, al
je 0x576e30
cmp al, 0xff
je 0x576e30
dec al
pop esi
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x864]
mov dword fs:[0], ecx
add esp, 0x870
ret
dec ecx
push ecx
jmp 0x576ee8
push ebx
push ebp
push edi
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00673b05
add esp, 4
lea edx, [esp + 0x20]
mov ebp, eax
push 0
push edx
push ebx
push ebp
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, ebx
mov esi, ebp
mov eax, ecx
lea edi, [esp + 0x28]
shr ecx, 2
mov byte [esp + 0x24], 0x3c
mov byte [esp + 0x25], 0x1a
mov word [esp + 0x26], bx
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add ebx, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.006713a0
add esp, 4
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, dword [0x818984]
call fcn.00451b80
mov eax, dword [esp + 0x14]
pop edi
pop ebp
mov dword [esp + 0x874], 0xffffffff
test eax, eax
pop ebx
je 0x576ef0
mov cl, byte [eax - 1]
test cl, cl
je 0x576ee6
cmp cl, 0xff
je 0x576ee6
dec cl
pop esi
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x864]
mov dword fs:[0], ecx
add esp, 0x870
ret
dec eax
push eax
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x868]
pop esi
mov dword fs:[0], ecx
add esp, 0x870
ret
Function at 0x583540
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x6971fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov al, byte [0x813554]
mov ecx, dword [esp + 0x90]
mov dx, word [esp + 0x94]
add al, 0x31
mov byte [esp + 0x24], al
mov al, byte [esp + 0x8c]
mov byte [esp + 0x25], al
mov eax, dword [esp + 0x98]
push ebx
push esi
cmp eax, 0xfffffffd
push edi
mov dword [esp + 0x32], ecx
mov word [esp + 0x36], dx
mov word [esp + 0x38], ax
mov esi, 0xa
jne 0x5836ea
mov eax, dword [0x8189b8]
xor ebx, ebx
cmp dword [eax + 0x40], ebx
je 0x5836ea
mov cl, byte [esp + 0xf]
push ebx
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x6dfe28
lea ecx, [esp + 0x18]
call fcn.004083a0
mov eax, dword [0x8189b8]
mov dword [esp + 0x90], ebx
mov edx, dword [eax + 0x40]
mov ecx, dword [edx + 0xcc]
cmp ecx, ebx
jne 0x58365d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edx + 0xb4]
call fcn.0056b7c0
mov ecx, dword [0x6a3564]
mov byte [esp + 0x90], 1
push ecx
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402fc0
mov byte [esp + 0x90], bl
push 1
lea ecx, [esp + 0x24]
call fcn.004031c0
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x18]
cmp eax, ebx
mov word [esp + 0x3a], dx
mov esi, 0xc
je 0x5836d4
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x5836bd
jmp 0x5836b8
cmp ecx, 2
jne 0x58369e
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edx + 0xc0]
call fcn.00509330
mov ecx, dword [0x6a3564]
mov byte [esp + 0x90], 2
push ecx
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00402fc0
mov byte [esp + 0x90], bl
push 1
lea ecx, [esp + 0x24]
jmp 0x583633
mov eax, dword [esp + 0x18]
mov word [esp + 0x3a], bx
cmp eax, ebx
mov esi, 0xc
je 0x5836d4
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x5836bd
mov esi, 0x6a3560
mov ecx, eax
lea edi, [esp + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 0xc]
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0xffffffff
call fcn.004031c0
mov edi, dword [esp + 0xa8]
fld dword [edi]
call fcn.00674278
fld dword [edi + 4]
mov word [esp + esi + 0x30], ax
add esi, 2
call fcn.00674278
fld dword [edi + 8]
mov word [esp + esi + 0x30], ax
add esi, 2
call fcn.00674278
mov cx, word [esp + 0xb0]
mov word [esp + esi + 0x30], ax
mov ax, word [esp + 0xac]
add esi, 2
mov dx, word [esp + 0xb4]
mov word [esp + esi + 0x30], ax
add esi, 2
lea eax, [esp + 0x30]
mov word [esp + esi + 0x30], cx
mov ecx, dword [0x818984]
add esi, 2
mov word [esp + esi + 0x30], dx
add esi, 2
push esi
push eax
call fcn.00451b80
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0x20