joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444410
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510d0f
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x26d], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
add ecx, 2
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x274]
mov ax, word [edx]
mov word [ebp - 0x27a], ax
add dword [ebp - 0x274], 2
cmp word [ebp - 0x27a], 0
jne 0x44445a
mov ecx, dword [ebp - 0x274]
sub ecx, dword [ebp - 0x280]
sar ecx, 1
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x284], 4
jbe 0x444644
mov dword [ebp - 0x26c], 0
push 0x228
push 0
lea edx, [ebp - 0x268]
push edx
call fcn.004ab2f0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0xffffffff
je 0x444644
mov dword [ebp - 0x26c], 0x22c
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x278]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x444637
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00402400
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004024f0
add esp, 8
mov byte [ebp - 4], 1
push fcn.004bec3d
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x40]
call fcn.00403700
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x40]
call fcn.004036d0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00403700
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x294]
push eax
call fcn.00446250
add esp, 0x14
push fcn.004bec3d
lea ecx, [ebp - 0x298]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403700
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004036d0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x2a0]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403700
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.00446250
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.004036a0
push eax
lea ecx, [ebp - 0x28]
call fcn.004036a0
push eax
call fcn.004acf10
add esp, 8
test eax, eax
je 0x444601
mov byte [ebp - 0x26d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408cf0
jmp 0x444637
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408cf0
lea edx, [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x278]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4444fd
mov ecx, dword [ebp - 0x278]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x26d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x4447e0
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00408500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x48], 0
jmp 0x444833
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x4448cb
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00408500
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.004024f0
add esp, 8
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408500
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004024f0
add esp, 8
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x58]
push eax
call fcn.00411950
add esp, 8
mov byte [ebp - 0x43], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408cf0
movzx ecx, byte [ebp - 0x43]
test ecx, ecx
je 0x4448c6
mov byte [ebp - 0x41], 1
jmp 0x4448cb
jmp 0x44482a
movzx edx, byte [ebp - 0x41]
test edx, edx
je 0x4448ee
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x44493e
mov ecx, dword [ebp + 8]
push ecx
call fcn.00444f00
add esp, 4
movzx edx, al
test edx, edx
jne 0x44493e
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.00447ef0
movzx eax, al
test eax, eax
jne 0x44493e
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.00408500
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00444e50
add esp, 8
push 0
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00408500
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.00408500
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00408500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44495d
mov byte [ebp - 0x42], 1
jmp 0x444961
mov byte [ebp - 0x42], 0
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x444e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004ab2f0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x228]
call fcn.004034c0
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00417170
lea ecx, [ebp - 0x228]
call fcn.00408940
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x445310
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510eaa
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x439], 0
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00408500
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.004024f0
add esp, 8
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.004ab2f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0xc0
call fcn.00408500
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0
lea ecx, [ebp - 0x438]
call fcn.004036a0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00417b90
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x420], cx
push 0x206
push 0
lea edx, [ebp - 0x41e]
push edx
call fcn.004ab2f0
add esp, 0xc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
mov dword [ebp - 0x458], edx
mov eax, dword [ebp - 0x44c]
mov cx, word [eax]
mov word [ebp - 0x43c], cx
mov edx, dword [ebp - 0x440]
mov ax, word [ebp - 0x43c]
mov word [edx], ax
mov ecx, dword [ebp - 0x44c]
add ecx, 2
mov dword [ebp - 0x44c], ecx
mov edx, dword [ebp - 0x440]
add edx, 2
mov dword [ebp - 0x440], edx
cmp word [ebp - 0x43c], 0
jne 0x445422
mov ecx, dword [ebp + 8]
add ecx, 0xc0
call fcn.00408500
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x420]
add ecx, 0xfffffffe
mov dword [ebp - 0x444], ecx
mov edx, dword [ebp - 0x444]
mov ax, word [edx + 2]
mov word [ebp - 0x446], ax
add dword [ebp - 0x444], 2
cmp word [ebp - 0x446], 0
jne 0x445495
mov edi, dword [ebp - 0x444]
mov ecx, dword [0x51af18]
mov dword [edi], ecx
mov edx, dword [0x51af1c]
mov dword [edi + 4], edx
mov ax, word [0x51af20]
mov word [edi + 8], ax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44553f
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x445532
push 0x51af24
mov eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
je 0x445532
call dword [ebp - 0x454]
mov byte [ebp - 0x439], al
mov ecx, dword [ebp - 0x450]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dl, byte [ebp - 0x439]
mov byte [ebp - 0x43a], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00408cf0
mov al, byte [ebp - 0x43a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x445580
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x260], 0
push 0x40
push 0
lea eax, [ebp - 0x25c]
push eax
call fcn.004ab2f0
add esp, 0xc
mov dword [ebp - 0x21c], 0
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x260], 0x44
xor edx, edx
mov word [ebp - 0x230], dx
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004ab2f0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x51af40
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0042c2c0
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x445676
push 0xffffffffffffffff
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x445689
cmp dword [ebp + 0x10], 0
je 0x445687
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret

