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

Disassembly:
push 0xffffffffffffffff
push 0x68d869
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x40], 1
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
cmp esi, ebp
je 0x44dd87
cmp edi, ebx
je 0x44dd87
push esi
mov ecx, edi
call fcn.0044f1d0
lea ecx, [esp + 0x54]
test al, al
je 0x44dd77
push edi
call fcn.0044e710
add edi, 0x94
cmp edi, ebx
jmp 0x44dd85
push esi
call fcn.0044e710
add esi, 0x94
cmp esi, ebp
jne 0x44dd57
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x10], eax
mov byte [esp + 0x54], 2
push ebp
mov byte [esp + 0x58], 1
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.0044d570
add esp, 0x18
mov byte [esp + 0x40], 3
mov eax, dword [eax + 0x10]
mov dword [esp + 0x64], eax
mov byte [esp + 0x40], 1
mov esi, dword [esp + 0x24]
test esi, esi
je 0x44de10
cmp esi, dword [esp + 0x2c]
je 0x44de07
lea ebx, [ebx]
mov ecx, esi
call fcn.0044c3e0
add esi, 0x94
cmp esi, dword [esp + 0x2c]
jne 0x44ddf0
mov esi, dword [esp + 0x24]
push esi
call fcn.005472b4
add esp, 4
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x10], eax
mov byte [esp + 0x54], 4
push ebx
mov byte [esp + 0x58], 1
mov edx, edi
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.0044d570
add esp, 0x18
mov dword [esp + 0x14], 1
mov byte [esp + 0x40], 0
mov esi, dword [esp + 0x54]
test esi, esi
je 0x44de91
cmp esi, dword [esp + 0x5c]
je 0x44de88
mov ecx, esi
call fcn.0044c3e0
add esi, 0x94
cmp esi, dword [esp + 0x5c]
jne 0x44de71
mov esi, dword [esp + 0x54]
push esi
call fcn.005472b4
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x44e580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x688b43
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x73d6e0]
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.00409040
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.00409040
mov byte [esp + 0x18], 1
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov ax, word [esi + 0x34]
mov word [edi + 0x34], ax
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 0x44e630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68d969
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x73d6e0]
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.00409040
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.00409040
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.00409040
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.00409040
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 0x44eab0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x68da0f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
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 + 0x14], eax
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], eax
mov word [esi + 0x18], ax
mov byte [esp + 0x14], 1
mov dword [esi + 0x44], 7
mov dword [esi + 0x40], eax
mov word [esi + 0x30], ax
mov byte [esp + 0x14], 2
mov dword [esi + 0x5c], 7
mov dword [esi + 0x58], eax
mov word [esi + 0x48], ax
mov byte [esp + 0x14], 3
mov dword [esi + 0x74], 7
mov dword [esi + 0x70], eax
mov word [esi + 0x60], ax
mov byte [esp + 0x14], 4
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], eax
mov word [esi + 0x78], ax
mov byte [esp + 0x14], 5
push 0x35c
push eax
lea eax, [esi + 0x98]
push eax
call fcn.00549c70
add esp, 0xc
xor eax, eax
mov dword [esi + 0x90], eax
mov word [esi + 0x94], ax
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
Function at 0x450b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68aa18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00451150
mov dword [esp + 0x30], 0
lea esi, [esp + 0xc]
cmp dword [esp + 0x20], 8
cmovae esi, dword [esp + 0xc]
call fcn.00461d50
push ecx
push esi
mov ecx, eax
call fcn.00461e00
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x450bcb
push dword [esp + 0xc]
call fcn.005472b4
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.005472b9
add esp, 0x28
ret
Function at 0x451bd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x68dfc0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x73d6e0]
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.00547bd8
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 0x452280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68d969
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x73d6e0]
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.00409040
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.00409040
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.00409040
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.00409040
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 0x453b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68e3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.RC::RCFileHash.0
mov dword [edi + 4], 0
mov dword [esp + 0x14], edi
mov byte [edi + 8], 0
mov dword [esp + 0x38], 0
mov dword [edi], vtable.RC::RCFileHashCalc.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [esp + 0x38], 2
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [edi], vtable.RC::RCMD5.0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x38], 3
push 8
movq qword [esp + 0x28], xmm0
call fcn.00547bd8
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 4
test eax, eax
je 0x453bd4
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
call fcn.0042b0f0
jmp 0x453bd6
xor eax, eax
mov byte [esp + 0x38], 3
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00425e80
mov byte [esp + 0x38], 5
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00442350
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0xc]
call fcn.00463b80
mov byte [esp + 0x38], 3
mov esi, dword [esp + 0x28]
test esi, esi
je 0x453c47
or ebx, 0xffffffff
lea ecx, [esi + 4]
mov eax, ebx
lock xadd dword [ecx], eax
jne 0x453c47
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x453c47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x38], 2
mov esi, dword [esp + 0x18]
test esi, esi
je 0x453c85
push dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00442ce0
push esi
call fcn.005472b4
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005472b9
add esp, 0x2c
ret
Function at 0x4558d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x68e6a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
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 0x455978
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.00455830
add esp, 8
test al, al
jne 0x455980
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 0x455a1a
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 0x455a18
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 + 0x6f8830]
cvtdq2pd xmm0, xmm0
mov ecx, dword [edi + 0x10]
addsd xmm0, qword [eax*8 + 0x6f8830]
divsd xmm1, xmm0
movsd qword [edi + 0x18], xmm1
call fcn.0055225e
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 + 0x6f8830]
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.005472b9
add esp, 0x20
ret 0x10

