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

Disassembly:
push 0xffffffffffffffff
push 0x61cd40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov ax, word [ebx + 0xc]
mov esi, ecx
and eax, 0xffff
push edi
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x40]
mov eax, dword [ecx + eax*4]
lea edx, [eax + 4]
mov ax, word [edi + 0xc]
and eax, 0xffff
mov dword [esp + 0x14], edx
lea ebp, [edx + 0x1c]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + eax*4]
mov ecx, ebp
add eax, 4
mov dword [esp + 0x10], eax
add eax, 0x1c
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
push eax
call fcn.0045b830
cmp byte [esp + 0x48], 1
jne 0x45c2b6
mov byte [ebp + 0xa], 0xf7
jmp 0x45c2ba
mov byte [ebp + 0xa], 0xff
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
push ecx
mov ecx, ebp
call fcn.0045b830
cmp byte [esp + 0x48], 1
jne 0x45c2d7
mov byte [ebp + 0xa], 0xf7
jmp 0x45c2db
mov byte [ebp + 0xa], 0xff
push ebx
mov ecx, esi
call fcn.0045c560
test al, al
je 0x45c51e
mov ax, word [ebx + 0xc]
mov edx, dword [esi + 0xc]
and eax, 0xffff
mov dword [esp + 0x34], 0
mov eax, dword [edx + eax*4]
lea ecx, [eax + 4]
lea eax, [esp + 0x3c]
push eax
push ebx
lea ebp, [ecx + 0x1c]
call fcn.00459710
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, ebp
call fcn.0045b830
mov edx, dword [esp + 0x48]
mov ecx, ebp
push edx
call fcn.0045c540
lea eax, [esp + 0x3c]
mov ecx, ebp
push eax
call fcn.0045b7e0
mov ecx, eax
add ecx, 0x665240
call fcn.0045d7e0
test al, al
sete al
test al, al
mov dword [esp + 0x34], 0xffffffff
je 0x45c51e
push edi
mov ecx, esi
call fcn.0045c560
test al, al
je 0x45c51e
mov ax, word [edi + 0xc]
mov ecx, dword [esi + 0xc]
and eax, 0xffff
lea edx, [esp + 0x40]
push edx
push edi
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x3c], 1
lea ecx, [eax + 4]
lea esi, [ecx + 0x1c]
call fcn.00459710
mov eax, dword [esp + 0x44]
mov ecx, esi
push eax
call fcn.0045b830
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0045c540
lea edx, [esp + 0x40]
mov ecx, esi
push edx
call fcn.0045b7e0
mov ecx, eax
add ecx, 0x665240
call fcn.0045d7e0
test al, al
sete al
test al, al
mov dword [esp + 0x34], 0xffffffff
je 0x45c51e
mov ax, word [ebx + 0xc]
cmp ax, word [edi + 0xc]
je 0x45c4a5
mov ecx, dword [esp + 0x10]
fld dword [ecx + 0x10]
fcomp dword [ebx]
fnstsw ax
test ah, 0x41
jp 0x45c43b
fld dword [ecx + 4]
fcomp dword [ebx]
fnstsw ax
and eax, 0x100
jne 0x45c43b
fld dword [ecx + 0x18]
fcomp dword [ebx + 8]
fnstsw ax
test ah, 0x41
jp 0x45c43b
fld dword [ecx + 0xc]
fcomp dword [ebx + 8]
fnstsw ax
and eax, 0x100
jne 0x45c43b
fld dword [ecx + 0x14]
fcomp dword [ebx + 4]
fnstsw ax
test ah, 0x41
jp 0x45c43b
fld dword [ecx + 8]
fcomp dword [ebx + 4]
fnstsw ax
and eax, 0x100
je 0x45c4a9
mov ecx, dword [esp + 0x14]
fld dword [ecx + 0x10]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jp 0x45c51e
fld dword [ecx + 4]
fcomp dword [edi]
fnstsw ax
and eax, 0x100
jne 0x45c51e
fld dword [ecx + 0x18]
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x41
jp 0x45c51e
fld dword [ecx + 0xc]
fcomp dword [edi + 8]
fnstsw ax
and eax, 0x100
jne 0x45c51e
fld dword [ecx + 0x14]
fcomp dword [edi + 4]
fnstsw ax
test ah, 0x41
jp 0x45c51e
fld dword [ecx + 8]
fcomp dword [edi + 4]
fnstsw ax
and eax, 0x100
jne 0x45c51e
mov ecx, dword [esp + 0x18]
xor eax, eax
xor edx, edx
mov al, byte [ecx + 0x24]
mov dl, byte [ecx + 0x25]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x1c]
fild dword [esp + 0x44]
fld dword [ecx + 4]
fsub dword [ecx + 0x10]
mov dword [esp + 0x44], edx
push 0
lea edx, [esp + 0x28]
push eax
fdivp st(1)
push edx
mov dword [esp + 0x40], 3
fild dword [esp + 0x50]
fld dword [ecx + 0xc]
fsub dword [ecx + 0x18]
fdivp st(1)
fld dword [ebx + 8]
fsub dword [ecx + 0x18]
fmul st(1)
fld dword [ebx]
fsub dword [ecx + 0x10]
fmul st(3)
fstp dword [esp + 0x30]
fstp dword [esp + 0x34]
fld dword [edi + 8]
fsub dword [ecx + 0x18]
fmulp st(1)
fld dword [edi]
fsub dword [ecx + 0x10]
fmul st(2)
fstp dword [esp + 0x28]
fstp dword [esp + 0x2c]
fstp st(0)
call fcn.00459820
jmp 0x45c520
xor al, al
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10