Function at 0x446c80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x446c9e
mov ecx, dword [ebp - 8]
call fcn.004479d0
jmp 0x446cb1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x446cb1
mov ecx, dword [ebp - 8]
call fcn.00447850
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x447850
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x44786b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x4478d7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x4478af
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x4478b6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x447862
jmp 0x4478e2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jge 0x44794e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x447926
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x44792d
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x4478d9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x44798c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x447993
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x4479d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x4479eb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x447a57
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x447a2f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x447a36
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x4479e2
mov esp, ebp
pop ebp
ret
Function at 0x44fdc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x40], 0
je 0x44ff64
cmp dword [edi + 0xa4], 8
lea esi, [edi + 0x90]
jb 0x44fe0d
mov eax, dword [esi]
jmp 0x44fe0f
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ff83
push 1
lea ecx, [ebp - 0x168]
call fcn.00409990
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x44fe3a
mov esi, dword [esi]
push 0x40
push 0x20
push esi
lea ecx, [ebp - 0x168]
call fcn.00409930
cmp dword [ebp - 0x10c], 0
je 0x44ff78
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xac]
call fcn.0042c620
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xac]
call fcn.0042c790
cmp dword [edi + 0x44], 8
lea eax, [edi + 0x30]
mov byte [ebp - 4], 1
jb 0x44fe87
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004024f0
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x40]
lea edi, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmp esi, 0x10
push fcn.004bec3d
cmovae ecx, edx
mov byte [ebp - 4], 2
cmovae edi, edx
add eax, ecx
push edi
cmp esi, 0x10
lea ecx, [ebp - 0x40]
push eax
cmovae ecx, edx
lea eax, [ebp - 0xb0]
push ecx
push eax
call fcn.00446250
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp esi, 0x10
push fcn.004bec3d
cmovae ecx, edx
cmovae edi, edx
add eax, ecx
lea ecx, [ebp - 0x28]
push edi
cmp esi, 0x10
push eax
cmovae ecx, edx
lea eax, [ebp - 0xb0]
push ecx
push eax
call fcn.00446250
add esp, 0x30
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
cmovae ecx, dword [ebp - 0x40]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44ff40
test dl, dl
je 0x44ff3c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44ff40
add ecx, 2
add eax, 2
test dl, dl
jne 0x44ff20
xor eax, eax
jmp 0x44ff45
sbb eax, eax
or eax, 1
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x44ff6b
call fcn.00408cf0
lea ecx, [ebp - 0x40]
call fcn.00408cf0
lea ecx, [ebp - 0x168]
call fcn.00409620
mov eax, 1
jmp 0x44ff85
call fcn.00408cf0
lea ecx, [ebp - 0x40]
call fcn.00408cf0
lea ecx, [ebp - 0x168]
call fcn.00409620
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x4502d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
mov dword [ebp - 0x30], ebx
call edi
sub eax, ebx
cmp eax, dword [0x552168]
jae 0x45033e
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x30]
push 0xa
call ebx
cmp byte [0x557091], 0
jne 0x45033b
call edi
sub eax, esi
cmp eax, dword [0x552168]
jb 0x450322
mov esi, dword [ebp - 0x2c]
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x34]
mov byte [esi + 0x114], al
mov al, byte [ebp + 0xc]
push 0x53deac
mov byte [esi + 0x115], al
call fcn.00403340
mov eax, dword [esi + 0x108]
xor edi, edi
sub eax, dword [esi + 0x104]
sar eax, 2
mov dword [ebp - 4], 0
test eax, eax
je 0x450466
nop dword [eax]
mov eax, dword [esi + 0x104]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
cmp dword [ecx + 0x110], 0
je 0x4503bb
push ecx
call fcn.00452ae0
add esp, 4
test eax, eax
jne 0x45044e
mov eax, dword [esi + 0x104]
mov ecx, esi
push dword [eax + edi*4]
call fcn.00451ea0
jmp 0x45044e
cmp dword [ecx + 0xf4], 0
je 0x45044e
cmp dword [ecx + 0xd4], 8
lea eax, [ecx + 0xc0]
jb 0x4503d9
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004024f0
sub esp, 0x10
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x450404
mov eax, dword [ecx]
jmp 0x450406
mov eax, ecx
push 0
push 0x53deb4
mov byte [eax], 0
call fcn.00409450
lea eax, [ebp - 0x28]
mov ecx, 0x556fb8
push eax
call fcn.00453c00
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x45043c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004092a0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov eax, dword [esi + 0x108]
inc edi
sub eax, dword [esi + 0x104]
sar eax, 2
cmp edi, eax
jb 0x450380
mov edx, dword [ebp - 0x34]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x450488
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret 8
Function at 0x4504b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x824]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x40
push 0
push eax
call fcn.004ab2f0
xor eax, eax
mov dword [ebp - 0x828], 0x44
push 0x7d0
push eax
mov word [ebp - 0x7f8], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x7d4]
push eax
movups xmmword [ebp - 0x7e4], xmm0
call fcn.004ab2f0
push esi
push edi
lea eax, [ebp - 0x7d4]
push str.__s___s
push eax
call fcn.0042c2c0
add esp, 0x28
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x7d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45058b
push 0xffffffffffffffff
push dword [ebp - 0x7e4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x7e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x7e0]
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x450597
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret
Function at 0x4505b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511afc
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5524b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.004ab2f0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.004028f0
test al, al
lea eax, [ebp - 0x218]
je 0x450621
push 0x51f544
jmp 0x450626
push 0x51f54c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450798
push ebx
lea eax, [ebp - 0x248]
push 0x51f558
push eax
call fcn.00445950
push 0x51f554
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
call fcn.0042b3e0
add esp, 0x18
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x450692
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00408870
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
cmp dword [edi + 0x10], eax
je 0x450750
push edi
lea eax, [ebp - 0x278]
push str.__args_
push eax
call fcn.00445950
push 0x51f554
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
call fcn.0042b3e0
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.004157e0
mov eax, dword [ebp - 0x24c]
cmp eax, 8
jb 0x450715
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00408870
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x450750
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00408870
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004504b0
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
mov esi, eax
cmp ecx, 8
jb 0x450796
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00408870
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4bd0
mov esp, ebp
pop ebp
ret