Function at 0x455c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68aa18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00455da0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.00456680
mov esi, eax
mov edi, edx
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x455c9a
push dword [esp + 0xc]
call fcn.005472b4
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.005472b9
add esp, 0x28
ret
Function at 0x457c40
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 4], eax
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, ecx
push edi
mov edi, dword [esp + 0x18]
mov dword [ebx], 0
cmp dword [ebp], 0xffffffff
jne 0x457c7d
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005472b9
add esp, 8
ret 0xc
push esi
mov esi, dword [esp + 0x20]
mov ecx, 0x100000
jmp 0x457c90
cmp esi, 0x100000
mov dword [esp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
test eax, eax
setne al
add dword [ebx], ecx
test al, al
je 0x457cea
test ecx, ecx
je 0x457cd3
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x457c90
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005472b9
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x14]
xor al, al
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.005472b9
add esp, 8
ret 0xc

Function at 0x457f40
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edi
mov edi, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x457f6e
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005472b9
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 0x457fa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x457fa9
pop esi
xor al, al
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005472b9
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.005472b9
add esp, 8
ret 4

Function at 0x459260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68ecd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
lea esi, [edi + 0x58]
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], esi
test esi, esi
je 0x4592c2
mov eax, dword [esi]
test eax, eax
je 0x4592c2
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x5c]
call fcn.0045a6a0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4592e5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x459306
mov eax, dword [esi]
test eax, eax
je 0x4592fe
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005472b9
add esp, 0x20
ret 4
Function at 0x4594b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68ed58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea ebx, [esi + 0xc]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x459505
mov eax, dword [ebx]
test eax, eax
je 0x459505
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
push esi
lea ecx, [esp + 0x20]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
call fcn.0045a510
mov byte [esp + 0x38], 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x459546
mov eax, dword [ebx]
test eax, eax
je 0x459540
push eax
call esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov edi, eax
cmp eax, dword [esp + 0x20]
je 0x459624
mov ebx, dword [esp + 0x10]
lea ebx, [ebx]
lea esi, [ebx + 0xc]
mov dword [esp + 0x18], esi
test esi, esi
je 0x459578
mov eax, dword [esi]
test eax, eax
je 0x459578
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x38], 2
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x4595eb
mov edx, dword [eax]
mov dword [esp + 0x10], edx
test edx, edx
je 0x459594
cmp edx, dword [edi]
je 0x45959d
add eax, 0x18
cmp eax, ecx
jne 0x459586
jmp 0x4595eb
push eax
call fcn.00459aa0
test al, al
je 0x4595cb
test esi, esi
je 0x4595be
mov eax, dword [esi]
test eax, eax
je 0x4595b8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x18], esi
push dword [esp + 0x10]
mov ecx, ebx
call fcn.00459ee0
jmp 0x4595eb
test esi, esi
je 0x4595e2
mov eax, dword [esi]
test eax, eax
je 0x4595dc
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x10]
call fcn.004488c0
mov byte [esp + 0x38], 1
test esi, esi
je 0x459609
mov eax, dword [esi]
test eax, eax
je 0x459601
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
add edi, 0x18
cmp edi, dword [esp + 0x20]
jne 0x459560
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 0
test eax, eax
je 0x45964e
push eax
call fcn.005472b4
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0xffffffff
test ebx, ebx
je 0x45966b
mov eax, dword [ebx]
test eax, eax
je 0x459663
push eax
call esi
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret
Function at 0x4598b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68ed98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
lea ebx, [edi + 0xc]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x459905
mov eax, dword [ebx]
test eax, eax
je 0x459905
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x38], 1
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x45996a
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
lea esp, [esp]
cmp edi, dword [esi]
jne 0x459962
push esi
lea ecx, [esp + 0x20]
call fcn.0045a5d0
mov eax, dword [esp + 0x10]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x459950
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x459983
mov eax, dword [ebx]
test eax, eax
je 0x45997d
push eax
call esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov edi, eax
cmp eax, dword [esp + 0x20]
je 0x459a32
mov ebx, dword [esp + 0x10]
lea esi, [ebx + 0xc]
mov dword [esp + 0x10], esi
test esi, esi
je 0x4599af
mov eax, dword [esi]
test eax, eax
je 0x4599af
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x38], 2
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x4599f9
lea ecx, [ecx]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
test edx, edx
je 0x4599ce
cmp edx, dword [edi]
je 0x4599d7
add eax, 0x18
cmp eax, ecx
jne 0x4599c0
jmp 0x4599f9
test esi, esi
je 0x4599f2
mov eax, dword [esi]
test eax, eax
je 0x4599ec
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x10], esi
mov ecx, edx
call fcn.004488c0
mov byte [esp + 0x38], 1
test esi, esi
je 0x459a17
mov eax, dword [esi]
test eax, eax
je 0x459a0f
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x10], 0
add edi, 0x18
cmp edi, dword [esp + 0x20]
jne 0x459997
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 0
test eax, eax
je 0x459a5c
push eax
call fcn.005472b4
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0xffffffff
test ebx, ebx
je 0x459a79
mov eax, dword [ebx]
test eax, eax
je 0x459a71
push eax
call esi
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 4