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

Disassembly:
sub esp, 0xf0
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0xa8]
call fcn.004f4ce0
mov ebp, dword [esp + 0x104]
mov eax, dword [ebp + 0x88]
xor esi, esi
xor edi, edi
cmp eax, esi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], edi
je 0x49c700
mov eax, dword [eax + 0x24]
mov dword [esp + 0x14], eax
mov edi, eax
mov ebx, dword [esp + 0x108]
mov eax, dword [ebx + 0x24]
test ah, 0x40
je 0x49c771
and eax, 0x10000
lea esi, [ebx + 0xc0]
mov dword [ebx + 0x24], eax
push esi
je 0x49c737
mov ecx, dword [ebx + 0xbc]
mov edx, dword [0x68008c]
push 1
push ecx
mov ecx, dword [edx + 0x1b90]
jmp 0x49c74c
mov eax, dword [ebx + 0xbc]
mov ecx, dword [0x68008c]
mov ecx, dword [ecx + 0x1b90]
push 0xffffffffffffffff
push eax
call fcn.00510c00
mov edx, dword [0x62fac8]
mov ecx, dword [0x6800ec]
push 7
push 0
push 0x43fa0000
push esi
push 0x43
push edx
call fcn.004b5870
xor esi, esi
mov eax, dword [ebx + 0x24]
test ah, 2
je 0x49cea4
mov edx, dword [ebx + 0x98]
lea eax, [esp + 0x24]
push eax
lea ecx, [ebx + 0x28]
push ecx
mov ecx, dword [ebx + 0x94]
push edx
call fcn.004d26c0
mov ecx, dword [ebp + 0x8c]
cmp ecx, esi
je 0x49c840
cmp dword [ecx + 4], 1
jne 0x49c840
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
je 0x49c840
mov edx, dword [0x680098]
mov ecx, dword [ebp + 0x8c]
mov eax, dword [edx + 0x10]
cmp eax, dword [ecx + 0x248]
jbe 0x49c840
cmp edi, esi
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x58], esi
mov dword [esp + 0x4c], 0x2ee
mov dword [esp + 0x54], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], esi
je 0x49c829
mov eax, dword [edi + 0x3b8]
mov dword [esp + 0x50], eax
fld dword [esp + 0x50]
fcomp dword [0x5dfbcc]
fnstsw ax
test ah, 5
jp 0x49c831
mov dword [esp + 0x50], 0x43960000
jmp 0x49c831
mov dword [esp + 0x50], 0x447a0000
push esi
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x50], esi
call fcn.00495db0
xor edi, edi
cmp word [0x6315b0], di
mov byte [esp + 0x13], 1
jbe 0x49cea4
mov esi, 0x62ff80
lea esp, [esp]
mov al, byte [esp + 0x13]
test al, al
je 0x49c93e
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [0x680120]
push eax
call fcn.004df0d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
mov ecx, dword [ebp + 0x8c]
test ecx, ecx
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x18]
mov dword [esp + 0x20], eax
fld dword [esp + 0x1c]
mov dword [esp + 0x30], 0x49742400
fsub dword [esp + 0x28]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x20]
je 0x49c8f0
movzx edx, byte [ecx + 0x15]
movsx eax, byte [0x61b0ec]
cmp edx, eax
jne 0x49c8f0
cmp dword [ecx + 4], 1
jne 0x49c8f0
mov edx, dword [ecx]
push 1
call dword [edx + 0x5c]
cmp eax, 1
jne 0x49c8f0
mov dword [esp + 0x30], 0x4bbebc20
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 0x41
jp 0x49c91c
mov byte [esp + 0x13], 0
movzx eax, word [0x6315b0]
inc edi
add esi, 0x58c
cmp edi, eax
jb 0x49c860
mov al, byte [esp + 0x13]
test al, al
jne 0x49cea4
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x68008c]
call fcn.004e2010
xor esi, esi
test eax, eax
je 0x49c996
mov ecx, dword [ebx + 0xb4]
cmp ecx, esi
je 0x49c981
mov eax, dword [ecx + 4]
cmp eax, 1
je 0x49c996
cmp eax, 4
je 0x49c996
cmp eax, esi
jne 0x49c981
mov edx, dword [ecx + 0x24]
mov eax, dword [edx + 0x80]
mov ecx, dword [eax + 0x44]
cmp dword [ecx + 0x24], 8
je 0x49c996
mov eax, dword [ebp + 0x88]
lea edx, [esp + 0x24]
push edx
push eax
push ebx
call fcn.0049c2e0
add esp, 0xc
mov eax, dword [ebx + 0xb4]
cmp eax, esi
mov dword [esp + 0x30], esi
je 0x49c9cf
mov ecx, dword [eax + 4]
cmp ecx, 1
je 0x49c9c7
cmp ecx, 4
je 0x49c9c7
cmp ecx, esi
jne 0x49c9cf
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0x80]
mov eax, dword [edx + 0x44]
cmp dword [eax + 0x24], 8
jne 0x49c9cf
mov dword [esp + 0x30], 1
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [ebp + 0x14]
push eax
push ebx
call fcn.004f49d0
mov al, byte [ebp + 4]
add esp, 0x10
test al, 4
je 0x49cae0
fld dword [ebp + 0x48]
fcomp dword [0x5e8c40]
fnstsw ax
test ah, 0x41
jne 0x49cae0
cmp dword [esp + 0x30], esi
jne 0x49cae0
call fcn.004bd590
test al, 1
je 0x49cae0
cmp dword [ebp + 0x94], esi
je 0x49ca2b
mov dword [ebp], 0x66
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
push ebp
push ebx
call fcn.0049c650
fstp dword [esp + 4]
add esp, 4
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call fcn.004f3c40
mov eax, dword [ebx + 0xb4]
cmp eax, esi
je 0x49ca5f
cmp dword [eax + 4], 1
je 0x49ca80
mov edx, dword [0x634350]
push 7
push esi
push 0x43960000
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [0x6800ec]
push 7
push edx
call fcn.004b5870
mov ecx, dword [ebp + 0x8c]
lea eax, [ebp + 8]
mov edx, dword [eax]
mov dword [esp + 0x84], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x88], edx
push 1
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x9c], 0x1f4
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0xa0], 0x447a0000
mov dword [esp + 0x98], esi
call fcn.00495db0
mov eax, dword [ebx + 0x9c]
cmp eax, esi
je 0x49cea4
movzx eax, word [eax + 2]
mov ecx, dword [0x68010c]
push eax
call fcn.00547360
mov edi, eax
mov eax, dword [ebp + 4]
xor esi, esi
test ah, 8
je 0x49cc0e
mov ecx, dword [esp + 0x14]
fld dword [0x5f53f4]
cmp ecx, esi
je 0x49cb33
movzx edx, word [ecx + 0x90]
fstp st(0)
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x5da304]
cmp ecx, esi
fld dword [0x5da2f8]
je 0x49cb48
fstp st(0)
fld dword [ebp + 0x48]
fdiv dword [ecx + 0xe8]
test ah, ah
jns 0x49cb5c
mov eax, dword [ebx + 0xb4]
cmp eax, esi
je 0x49cb5c
cmp dword [eax + 4], 1
je 0x49cb70
fmul st(1)
fcomp dword [edi + 0x1c]
fnstsw ax
fstp st(0)
test ah, 1
jne 0x49cc0e
jmp 0x49cb74
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
mov edx, eax
mov dword [esp + 0x18], eax
mov eax, ecx
mov dword [esp + 0x60], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], ecx
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x70], ecx
call fcn.00529e10
fld dword [esp + 0x74]
fadd dword [esp + 0x2c]
add esp, 8
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x70]
mov dword [esp + 0x78], ecx
fadd dword [esp + 0x28]
mov ecx, dword [ebp + 0x40]
push ecx
mov ecx, ebp
fstp dword [esp + 0x20]
fld dword [esp + 0x78]
mov edx, dword [esp + 0x20]
fadd dword [esp + 0x30]
mov dword [esp + 0x80], edx
mov edx, dword [ebp + 0x44]
push edx
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
push 0x3f19999a
lea eax, [esp + 0x84]
push eax
call fcn.004f3c40
mov al, byte [edi + 0x14]
test al, al
mov eax, dword [esp + 0x30]
jns 0x49ce02
cmp eax, esi
jne 0x49ce80
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x68008c]
call fcn.004e2010
cmp eax, 1
jne 0x49ce06
mov ebx, 8
jmp 0x49cc50
push 0x41f00000
push 0xc1f00000
call fcn.004bd540
fadd dword [esp + 0x40]
push 0x41a00000
push 0xc1a00000
fstp dword [esp + 0xe0]
call fcn.004bd540
fadd dword [esp + 0x44]
push 0x41000000
push 0x40000000
mov dword [esp + 0xf4], esi
fstp dword [esp + 0xe4]
mov dword [esp + 0x110], 0x3f800000
mov dword [esp + 0x10c], 0x3f800000
mov dword [esp + 0x108], 0x3f800000
mov dword [esp + 0x114], 0x3e4ccccd
call fcn.004bd540
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
or edx, 2
mov dword [esp + 0xf4], edx
mov edx, dword [ebp + 0x20]
fmul dword [0x5da2d4]
mov dword [esp + 0xc4], eax
add esp, 0x18
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xa8]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x6800e4]
fstp dword [esp + 0xc8]
push eax
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xd8], 0x66
mov dword [esp + 0xb8], edx
call fcn.004f54c0
mov esi, eax
test esi, esi
je 0x49cdf7
push 0x3f19999a
push 0x3e4ccccd
call fcn.004bd540
fmul dword [0x5da6e8]
add esp, 8
call fcn.0058c3f0
or dword [esi + 4], 1
mov ecx, dword [esi + 0x50]
add ecx, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x54], ecx
mov esi, dword [esi + 0x94]
test esi, esi
je 0x49cdf7
push 0x40a00000
push 0x40000000
call fcn.004bd540
fstp dword [esi + 0x334]
movzx edx, byte [edi + 0xe]
mov dword [esp + 0x1c], edx
add esp, 8
fild dword [esp + 0x14]
fmul dword [0x5da304]
fstp dword [esi + 0x324]
mov eax, dword [edi + 0xc]
and eax, 0xff
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x49cdc8
fadd dword [0x5da2fc]
fmul dword [0x5da304]
fstp dword [esi + 0x32c]
movzx ecx, byte [edi + 0xd]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul dword [0x5da304]
fstp dword [esi + 0x328]
mov eax, dword [edi + 0x14]
test ah, 2
je 0x49cdf7
or byte [esi], 0x40
xor esi, esi
dec ebx
jne 0x49cc50
jmp 0x49ce06
cmp eax, esi
jne 0x49ce80
cmp dword [edi + 0xa0], esi
je 0x49cea4
mov edx, dword [ebp + 0x88]
mov eax, dword [edx + 0x40]
cmp eax, esi
je 0x49ce5c
xor ecx, ecx
mov cx, word [edi + 0xa0]
push ecx
mov ecx, dword [0x6800ec]
push eax
call fcn.004b2a00
test eax, eax
je 0x49ce5c
mov ecx, dword [ebp + 0x88]
push 7
xor eax, eax
mov ax, word [edi + 0xa0]
push esi
push 0x43c80000
lea edx, [esp + 0x30]
push edx
mov edx, dword [ecx + 0x40]
push eax
push edx
jmp 0x49ce99
mov eax, dword [edi + 0x88]
cmp eax, esi
je 0x49cea4
push 7
xor edx, edx
mov dx, word [edi + 0xa0]
push esi
push 0x43c80000
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
jmp 0x49ce99
mov ecx, dword [0x62fac8]
push 7
push esi
push 0x43480000
lea eax, [esp + 0x30]
push eax
push 0xfb8
push ecx
mov ecx, dword [0x6800ec]
call fcn.004b5870
lea ecx, [esp + 0xa8]
call fcn.004031a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf0
ret