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

Disassembly:
push 0xffffffffffffffff
push 0x4d7128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
xor ecx, ecx
push esi
xor al, al
push edi
mov byte [esp + 0x13], al
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], ecx
cmp dword [esp + 0x78], ecx
je 0x41a0e0
xor ebp, ebp
mov dword [esp + 0x1c], ebp
cmp dword [esp + 0x80], ecx
jle 0x41a0b6
mov edx, dword [esp + 0x84]
jmp 0x419de0
xor edi, edi
cmp edx, ecx
jle 0x41a09e
mov esi, dword [esp + 0x70]
add esi, ebp
mov bl, byte [esp + 0x74]
cmp byte [esi], bl
jne 0x419e12
inc edi
test al, al
je 0x419e01
cmp edi, edx
je 0x419e21
add esi, dword [esp + 0x80]
inc ecx
cmp ecx, edx
jl 0x419df0
jmp 0x41a09e
test al, al
jne 0x419dfd
mov dword [esp + 0x28], ebp
mov al, 1
jmp 0x41a09e
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x58]
sub ebp, edi
mov esi, ebp
imul esi, edx
mov dword [esp + 0x34], ebp
test ebx, ebx
je 0x419e48
mov eax, dword [esp + 0x54]
push eax
push 0
push ebx
call fcn.004ce290
add esp, 0xc
test esi, esi
je 0x41a0bb
cmp esi, 0xffffffff
jae 0x41a0bb
lea ecx, [esi + esi]
push ecx
push ebx
mov dword [esp + 0x5c], esi
call fcn.004c61a7
mov esi, eax
xor eax, eax
add esp, 8
mov dword [esp + 0x38], esi
cmp esi, eax
je 0x41a0b3
mov ecx, dword [esp + 0x70]
xor edx, edx
mov word [esi], dx
mov ebx, dword [esp + 0x84]
push ebx
push ebp
push eax
push edi
push ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x94]
push eax
push edx
push edx
push ecx
push esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x78], ebx
call fcn.0041a100
push ebx
mov bl, byte [esp + 0xa0]
push ebp
push esi
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.0041a200
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0x68]
xor edx, edx
add esp, 0x44
cmp eax, edx
je 0x419f08
mov ecx, dword [eax]
cmp ecx, edx
je 0x419ef4
cmp ebx, ecx
jl 0x41a091
mov eax, dword [eax + 4]
cmp eax, edx
je 0x419f08
mov esi, dword [esp + 0x18]
cmp esi, eax
jge 0x419f0c
jmp 0x41a091
mov esi, dword [esp + 0x18]
lea eax, [ebx + 6]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov ebp, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
cmp ebx, eax
jge 0x419f48
fild dword [esp + 0x20]
mov ebp, eax
fld qword [0x50a070]
fmul st(1), st(0)
fild dword [esp + 0x24]
fmul st(1)
fsubp st(2)
fxch st(1)
call fcn.004d3dc0
mov dword [esp + 0x3c], eax
jmp 0x419f4e
fld qword [0x50a070]
lea eax, [esi + 6]
mov dword [esp + 0x20], eax
cmp esi, eax
jge 0x419f78
fild dword [esp + 0x20]
mov dword [esp + 0x14], eax
fmul st(1)
fild dword [esp + 0x18]
fmul st(2)
fsubp st(1)
call fcn.004d3dc0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], eax
cmp ebp, esi
je 0x419fb0
jl 0x419f84
mov dword [esp + 0x14], ebp
mov esi, ebp
fild dword [esp + 0x14]
mov ebp, esi
fmul st(1)
fild dword [esp + 0x24]
fmul st(2)
fsubr st(1)
call fcn.004d3dc0
fild dword [esp + 0x18]
mov dword [esp + 0x3c], eax
fmulp st(2)
fsubrp st(1)
call fcn.004d3dc0
mov dword [esp + 0x40], eax
jmp 0x419fb2
fstp st(0)
push 0x14
call fcn.004c62f8
add esp, 4
test eax, eax
je 0x41a0bb
mov ecx, dword [esp + 0x78]
xor edi, edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov edx, dword [ecx + 4]
inc dword [ecx + 8]
cmp edx, edi
je 0x419fe5
mov dword [edx + 0x10], eax
mov dword [ecx + 4], eax
cmp dword [ecx], edi
jne 0x419fee
mov dword [ecx], eax
imul esi, ebp
lea edi, [esi + 0x28]
mov dword [esp + 0x20], esi
mov esi, eax
call fcn.00415010
test eax, eax
je 0x41a0bb
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0x18], ecx
movzx ecx, byte [esp + 0x74]
lea esi, [eax + 0x28]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ebp
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], edi
mov eax, dword [esp + 0x20]
push eax
push ecx
push esi
call fcn.004ce290
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
add esp, 0xc
push edi
push ebx
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x60], edx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x58]
push eax
push ecx
push esi
mov dword [esp + 0x6c], ebp
call fcn.0041a100
add esp, 0x28
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x1c]
xor al, al
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esp + 0x80]
jge 0x41a0b6
xor ecx, ecx
jmp 0x419de0
push ebx
jmp 0x41a0d4
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x58]
test esi, esi
je 0x41a0dc
mov edx, dword [esp + 0x54]
push edx
push 0
push esi
call fcn.004ce290
add esp, 0xc
push esi
call fcn.004c57e5
add esp, 4
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret