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

Disassembly:
push 0xffffffffffffffff
push 0x717d6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 0xdc
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x18], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x6c], edi
je 0x49e67b
push 0x8304c0
mov ecx, eax
call fcn.0049db30
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x49e681
mov dword [esp + 0x10], edi
mov ebx, edi
or esi, 0xffffffff
push 0x64
mov dword [esp + 0x70], esi
call fcn.006fa7e6
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0x6c], 1
je 0x49e6b6
push edi
push 0xbfffffff
push edi
mov ecx, eax
call fcn.004578f0
mov dword [esp + 0x14], eax
jmp 0x49e6ba
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x7c]
cmp eax, edi
mov dword [esp + 0x6c], esi
jle 0x49e86c
mov esi, dword [esp + 0x78]
lea edi, [ebx + 0x74]
mov dword [esp + 0x18], eax
jmp 0x49e6e0
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x49e80d
mov eax, esi
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], 0x447a0000
mov edx, dword [esp + 0x30]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0xc1300000
call fcn.00456a60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push eax
mov dword [eax], 1
mov edx, dword [ecx]
push esi
sub esp, 0xc
mov eax, esp
mov ecx, ebx
mov dword [eax], ecx
mov ecx, ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
sub esp, 0xc
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x94]
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, ebx
call dword [edx + 0x38]
test eax, eax
jne 0x49e801
fld dword [esp + 0x20]
mov eax, dword [esp + 0x14]
fadd dword [0x73dfec]
push eax
fld dword [esp + 0x20]
mov edx, dword [ebx]
fadd dword [0x73dfec]
push esi
sub esp, 0xc
mov ecx, esp
fstp dword [esp + 0x48]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
fstp dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
fld dword [esp + 0x40]
mov dword [ecx + 4], eax
fadd dword [0x73dfec]
mov dword [esp + 0x50], 0xc1300000
fld dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
fadd dword [0x73dfec]
mov dword [ecx + 8], eax
sub esp, 0xc
mov ecx, esp
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov dword [ecx], eax
fstp dword [esp + 0x64]
mov eax, dword [esp + 0x64]
mov dword [ecx + 4], eax
mov dword [esp + 0x68], 0x447a0000
mov eax, dword [esp + 0x68]
mov dword [ecx + 8], eax
mov ecx, ebx
call dword [edx + 0x38]
fld dword [esi + 8]
fadd dword [0x73dfec]
fstp dword [esi + 8]
mov eax, dword [edi + 8]
mov ecx, esi
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov edx, dword [ecx + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x54], edx
jne 0x49e838
test eax, eax
je 0x49e82b
add eax, eax
jmp 0x49e830
mov eax, 8
push eax
mov ecx, edi
call fcn.00421310
mov eax, dword [edi + 4]
mov ecx, dword [edi]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x54]
mov dword [edx], ebx
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x18]
inc edx
add esi, 0xc
dec eax
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
jne 0x49e6e0
mov ebx, dword [esp + 0x10]
lea edi, [ebx + 0x68]
mov dword [esp + 0x40], 0xc7c35000
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], 0xc7c35000
mov eax, dword [esp + 0x44]
mov ecx, edi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [esp + 0x48], 0xc7c35000
mov edx, dword [esp + 0x48]
mov dword [ecx + 8], edx
add ebx, 0x5c
mov dword [esp + 0x40], 0x47c35000
mov ecx, dword [esp + 0x40]
mov eax, ebx
mov dword [eax], ecx
mov dword [esp + 0x44], 0x47c35000
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [esp + 0x48], 0x47c35000
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
xor ebp, ebp
test ecx, ecx
jle 0x49e997
xor esi, esi
mov edx, dword [eax + 0x74]
add edx, esi
mov ecx, dword [edx]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
sub esp, 0xc
mov eax, ebx
mov edx, dword [eax]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004aae70
mov ecx, dword [eax]
mov edx, ebx
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x74]
add edx, esi
mov ecx, dword [edx]
add esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
sub esp, 0xc
mov eax, edi
mov edx, dword [eax]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x70]
push ecx
call fcn.004aaee0
mov ecx, dword [eax]
mov edx, edi
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x78]
inc ebp
add esi, 0xc
cmp ebp, eax
mov eax, ecx
jl 0x49e8e1
mov ecx, dword [esp + 0x84]
mov esi, dword [ecx]
lea edx, [eax + 0x4c]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x88]
xor edi, edi
xor esi, esi
xor ebp, ebp
mov dword [eax + 0xa4], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], edi
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x6c], 2
mov dword [esp + 0x84], edi
jle 0x49ea60
jmp 0x49e9f0
cmp esi, ebp
jne 0x49ea41
test ebp, ebp
lea eax, [ebp + ebp]
jne 0x49ea01
mov eax, 8
mov ebp, eax
shl eax, 2
push eax
mov ebx, edi
mov dword [esp + 0x34], ebp
call fcn.006fa7e6
add esp, 4
test esi, esi
mov edi, eax
mov dword [esp + 0x28], edi
jle 0x49ea34
mov ecx, ebx
sub ecx, edi
mov edx, esi
mov ebp, dword [ecx + eax]
mov dword [eax], ebp
add eax, 4
dec edx
jne 0x49ea25
mov ebp, dword [esp + 0x30]
test ebx, ebx
je 0x49ea41
push ebx
call fcn.006fa390
add esp, 4
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
mov dword [edi + esi*4], eax
inc esi
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x84], eax
jl 0x49e9f0
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
call fcn.0046d250
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0049df10
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xa0]
test ecx, ecx
je 0x49ea9d
push 0
push esi
push eax
call fcn.0046e290
add esp, 0xc
jmp 0x49eaa7
push esi
push eax
call fcn.0046d130
add esp, 8
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x49eb14
mov ecx, dword [ebp + 0x38]
test ecx, ecx
lea ebx, [ebp + 0x38]
je 0x49eafb
mov eax, dword [ecx + 8]
lea esi, [eax - 1]
mov eax, esi
test eax, eax
jl 0x49eadc
mov edx, dword [ecx + 4]
lea edx, [edx + eax*4]
jmp 0x49ead0
cmp dword [edx], ebx
je 0x49eadc
dec eax
sub edx, 4
test eax, eax
jge 0x49ead0
cmp eax, esi
mov dword [ecx + 8], esi
jge 0x49eaf7
mov edx, dword [ecx + 4]
mov esi, dword [edx + eax*4 + 4]
lea edx, [edx + eax*4]
mov dword [edx], esi
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
jl 0x49eae3
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 8]
test eax, eax
je 0x49eb0b
push eax
call fcn.006fa390
add esp, 4
push ebp
call fcn.006fa390
add esp, 4
test edi, edi
mov dword [esp + 0x6c], 0xffffffff
je 0x49eb29
push edi
call fcn.006fa390
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret