joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x34
call fcn.004b1806
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], 0
test esi, esi
je 0x45478c
push 0x34
push 0
push esi
call fcn.004b5340
add esp, 0xc
mov ecx, esi
call fcn.004543f0
mov esi, eax
jmp 0x45478e
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
lea eax, [edi + 0xc]
push ecx
push 3
push 3
push 0x80000000
push eax
lea ecx, [esi + 0x18]
call fcn.00470210
test al, al
jne 0x4547c0
test esi, esi
je 0x4547bc
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor eax, eax
jmp 0x454808
lea eax, [esp + 0xc]
xorps xmm0, xmm0
push eax
push 1
push 0
push 0
lea ecx, [edi + 8]
movlpd qword [esp + 0x1c], xmm0
call fcn.00470430
test al, al
je 0x4547b0
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
push ecx
push 0
push dword [esp + 0x18]
movlpd qword [esp + 0x20], xmm0
lea ecx, [esi + 8]
mov eax, dword [esi + 8]
push dword [esp + 0x18]
call dword [eax + 0x14]
test eax, eax
jne 0x4547b4
lea eax, [esi + 8]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004b0ff2
mov esp, ebp
pop ebp
ret
Function at 0x455b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7fe9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
push 0x18
call fcn.004b1806
add esp, 4
mov dword [edi + 0x20], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x38], 0
lea esi, [edi + 0x24]
mov dword [esi], 0
xor eax, eax
mov byte [esi + 4], 0
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov dword [esp + 0x14], esi
mov word [esi + 8], ax
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
push eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push 0x4ecf30
mov byte [edi + 8], al
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
call fcn.00402ad0
mov byte [esp + 0x38], 3
mov eax, dword [esi]
test eax, eax
je 0x455bfa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 0
mov dword [esi], 0
jne 0x455c0b
xor eax, eax
jmp 0x455c19
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
lea ecx, [esi + 8]
sete al
mov byte [esi + 4], al
lea eax, [esp + 0x18]
cmp ecx, eax
je 0x455c4e
push 0xffffffffffffffff
push 0
push eax
call fcn.004029b0
mov byte [esp + 0x38], 2
cmp dword [esp + 0x2c], 8
jb 0x455c66
push dword [esp + 0x18]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
mov dword [esp + 0x38], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x4560f0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4d3c28
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
test edi, edi
jne 0x456132
xor al, al
jmp 0x4561f7
add edi, 0x20
mov dword [esp + 0x14], edi
je 0x456148
mov eax, dword [edi]
test eax, eax
je 0x456148
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x24], 0
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0
je 0x4561d2
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea ebx, [esi + 4]
push 1
push ebx
call ebp
mov eax, dword [esi + 8]
add eax, 0xc
push eax
push 4
push esi
push 0x455ca0
push 0
push 0
call fcn.004b3da8
mov ecx, dword [esi + 8]
add esp, 0x18
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x4561bb
mov byte [eax + 8], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4561a6
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x4561bb
mov bl, 1
jmp 0x4561d4
push 0xffffffffffffffff
push ebx
call ebp
dec eax
jne 0x4561ca
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esi + 8]
call fcn.00455e50
xor bl, bl
mov dword [esp + 0x24], 0xffffffff
test edi, edi
je 0x4561f5
mov eax, dword [edi]
test eax, eax
je 0x4561ed
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x14
ret
Function at 0x456340
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d824b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
push 0
push 0
mov dword [esp + 0x18], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00426d80
mov dword [edi], eax
mov dword [esp + 0x1c], 2
lea esi, [edi + 8]
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004351a0
mov dword [esi], eax
mov byte [esp + 0x1c], 7
lea esi, [edi + 0x10]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045bae0
mov dword [esi], eax
mov byte [esp + 0x1c], 0xa
lea esi, [edi + 0x18]
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004351a0
mov dword [esi], eax
mov byte [esp + 0x1c], 0xf
lea esi, [edi + 0x20]
mov dword [esp + 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045bca0
mov dword [esi], eax
mov byte [esp + 0x1c], 0x14
lea esi, [edi + 0x28]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045bb90
mov dword [esi], eax
mov byte [esp + 0x1c], 0x17
lea esi, [edi + 0x30]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045bb90
mov dword [esi], eax
mov byte [esp + 0x1c], 0x1a
lea esi, [edi + 0x38]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0045bb90
mov dword [esi], eax
mov byte [esp + 0x1c], 0x1d
lea ecx, [edi + 0x40]
call fcn.00401b50
mov byte [esp + 0x1c], 0x1e
xor eax, eax
mov dword [edi + 0x8c], 7
mov dword [edi + 0x88], 0
mov word [edi + 0x78], ax
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4565b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d840b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], 8
cmp dword [edi + 0x8c], 8
jb 0x4565f7
push dword [edi + 0x78]
call fcn.004b17b6
add esp, 4
mov dword [edi + 0x8c], 7
xor eax, eax
mov dword [edi + 0x88], 0
mov word [edi + 0x78], ax
mov byte [esp + 0x20], 7
lea ecx, [edi + 0x40]
call fcn.00402150
mov byte [esp + 0x20], 6
lea esi, [edi + 0x38]
mov dword [esp + 0x10], esi
mov byte [esp + 0x20], 0xa
mov ecx, esi
call fcn.0045ade0
mov byte [esp + 0x20], 6
push dword [esi]
call fcn.004b17b6
add esp, 4
mov byte [esp + 0x20], 5
lea esi, [edi + 0x30]
mov dword [esp + 0x10], esi
mov byte [esp + 0x20], 0xc
mov ecx, esi
call fcn.0045ade0
mov byte [esp + 0x20], 5
push dword [esi]
call fcn.004b17b6
add esp, 4
mov byte [esp + 0x20], 4
lea esi, [edi + 0x28]
mov dword [esp + 0x10], esi
mov byte [esp + 0x20], 0xe
mov ecx, esi
call fcn.0045acb0
mov byte [esp + 0x20], 4
push dword [esi]
call fcn.004b17b6
add esp, 4
mov byte [esp + 0x20], 3
lea esi, [edi + 0x20]
mov dword [esp + 0x10], esi
mov byte [esp + 0x20], 0x11
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.0045b140
mov byte [esp + 0x20], 3
push dword [esi]
call fcn.004b17b6
add esp, 4
mov byte [esp + 0x20], 2
lea esi, [edi + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0x15
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.0045b080
mov byte [esp + 0x20], 2
push dword [esi]
call fcn.004b17b6
add esp, 4
mov byte [esp + 0x20], 1
lea esi, [edi + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0x18
mov ecx, esi
call fcn.0045ab40
mov byte [esp + 0x20], 1
push dword [esi]
call fcn.004b17b6
add esp, 4
mov byte [esp + 0x20], 0
lea esi, [edi + 8]
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 0x1b
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.0045b080
mov byte [esp + 0x20], 0
push dword [esi]
call fcn.004b17b6
add esp, 4
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], 0x1e
mov ecx, edi
call fcn.00426be0
mov dword [esp + 0x20], 0xffffffff
push dword [edi]
call fcn.004b17b6
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4568c0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d8498
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
push dword [eax + 4]
call fcn.0045af10
mov eax, dword [edi + 8]
lea ecx, [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 8], eax
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x18]
push dword [eax + 4]
call fcn.0045af10
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [eax], eax
mov eax, dword [edi + 0x18]
mov dword [eax + 8], eax
mov dword [edi + 0x1c], 0
call fcn.0045ab40
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x20]
push dword [eax + 4]
call fcn.0045afb0
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x28]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x20]
mov dword [eax], eax
mov eax, dword [edi + 0x20]
mov dword [eax + 8], eax
mov dword [edi + 0x24], 0
call fcn.0045acb0
lea ecx, [edi + 0x30]
call fcn.0045ade0
push 0
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00426d80
mov ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], 2
lea eax, [esp + 0x10]
cmp edi, eax
je 0x4569b6
mov eax, dword [edi]
mov dword [edi], ecx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [edi + 4], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 3
lea ecx, [esp + 0x10]
call fcn.00426be0
mov dword [esp + 0x20], 0xffffffff
push dword [esp + 0x10]
call fcn.004b17b6
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x45f880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d29b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.0045fe80
mov dword [esp + 0x30], 0
lea esi, [esp + 0xc]
cmp dword [esp + 0x20], 8
cmovae esi, dword [esp + 0xc]
call fcn.0040e3f0
push ecx
push esi
mov ecx, eax
call fcn.0040e4c0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x45f8fb
push dword [esp + 0xc]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x28
ret

