Function at 0x42aeb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x492040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x4b592c]
push ebx
push ebp
xor ebx, ebx
push esi
mov ebp, 0xf
mov dword [esp + 0x84], eax
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov dword [esp + 0x94], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
mov eax, dword [esp + 0xa4]
mov ecx, dword [ecx + 4]
imul eax, eax, 0x1c
push 0xffffffffffffffff
add eax, ecx
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 1
call fcn.00403cf0
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0xa0]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x94], 3
jbe 0x42b08e
jmp 0x42af70
mov eax, dword [esp + 0x84]
mov ecx, 0x10
cmp eax, ecx
mov eax, dword [esp + 0x70]
jae 0x42af88
lea eax, [esp + 0x70]
mov al, byte [eax + esi]
cmp al, 0x20
jne 0x42b067
cmp dword [esp + 0x30], ecx
mov eax, dword [esp + 0x1c]
jae 0x42afa1
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.004522c0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
cmp eax, 0x10
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x10]
jae 0x42afc6
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.004522c0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
fadd dword [esp + 0x18]
fcomp dword [esp + 0xb0]
fnstsw ax
test ah, 0x41
jne 0x42b03b
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
call fcn.00405330
push 2
push 0x49ec10
lea ecx, [esp + 0x58]
call fcn.00405420
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
call fcn.00403cf0
push 1
push 0x49dc2c
lea ecx, [esp + 0x20]
call fcn.00405420
push ebx
push 0x4975b9
lea ecx, [esp + 0x3c]
call fcn.00403de0
jmp 0x42b073
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call fcn.00405330
push 0x20
push 1
lea ecx, [esp + 0x20]
call fcn.0042adb0
push ebx
push 0x4975b9
lea ecx, [esp + 0x3c]
call fcn.00403de0
jmp 0x42b073
push eax
push 1
lea ecx, [esp + 0x3c]
call fcn.0042adb0
mov eax, dword [esp + 0x80]
inc esi
cmp esi, eax
jb 0x42af70
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x42b092
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.004522c0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
cmp eax, 0x10
mov eax, dword [esp + 0x38]
fstp dword [esp + 0x14]
jae 0x42b0b7
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.004522c0
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
push eax
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
call fcn.00405330
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
lea ecx, [esp + 0x50]
fcomp dword [esp + 0xa8]
fnstsw ax
test ah, 0x41
jne 0x42b110
push 2
push 0x49ec10
call fcn.00405420
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
push ebx
push ecx
lea ecx, [esp + 0x5c]
jmp 0x42b118
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x3c]
push edx
call fcn.00405330
mov esi, dword [esp + 0x9c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x58]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00403cf0
mov eax, dword [esp + 0x30]
mov edi, 0x10
cmp eax, edi
jb 0x42b156
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045bfbd
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
jb 0x42b175
mov edx, dword [esp + 0x38]
push edx
call fcn.0045bfbd
add esp, 4
cmp dword [esp + 0x68], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
jb 0x42b194
mov eax, dword [esp + 0x54]
push eax
call fcn.0045bfbd
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
jb 0x42b1b6
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0045bfbd
add esp, 4
mov ecx, dword [esp + 0x8c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7c]
pop ebx
call fcn.0045c1a1
add esp, 0x88
ret 0x10