Function at 0x419a20
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
push esi
xor esi, esi
xor al, al
push edi
mov byte [esp + 0x13], al
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x68], esi
cmp dword [esp + 0x78], esi
je 0x419d62
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
dec edx
xor ecx, ecx
cmp edx, 0xffffffff
setg cl
mov dword [esp + 0x14], edx
cmp ecx, esi
je 0x419d38
xor ecx, ecx
cmp ebp, esi
jle 0x419d2d
mov edi, ebp
imul edi, edx
add edi, dword [esp + 0x70]
mov bl, byte [esp + 0x74]
cmp byte [edi + ecx], bl
jne 0x419ab0
inc esi
test al, al
je 0x419aa6
cmp esi, ebp
je 0x419abf
inc ecx
cmp ecx, ebp
jl 0x419a94
dec edx
xor esi, esi
jmp 0x419a6d
test al, al
jne 0x419aa2
mov dword [esp + 0x34], edx
dec edx
mov al, 1
xor esi, esi
jmp 0x419a6d
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x58]
sub esi, edx
mov ebx, esi
imul ebx, ebp
mov dword [esp + 0x38], esi
test eax, eax
je 0x419ae6
mov ecx, dword [esp + 0x54]
push ecx
push 0
push eax
call fcn.004ce290
add esp, 0xc
test ebx, ebx
je 0x419d3d
cmp ebx, 0xffffffff
jae 0x419d3d
mov edi, dword [esp + 0x58]
lea edx, [ebx + ebx]
push edx
push edi
mov dword [esp + 0x5c], ebx
call fcn.004c61a7
mov ebp, eax
xor ecx, ecx
add esp, 8
cmp ebp, ecx
je 0x419d35
push esi
xor eax, eax
mov word [ebp], ax
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
push ebx
inc eax
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push ebx
push ecx
push ecx
push eax
push ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
mov dword [esp + 0x74], ebx
call fcn.0041a100
push esi
push ebx
mov bl, byte [esp + 0xa4]
push ebp
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.0041a200
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0x6c]
xor edi, edi
add esp, 0x44
cmp eax, edi
je 0x419bbf
mov ecx, dword [eax]
cmp ecx, edi
je 0x419b9b
cmp ebx, ecx
jl 0x419d20
mov eax, dword [eax + 4]
cmp eax, edi
je 0x419bbf
mov esi, dword [esp + 0x18]
cmp esi, eax
jge 0x419bc3
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x80]
xor al, al
dec edx
xor esi, esi
jmp 0x419a6d
mov esi, dword [esp + 0x18]
lea eax, [ebx + 2]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
cmp ebx, eax
jge 0x419c03
fild dword [esp + 0x24]
mov dword [esp + 0x1c], eax
fld qword [0x50a070]
fmul st(1), st(0)
fild dword [esp + 0x28]
fmul st(1)
fsubp st(2)
fxch st(1)
call fcn.004d3dc0
mov dword [esp + 0x3c], eax
jmp 0x419c09
fld qword [0x50a070]
lea eax, [esi + 2]
mov dword [esp + 0x24], eax
cmp esi, eax
jge 0x419c31
fild dword [esp + 0x24]
mov dword [esp + 0x20], eax
fmul st(1)
fild dword [esp + 0x18]
fmulp st(2)
fsubrp st(1)
call fcn.004d3dc0
mov dword [esp + 0x40], eax
jmp 0x419c33
fstp st(0)
push 0x14
call fcn.004c62f8
add esp, 4
cmp eax, edi
je 0x419d3d
mov esi, dword [esp + 0x78]
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 4]
inc dword [esi + 8]
cmp ecx, edx
je 0x419c66
mov dword [ecx + 0x10], eax
mov dword [esi + 4], eax
cmp dword [esi], edx
jne 0x419c6f
mov dword [esi], eax
mov ecx, dword [esp + 0x20]
imul ecx, dword [esp + 0x1c]
lea edi, [ecx + 0x28]
mov esi, eax
mov dword [esp + 0x24], ecx
call fcn.00415010
test eax, eax
je 0x419d3d
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
lea ecx, [ecx + edx + 1]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], 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 + 0x1c], edx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], edi
mov eax, dword [esp + 0x24]
push eax
push ecx
push esi
call fcn.004ce290
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add esp, 0xc
push edi
push ebx
push ecx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x60]
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
push ebp
push esi
call fcn.0041a100
add esp, 0x28
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
xor al, al
dec edx
xor esi, esi
jmp 0x419a6d
push edi
jmp 0x419d56
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x58]
test esi, esi
je 0x419d5e
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