Function at 0x460620
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9a20
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x18], eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], eax
mov word [esi + 0x18], ax
mov byte [esp + 0x18], 1
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov byte [esp + 0x18], 2
mov dword [esi + 0x6c], 7
mov dword [esi + 0x68], eax
mov word [esi + 0x58], ax
mov byte [esp + 0x18], 3
push 0x18
call fcn.004b1806
add esp, 4
mov dword [esi + 0x80], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x18], 4
lea eax, [esi + 0x84]
mov dword [eax], 0
xor ecx, ecx
mov byte [eax + 4], 0
mov dword [eax + 0x1c], 7
mov dword [eax + 0x18], 0
mov dword [esp + 0xc], eax
mov word [eax + 8], cx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x460ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d4b69
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.004029b0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.004029b0
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.004029b0
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.004029b0
mov byte [esp + 0x18], 3
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov byte [edi + 0x64], al
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x464430
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4da0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov dword [ebx], 0
cmp dword [ebp + 4], 0
je 0x4644d8
lea esi, [ebp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [esp + 0x30], 0
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [ebp + 4]
call fcn.00464390
add esp, 8
test al, al
jne 0x4644e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call eax
or eax, 0xffffffff
jmp 0x46457a
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push esi
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov eax, dword [esp + 0x20]
add dword [edi + 0x10], eax
adc dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x20]
mov ebx, eax
cmp ebx, dword [edi + 4]
je 0x464578
movd xmm1, esi
mov ecx, esi
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
shr eax, 0x1f
mov edx, dword [edi + 0x14]
movd xmm0, ebx
addsd xmm1, qword [ecx*8 + 0x4f33f0]
cvtdq2pd xmm0, xmm0
mov ecx, dword [edi + 0x10]
addsd xmm0, qword [eax*8 + 0x4f33f0]
divsd xmm1, xmm0
movsd qword [edi + 0x18], xmm1
call fcn.004cd92e
mov ecx, ebx
mov dword [edi + 4], ebx
sub ecx, dword [edi]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
addsd xmm1, qword [ecx*8 + 0x4f33f0]
divsd xmm0, xmm1
movsd qword [edi + 0x20], xmm0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x20
ret 0x10

