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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1bc
mov eax, dword [0x5920a4]
xor eax, esp
mov dword [esp + 0x1b8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x58], 2
jl 0x4e05c1
xor eax, eax
cmp dword [edi + 4], eax
je 0x4e04ce
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jl 0x4e05c1
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], edi
jg 0x42d1f1
cmp esi, eax
jb 0x4e05c1
cmp ecx, dword [edi + 0x14]
jg 0x4e05c1
jl 0x42d205
cmp esi, dword [edi + 0x10]
ja 0x4e05c1
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
mov ecx, dword [edi + 0x5c]
lea ebx, [edi + 0x78]
or dword [ebx + 0x154], 0xffffffff
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x144], eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], eax
mov dword [ebx + 0x158], eax
mov dword [ebx + 0x15c], eax
mov dword [ebx + 0x160], eax
mov dword [ebx + 0x164], eax
lea eax, [edi + 0x1e0]
mov dword [ebx + 0x150], ecx
call fcn.0041f230
push dword [ebp + 0x10]
push esi
mov esi, edi
call fcn.00426210
push dword [edi + 0x5c]
and dword [esp + 0x20], 0
and dword [esp + 0x1c], 0
lea esi, [esp + 0x64]
call fcn.0041f1d0
xor esi, esi
add esp, 0xc
or dword [esp + 0x1ac], 0xffffffff
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], esi
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], esi
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], esi
cmp dword [edi + 0x58], 3
jl 0x42d3b5
push 1
lea ecx, [esp + 0x3c]
lea eax, [esp + 0x5c]
call fcn.0042f2f0
add esp, 4
test eax, eax
jle 0x42d3b5
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x48]
shl eax, 5
add eax, ecx
cmp dword [eax + 0x1c], esi
je 0x4e0519
lea edx, [esp + 0x38]
call fcn.0042dcc0
cmp eax, esi
jge 0x4e04e5
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0042f2f0
mov dword [esp + 0x24], esi
add esp, 4
mov edx, dword [esp + 0x48]
mov eax, edx
and eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x4e04d8
mov eax, dword [edi + 0x60]
mov ecx, dword [edi + 0x44]
mov ebx, dword [esp + 0x4c]
shl eax, 4
sub edx, dword [eax + ecx]
sbb ebx, dword [eax + ecx + 4]
mov dword [esp + 0x18], edx
cmp ebx, esi
jg 0x42d36f
jl 0x4e0559
cmp edx, esi
jb 0x4e0559
mov eax, dword [edi + 0x60]
cmp eax, esi
jg 0x4e0564
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
cdq
sub ecx, eax
sbb ebx, edx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], ebx
lea esi, [esp + 0x58]
call fcn.0041f190
fldz
fst qword [edi + 0x68]
xor eax, eax
fstp qword [edi + 0x70]
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aa882
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], esi
jne 0x4e05b4
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
mov esi, edi
call fcn.0042d710
add esp, 0xc
test edx, edx
jl 0x4e057d
push 0
pop ecx
jg 0x42d3e7
cmp eax, ecx
jb 0x4e057d
cmp dword [edi + 0x58], 3
mov esi, dword [esp + 0x28]
jl 0x42d44c
movzx edx, byte [esi + 0xf]
xor eax, eax
mov ah, byte [esi + 0x11]
mov al, byte [esi + 0x10]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 0xe]
shl eax, 8
or eax, edx
cmp dword [edi + 0x5c], eax
jne 0x4e052c
cmp dword [edi + 0x58], 3
jl 0x42d44c
lea eax, [esp + 0x28]
mov edi, ebx
call fcn.0042cf10
lea eax, [esp + 0x28]
lea edi, [esp + 0x58]
call fcn.0042cf10
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + 5]
mov edi, dword [esp + 0x18]
and eax, 4
mov dword [esp + 0x24], eax
xor esi, esi
jmp 0x42d2d7
movzx eax, byte [esi + 0xf]
xor edx, edx
mov dh, byte [esi + 0x11]
mov dl, byte [esi + 0x10]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0xe]
shl edx, 8
or edx, eax
xor eax, eax
cmp dword [edi + 0x34], ecx
mov dword [edi + 0x5c], edx
jle 0x42d47b
mov esi, dword [edi + 0x40]
cmp dword [esi], edx
jne 0x4e0547
cmp eax, dword [edi + 0x34]
je 0x4e0592
mov dword [edi + 0x60], eax
or dword [ebx + 0x154], 0xffffffff
or dword [esp + 0x1ac], 0xffffffff
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x144], ecx
mov dword [ebx + 0x148], ecx
mov dword [ebx + 0x14c], ecx
mov dword [ebx + 0x158], ecx
mov dword [ebx + 0x15c], ecx
mov dword [ebx + 0x160], ecx
mov dword [ebx + 0x164], ecx
mov dword [ebx + 0x150], edx
mov eax, dword [edi + 0x5c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1a8], eax
mov dword [edi + 0x58], 3
jmp 0x42d41a
mov eax, 0xffffff76
jmp 0x42d3a0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x42d2d7
cmp dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
je 0x4e04ff
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0042f2f0
jmp 0x42d32f
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x42d332
add eax, ecx
sar eax, 2
add dword [esp + 0x10], eax
jmp 0x42d332
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0042f2f0
add esp, 4
jmp 0x42d3b5
push edi
call fcn.0050883e
pop ecx
lea esi, [esp + 0x58]
call fcn.0041f190
mov esi, dword [esp + 0x28]
xor ecx, ecx
jmp 0x42d414
inc eax
add esi, 4
cmp eax, dword [edi + 0x34]
jl 0x42d473
jmp 0x42d47b
mov dword [esp + 0x18], esi
xor ebx, ebx
jmp 0x42d36f
add ecx, 8
mov edx, dword [ecx]
add dword [esp + 0x18], edx
mov edx, dword [ecx + 4]
adc ebx, edx
add ecx, 0x10
dec eax
jne 0x4e0567
jmp 0x42d37a
push 0xffffffffffffffff
push edi
call fcn.00412a90
pop ecx
pop ecx
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
jmp 0x42d38d
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
lea esi, [esp + 0x58]
call fcn.0041f190
push edi
call fcn.0050883e
pop ecx
mov eax, 0xffffff77
jmp 0x42d3a0
or dword [edi + 0x50], 0xffffffff
or dword [edi + 0x54], 0xffffffff
jmp 0x42d38d
mov eax, 0xffffff7d
jmp 0x42d3a0