joyce8/EMBER2024-capa huggingface dataset:
Function at 0x593d4c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x124], edx
mov esi, eax
xor eax, eax
push ebp
push 0x593e13
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
call fcn.0050af0c
test al, al
je 0x593dfa
lea eax, [ebp - 0x11e]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00503594
lea edx, [ebp - 0x124]
mov eax, esi
call fcn.0050b180
lea eax, [ebp - 0x124]
mov edx, 0x593e2c
call fcn.00504df4
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x11e]
call fcn.0050b3d0
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x11e]
mov dword [ebp - 0x16], eax
xor eax, eax
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0xd4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
cmp dword [ebp - 0xc], 0
jne 0x593dfa
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x593e1a
lea eax, [ebp - 0x124]
call fcn.00504b1c
ret

Function at 0x593fd4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00504d9c
add esp, 0x10c
pop ebx
ret

Function at 0x594010
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.00503594
mov dword [esp], 0x3c
mov eax, ebx
call fcn.00504fec
mov dword [esp + 0x10], eax
mov eax, 0x594054
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0xc
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret

Function at 0x594060
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0
push 0
mov eax, ebx
call fcn.00504fec
push eax
push 0x594080
push 0
call sub.shell32.dll_ShellExecuteA
pop ebx
ret
Function at 0x5945a4
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00504fdc
xor eax, eax
push ebp
push 0x594782
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x59476c
mov eax, dword [ebp - 4]
cmp byte [eax], 0x66
jne 0x594605
mov edx, dword [0x64a4e4]
mov dl, byte [edx]
mov eax, dword [ebp - 4]
call fcn.00593534
test al, al
je 0x594605
push 0
lea eax, [ebp - 4]
mov ecx, 0x59479c
mov edx, 0x5947a8
call fcn.005932bc
mov esi, 0x3c
lea eax, [ebp - 0x44]
mov edx, esi
call fcn.005080dc
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], 0x21
mov dword [ebp - 0x30], 0x101
mov dword [ebp - 0x24], 0x81
mov dword [ebp - 0x1c], 0x81
mov dword [ebp - 0x14], 0x801
mov dword [ebp - 0xc], 0x801
mov eax, 0x21
call fcn.00502e10
mov dword [ebp - 0x40], eax
mov eax, 0x101
call fcn.00502e10
mov dword [ebp - 0x34], eax
mov eax, 0x81
call fcn.00502e10
mov dword [ebp - 0x28], eax
mov eax, 0x81
call fcn.00502e10
mov dword [ebp - 0x20], eax
mov eax, 0x801
call fcn.00502e10
mov dword [ebp - 0x18], eax
mov eax, 0x801
call fcn.00502e10
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x594765
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00504dec
push eax
mov eax, dword [ebp - 4]
call fcn.00504fec
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x5946d3
call fcn.0050451c
jmp 0x59476c
mov eax, ebx
mov edx, dword [ebp - 0x40]
call fcn.00504d24
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x34]
call fcn.00504d24
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x18]
call fcn.00504d24
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x28]
call fcn.00504d24
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x20]
call fcn.00504d24
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00504d24
mov ax, word [ebp - 0x2c]
mov word [ebx + 0x18], ax
mov eax, dword [ebp - 0x38]
call fcn.00594550
mov byte [ebx + 0x1a], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59476c
mov eax, dword [ebp - 0x10]
call fcn.00502e40
mov eax, dword [ebp - 0x18]
call fcn.00502e40
mov eax, dword [ebp - 0x20]
call fcn.00502e40
mov eax, dword [ebp - 0x28]
call fcn.00502e40
mov eax, dword [ebp - 0x34]
call fcn.00502e40
mov eax, dword [ebp - 0x40]
call fcn.00502e40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x594789
lea eax, [ebp - 4]
call fcn.00504b1c
ret
Function at 0x595674
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov esi, eax
mov eax, esi
call fcn.00504dec
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [esp]
call fcn.00505178
mov eax, esi
call fcn.00504dec
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x5957bb
mov ebx, 1
mov eax, esi
call fcn.00504dec
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x5956f3
mov eax, esi
call fcn.00504dec
mov ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
sub ecx, eax
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
call fcn.00503098
jmp 0x59570a
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
mov ecx, 3
call fcn.00503098
mov al, byte [esp + 4]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, 0x595840
mov dl, byte [ecx + edx]
mov byte [esp + 7], dl
and al, 3
mov ebp, eax
and ebp, 0xff
shl ebp, 4
mov dl, byte [esp + 5]
mov eax, edx
and al, 0xf0
and eax, 0xff
shr eax, 4
or ebp, eax
mov eax, 0x595840
mov al, byte [eax + ebp]
mov byte [esp + 8], al
and dl, 0xf
mov ebp, edx
and ebp, 0xff
shl ebp, 2
mov al, byte [esp + 6]
mov edx, eax
and dl, 0xc0
and edx, 0xff
shr edx, 6
or ebp, edx
mov edx, 0x595840
mov dl, byte [edx + ebp]
mov byte [esp + 9], dl
and al, 0x3f
and eax, 0xff
mov edx, 0x595840
mov al, byte [edx + eax]
mov byte [esp + 0xa], al
mov eax, dword [esp]
call fcn.00505044
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [esp + 7]
mov ecx, 4
call fcn.00503098
inc ebx
dec edi
jne 0x5956c0
mov eax, esi
call fcn.00504dec
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x595801
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00504dec
mov ebx, eax
mov eax, dword [esp]
call fcn.00505044
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00504dec
mov ebx, eax
mov eax, dword [esp]
call fcn.00505044
mov byte [eax + ebx - 1], 0x3d
jmp 0x59582e
mov eax, esi
call fcn.00504dec
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x59582e
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00504dec
mov ebx, eax
mov eax, dword [esp]
call fcn.00505044
mov byte [eax + ebx - 1], 0x3d
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x596c18
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push ecx
mov dword [esp], edx
mov edx, dword [eax]
sub ecx, 1
jno 0x596c2a
call fcn.00503b08
test ecx, ecx
jl 0x596c53
inc ecx
mov ebx, edx
mov esi, dword [esp]
xor bl, byte [esi]
and ebx, 0xff
mov esi, dword [0x649d70]
mov ebx, dword [esi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
add dword [esp], 1
dec ecx
jne 0x596c2f
mov dword [eax], edx
pop edx
pop esi
pop ebx
ret
Function at 0x597138
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 8], eax
cmp ecx, esi
jge 0x597152
inc dword [esp + 8]
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x20]
mov edx, ecx
dec edx
test edx, edx
jl 0x5971a3
inc edx
shl eax, 5
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 2]
xor eax, ecx
and eax, 0x3fff
mov ecx, dword [esp + 8]
and ecx, dword [ebx + 0x58]
mov edi, dword [esp]
mov ebp, dword [esp + 4]
mov ebp, dword [ebp + eax*4]
mov dword [edi + ecx*4], ebp
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
mov dword [ecx + eax*4], edi
inc dword [esp + 8]
dec edx
jne 0x59716a
mov edx, dword [esp]
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 4]
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x28], eax
cmp byte [ebx + 4], 0
je 0x5971dd
add dword [ebx + 0x44], esi
add dword [ebx + 0x48], esi
cmp byte [ebx + 0x34], 0
je 0x5971fd
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x5971fd
mov eax, ebx
call fcn.00597598
jmp 0x5971fd
mov eax, dword [esp + 8]
sub eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x5c]
jl 0x5971fd
mov byte [ebx + 4], 1
mov eax, dword [esp + 8]
sub eax, dword [ebx + 0x5c]
sub eax, dword [ebx + 0x44]
add dword [ebx + 0x44], eax
add dword [ebx + 0x48], eax
cmp word [ebx + 0x3a], 0
je 0x597232
add dword [ebx + 0x10], esi
mov esi, dword [ebx + 0x10]
test esi, 0xfff
jne 0x597232
mov dword [esp + 0xc], esi
fild dword [esp + 0xc]
fmul dword [0x59724c]
fild dword [ebx + 0x50]
fdivp st(1)
call fcn.00503350
mov edx, eax
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
mov eax, dword [ebx + 0x44]
cmp eax, dword [ebx + 0x40]
jb 0x597241
mov eax, ebx
call fcn.00597598
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x597dbc
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov edx, ecx
mov eax, ebx
call fcn.00597e4c
mov dword [ebp - 8], 0xc
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebx + 8]
mov al, byte [esi]
call fcn.005962c8
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.005962c8
mov dword [ebx + 0x10], eax
inc esi
inc edi
dec dword [ebp - 8]
jne 0x597de0
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 9]
sete al
mov byte [ebx + 4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x597e4c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.00504dec
mov esi, eax
test esi, esi
jle 0x597eba
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.005962c8
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.005962c8
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x597e7e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x598020
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005982a8
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov eax, pe_nt_image_headers32
call fcn.005035b4
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.005962c8
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.005962c8
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x598045
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.005982a8
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov al, byte [edi]
mov edx, dword [ebx + 8]
call fcn.005962c8
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.005962c8
mov dword [ebx + 0x10], eax
mov eax, esi
xor byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x5980c0
mov al, byte [ebp + 0xa]
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.005962c8
mov edi, eax
mov dword [ebx + 8], edi
and edi, 0xff
add dword [ebx + 0xc], edi
imul edi, dword [ebx + 0xc], 0x8088405
inc edi
mov dword [ebx + 0xc], edi
mov eax, edi
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.005962c8
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x12], al
mov al, byte [ebp + 0xb]
mov byte [ebp - 9], al
mov esi, dword [ebx + 0x10]
and esi, 0xffff
or esi, 2
mov eax, esi
xor eax, 1
imul esi
shr eax, 8
mov esi, eax
mov edx, dword [ebx + 8]
mov al, byte [ebp - 9]
call fcn.005962c8
mov edi, eax
mov dword [ebx + 8], edi
and edi, 0xff
add dword [ebx + 0xc], edi
imul edi, dword [ebx + 0xc], 0x8088405
inc edi
mov dword [ebx + 0xc], edi
mov eax, edi
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.005962c8
mov dword [ebx + 0x10], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x11], al
mov byte [ebx + 4], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5982a8
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.00504dec
mov esi, eax
test esi, esi
jle 0x598316
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.005962c8
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.005962c8
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x5982da
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x59c9e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x59cb8a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebx + 0x30]
mov ecx, 0xa
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, ebx
call fcn.0059c954
test al, al
je 0x59ca50
lea edx, [ebp - 6]
mov ecx, 2
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
movzx edx, word [ebp - 6]
lea eax, [ebx + 0x40]
call fcn.00505178
lea eax, [ebx + 0x40]
call fcn.00505044
mov edx, eax
movzx ecx, word [ebp - 6]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x59ca58
lea eax, [ebx + 0x40]
call fcn.00504b1c
mov eax, ebx
call fcn.0059c96c
test al, al
je 0x59caad
mov eax, esi
call fcn.005200bc
mov edi, eax
mov eax, esi
call fcn.0059c670
mov eax, esi
call fcn.005200bc
sub eax, edi
dec eax
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, edi
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
call fcn.00505178
lea eax, [ebx + 0x1c]
call fcn.00505044
mov edx, eax
mov ecx, dword [ebp - 4]
inc ecx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x59caba
lea eax, [ebx + 0x1c]
mov edx, 0x59cba0
call fcn.00504b70
mov eax, ebx
call fcn.0059c960
test al, al
je 0x59cb10
mov eax, esi
call fcn.005200bc
mov edi, eax
mov eax, esi
call fcn.0059c670
mov eax, esi
call fcn.005200bc
sub eax, edi
dec eax
mov dword [ebp - 4], eax
mov eax, edi
cdq
push edx
push eax
mov eax, esi
call fcn.005200dc
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 4]
call fcn.00505178
lea eax, [ebx + 0x44]
call fcn.00505044
mov edx, eax
mov ecx, dword [ebp - 4]
inc ecx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
jmp 0x59cb18
lea eax, [ebx + 0x44]
call fcn.00504b1c
mov eax, ebx
call fcn.0059c978
test al, al
je 0x59cb38
lea edx, [ebp - 7]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov al, byte [ebp - 7]
mov byte [ebx + 0x3b], al
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov edi, eax
mov eax, esi
call fcn.005200bc
sub edi, eax
sub edi, 8
mov dword [ebx + 0xc], edi
lea edx, [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x14]
call fcn.00504b70
lea eax, [ebx + 0x14]
call fcn.00596294
mov byte [ebx + 8], 1
mov byte [ebx + 0x26], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59cb91
lea eax, [ebp - 0xc]
call fcn.00504b1c
ret
Function at 0x59d16c
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x59d17e
add esp, 0xfffffff0
call fcn.00503f44
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00504fdc
xor eax, eax
push ebp
push 0x59d2b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00503b9c
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.00504b70
xor eax, eax
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
call fcn.00504b1c
xor eax, eax
mov dword [esi + 0x84], eax
mov byte [esi + 0x10], 1
mov byte [esi + 0xb2], 1
mov byte [esi + 0x24], 0
mov byte [esi + 0xb0], 0
mov byte [esi + 0xb1], 0
xor eax, eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x14], 4
mov eax, 0x7530
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 3
mov dword [esi + 0x68], 0x1f90
lea eax, [esi + 0x60]
call fcn.00504b1c
lea eax, [esi + 0x64]
call fcn.00504b1c
mov byte [esi + 0x6c], 1
lea eax, [esi + 0x74]
call fcn.00504b1c
lea eax, [esi + 0x78]
call fcn.00504b1c
mov byte [esi + 0x7d], 1
mov byte [esi + 0x7c], 0
mov dl, 1
mov eax, dword [0x51affc]
call fcn.00503b9c
mov dword [esi + 0xb4], eax
lea eax, [esi + 0x40]
call fcn.00504b1c
lea eax, [esi + 0x44]
call fcn.00504b1c
lea eax, [esi + 0x48]
call fcn.00504b1c
lea eax, [esi + 0x34]
call fcn.00504b1c
lea eax, [esi + 0x30]
call fcn.00504b1c
lea eax, [esi + 0x38]
call fcn.00504b1c
lea eax, [esi + 0x3c]
call fcn.00504b1c
xor eax, eax
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x50]
call fcn.00504b1c
lea eax, [esi + 0x54]
call fcn.00504b1c
lea eax, [esi + 0x58]
call fcn.00504b1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59d2b9
lea eax, [ebp - 4]
call fcn.00504b1c
ret
Function at 0x59f998
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
xor ebx, ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00504fdc
mov eax, dword [ebp - 8]
call fcn.00504fdc
mov eax, dword [ebp - 0xc]
call fcn.00504fdc
lea eax, [ebp - 0x170]
mov edx, dword [0x5098a0]
call fcn.00505690
xor eax, eax
push ebp
push 0x59fb41
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 8], 0
je 0x59faf5
cmp dword [ebp - 0xc], 0
je 0x59faf5
cmp dword [ebp - 4], 0
je 0x59faf5
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp - 4]
call fcn.005934d4
mov edx, dword [ebp - 0x174]
lea eax, [ebp - 4]
call fcn.00504bb4
push dword [ebp - 8]
push 0x59fb58
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00504eac
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00504e38
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x170]
xor edx, edx
call fcn.0050af9c
test eax, eax
jne 0x59faee
xor eax, eax
push ebp
push 0x59fae7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x164], 0
je 0x59fabf
mov eax, dword [ebp - 0x164]
cmp byte [eax], 0x2e
je 0x59fabf
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 4]
call fcn.00504e38
mov eax, dword [ebp - 0x18]
call fcn.00504fec
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
je 0x59fabf
inc dword [ebp - 0x10]
lea eax, [ebp - 0x170]
call fcn.0050afec
test eax, eax
je 0x59fa85
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59faee
lea eax, [ebp - 0x170]
call fcn.0050b010
ret
cmp dword [ebp - 0x10], 0
setg bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59fb48
lea eax, [ebp - 0x178]
mov edx, 2
call fcn.00504b40
lea eax, [ebp - 0x170]
mov edx, dword [0x5098a0]
call fcn.00505760
lea eax, [ebp - 0x18]
call fcn.00504b1c
lea eax, [ebp - 0x14]
call fcn.00504b1c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00504b40
ret

Function at 0x5b05a8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x5b05b0
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b065e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x38], 0
je 0x5b0635
lea edx, [ebp - 0x14]
mov eax, 0x2d
call fcn.0059ef38
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.0051565c
cmp dword [ebp - 4], 0
je 0x5b0635
mov eax, ebx
call fcn.005b04d0
test eax, eax
jle 0x5b061b
lea edx, [ebp - 0x24]
mov eax, 0x10
call fcn.0059ef38
lea eax, [ebp - 0x24]
call fcn.00512cfc
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005b1c60
jmp 0x5b0635
mov eax, dword [ebp - 4]
call fcn.0050af0c
test al, al
je 0x5b0635
mov eax, dword [ebp - 4]
call fcn.00504fec
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b0665
lea eax, [ebp - 0x24]
mov edx, dword [0x501100]
mov ecx, 2
call fcn.005057ac
lea eax, [ebp - 4]
call fcn.00504b1c
ret