Function at 0x464790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d29b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00464900
mov dword [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.0048ebe0
mov esi, eax
mov edi, edx
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x4647fa
push dword [esp + 0xc]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov edx, edi
mov dword [esp + 0x1c], 0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x28
ret
Function at 0x4687b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da876
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
cmp dword [esi + 0x30], 8
jb 0x4687f1
push dword [esi + 0x1c]
call fcn.004b17b6
add esp, 4
mov dword [esi + 0x30], 7
xor eax, eax
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x18], 8
jb 0x46881e
push dword [esi + 4]
call fcn.004b17b6
add esp, 4
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x46eca0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4db38c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov eax, dword [eax]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.004029b0
mov dword [esp + 0x14], 0
lea eax, [esi + 0x18]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0x1c], eax
mov word [eax], cx
mov byte [esp + 0x14], 1
mov dword [eax + 0x2c], 7
mov dword [eax + 0x28], ecx
mov word [eax + 0x18], cx
mov byte [esp + 0x14], 2
mov dword [eax + 0x44], 7
mov dword [eax + 0x40], ecx
mov word [eax + 0x30], cx
mov byte [esp + 0x14], 3
mov dword [eax + 0x5c], 7
mov dword [eax + 0x58], ecx
mov word [eax + 0x48], cx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x4703a0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x4703ce
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004b0ff2
add esp, 8
ret 4
push esi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x470409
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x470409
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004b0ff2
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, esi
mov dword [edi], eax
mov al, 1
adc ecx, 0
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0xc]
pop esi
pop edi
xor ecx, esp
call fcn.004b0ff2
add esp, 8
ret 4
Function at 0x470510
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4db5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x50c620]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50c620]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x470566
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x4706eb
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x100000
mov eax, dword [esp + 0x54]
push 0
mov ebx, eax
mov dword [esp + 0x34], 0
cmp eax, 0x100000
lea eax, [esp + 0x34]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x4706b0
test eax, eax
je 0x4706b0
mov ecx, dword [esp + 0x30]
jmp 0x4705d0
cmp ecx, ebx
jae 0x4706b4
call ebp
mov ecx, dword [edi]
mov dword [esp + 0x18], eax
cmp ecx, 0xffffffff
je 0x470613
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x470606
call ebp
test eax, eax
jne 0x470613
mov eax, dword [esp + 0x38]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x470624
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
push dword [esp + 0x1c]
push eax
push ecx
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [edi + 4]
push eax
call fcn.004029b0
mov dword [esp + 0x70], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x70], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4706b0
push eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x30]
neg eax
sbb eax, eax
add ecx, dword [esp + 0x34]
and eax, 0x7fffbffb
mov dword [esp + 0x30], ecx
add eax, 0x80004005
jne 0x4705d0
jmp 0x4706b4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
add dword [edx], ecx
test eax, eax
jne 0x4706e1
test ecx, ecx
je 0x4706dd
mov eax, dword [esp + 0x54]
add esi, ecx
sub eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], eax
mov ecx, 0x100000
jne 0x470584
mov al, 1
jmp 0x4706ed
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4706eb
mov dword [ecx], eax
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004b0ff2
add esp, 0x38
ret 0x10