Function at 0x43f490
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c84a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0049ea80
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0xf0], edi
fld qword [esi]
fmul qword [0x5e27a0]
call sub.msvcrt.dll__ftol
fld qword [esi + 8]
fmul qword [0x5e27a0]
mov dword [esp + 0x2c], eax
call sub.msvcrt.dll__ftol
fld qword [esi + 0x10]
fmul qword [0x5e27a0]
mov dword [esp + 0x30], eax
call sub.msvcrt.dll__ftol
fld qword [esi + 0x18]
fmul qword [0x5e27a0]
mov dword [esp + 0x34], eax
call sub.msvcrt.dll__ftol
mov dword [esp + 0x38], eax
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push edi
push eax
call dword [sym.imp.user32.dll_InflateRect]
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x60]
mov eax, dword [esi + 8]
add eax, 0x64
push eax
call fcn.0049ebf0
mov ebx, dword [esi + 8]
xor eax, eax
cmp ebx, edi
mov dword [esp + 0xc], edi
jle 0x43f562
mov edx, dword [esi + 4]
mov ecx, dword [edx]
mov edi, dword [esp + 0xc]
mov ecx, dword [ecx + 0x148]
cmp edi, ecx
jg 0x43f55a
mov dword [esp + 0xc], ecx
inc eax
add edx, 4
cmp eax, ebx
jl 0x43f546
xor edi, edi
test ebx, ebx
jle 0x43f5b8
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
mov eax, dword [ecx + 0x148]
test eax, eax
jne 0x43f5b3
call fcn.0050b020
push edi
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004b7060
fmul qword [0x5e27a0]
mov ecx, dword [esp + 0x14]
sub esp, 8
fstp qword [esp]
call fcn.004b7040
fmul qword [0x5e27a0]
sub esp, 8
lea ecx, [esp + 0x70]
fstp qword [esp]
call fcn.0049ed90
inc edi
cmp edi, ebx
jl 0x43f568
lea ecx, [esp + 0x3c]
call fcn.004b6ca0
mov ecx, dword [esp + 0xc]
mov eax, 1
cmp ecx, eax
mov byte [esp + 0xf0], al
mov dword [esp + 0x10], eax
jl 0x43f66f
lea ecx, [esp + 0x3c]
call fcn.004b6ff0
xor edi, edi
test ebx, ebx
jle 0x43f612
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + edi*4]
cmp dword [ecx + 0x148], edx
jne 0x43f60d
call fcn.0050b020
push eax
lea ecx, [esp + 0x40]
call fcn.004b6dd0
inc edi
cmp edi, ebx
jl 0x43f5ec
lea ecx, [esp + 0x3c]
call fcn.004b70c0
test al, al
jne 0x43f65a
mov eax, dword [esp + 0x10]
lea ecx, [ebx + eax]
push ecx
lea ecx, [esp + 0x40]
call fcn.004b7060
fmul qword [0x5e27a0]
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.004b7040
fmul qword [0x5e27a0]
sub esp, 8
lea ecx, [esp + 0x70]
fstp qword [esp]
call fcn.0049ed90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x43f5dd
lea ecx, [esp + 0x5c]
call fcn.0049f3a0
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.004b7060
fmul qword [0x5e27a0]
mov ecx, edi
fmul qword [0x5e2790]
fstp qword [esp + 0x24]
call fcn.004b6ff0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], 0
call fcn.0049eea0
test eax, eax
jle 0x43f83f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push edx
call fcn.0049ee90
mov edi, eax
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 8]
fild dword [esp + 0xc]
cdq
fmul qword [0x5e2640]
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [edi + 0xc]
fstp qword [esp + 0x1c]
mov dword [esp + 0xc], ecx
cmp eax, ebx
fild dword [esp + 0xc]
fmul qword [0x5e2640]
fstp qword [esp + 0x14]
jle 0x43f7f0
lea ecx, [esp + 0x3c]
call fcn.004b6ff0
xor eax, eax
test ebx, ebx
mov dword [esp + 0xc], eax
jle 0x43f74d
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ecx + 0x148]
add edx, ebx
cmp dword [edi + 0xc], edx
jne 0x43f744
call fcn.0050b020
push eax
lea ecx, [esp + 0x40]
call fcn.004b6dd0
mov eax, dword [esp + 0xc]
inc eax
cmp eax, ebx
mov dword [esp + 0xc], eax
jl 0x43f71e
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x3c]
push eax
call fcn.004b6ed0
fld qword [esp + 0x1c]
fsub qword [eax]
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x40]
fstp qword [esp + 0x20]
fld qword [esp + 0x18]
fsub qword [esp + 0x28]
fstp qword [esp + 0x18]
call fcn.004b6ed0
fld qword [esp + 0x14]
fsub qword [eax + 8]
xor eax, eax
test ebx, ebx
mov dword [esp + 0xc], eax
fstp qword [esp + 0x14]
jle 0x43f825
mov edx, dword [esi + 4]
mov esi, dword [edx + eax*4]
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0x148]
add ecx, ebx
cmp edx, ecx
jne 0x43f7e2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov ecx, esi
call fcn.0050b020
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004b6dd0
mov eax, dword [esp + 0xc]
mov esi, dword [ebp + 0x10]
inc eax
cmp eax, ebx
mov dword [esp + 0xc], eax
jl 0x43f79e
jmp 0x43f825
fld qword [esp + 0x14]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x20]
fsub qword [esp + 0x24]
mov edi, dword [edx + eax*4]
mov edx, dword [esp + 0x1c]
sub esp, 8
mov eax, dword [edi]
fstp qword [esp]
push ecx
push edx
mov ecx, edi
call dword [eax + 8]
mov ecx, edi
call fcn.0050b020
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004b6dd0
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
inc edi
mov dword [esp + 0x10], edi
call fcn.0049eea0
cmp edi, eax
jl 0x43f6b2
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf0], 0
call fcn.0042bd50
lea ecx, [esp + 0x5c]
mov dword [esp + 0xf0], 0xffffffff
call fcn.0049eb30
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret