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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xd4]
cmp eax, dword [ecx]
ja 0x49e4b6
xor edi, edi
mov eax, 0x10
call fcn.0042a440
jmp fcn.0049e490
sub esp, 0x154
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp], 0x5c3cc0
call fcn.00424940
mov ebx, dword [esp + 4]
cmp ebx, 0
je 0x49f0fa
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea ebx, [0x6375b0]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp], 0x61fcc0
mov ebx, dword [esp + 0x158]
mov dword [esp + 4], ebx
mov dword [esp + 0xb0], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xc], ebp
call fcn.004208b0
mov ebx, dword [esp + 0x10]
cmp ebx, 0
je 0x49f0f3
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov ebp, dword [ebx + 8]
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ebp
mov dword [esp + 0x104], ebp
xor ecx, ecx
mov dword [esp + 0x100], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0xfc], edx
mov eax, edx
mov ebx, dword [esp + 0x50]
cmp ecx, ebx
jge 0x49e66f
mov dword [esp + 0x64], eax
cmp eax, 0
je 0x49f0ec
mov edx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebp
mov dword [esp + 0x88], edx
mov dword [esp], edx
mov dword [esp + 0x8c], ebp
mov dword [esp + 4], ebp
call fcn.004eef60
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], ecx
mov dword [esp], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 4], eax
lea esi, [0x62cca8]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ee240
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xc8], eax
cmp ecx, 1
jne 0x49e6a0
cmp ecx, 0
mov dword [esp + 0xc4], ecx
jbe 0x49f0e5
mov dword [esp + 0xc0], edx
mov ebp, dword [edx + 4]
cmp ebp, 0
jne 0x49e6a0
mov eax, dword [esp + 0x64]
add eax, 8
mov ecx, dword [esp + 0x54]
inc ecx
mov ebx, dword [esp + 0x50]
cmp ecx, ebx
jl 0x49e59e
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x15c], ebx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x160], ebx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x164], ebx
add esp, 0x154
ret
cmp ecx, 0
mov dword [esp + 0xc4], ecx
jbe 0x49f0de
mov dword [esp + 0xc0], edx
mov esi, edx
lea edi, [esp]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004eef60
mov edi, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp esi, 0
jbe 0x49f0d7
mov dword [edi], ecx
mov dword [edi + 4], eax
cmp esi, 0
jbe 0x49f0d0
mov esi, edi
lea edi, [esp]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [0x62cd18]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ed920
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0x10]
cmp eax, 0
jl 0x49e657
cmp edi, 0
jbe 0x49f0c9
mov ebx, dword [esp + 0xc0]
mov esi, dword [ebx]
mov ebp, dword [ebx + 4]
cmp ebp, eax
jb 0x49f0c2
mov dword [esp + 0xa8], esi
mov esi, eax
cmp edi, 0
jbe 0x49f0bb
mov ebx, dword [esp + 0xc0]
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
inc eax
cmp ecx, eax
jb 0x49f0b4
mov ebp, eax
add ebp, edx
mov edx, ecx
sub edx, eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0xa4], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 4], esi
call fcn.004a0910
movzx ebx, byte [esp + 8]
cmp bl, 0
je 0x49e657
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
call fcn.004a0810
mov ebx, dword [esp + 8]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x6c], ebx
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x49e657
mov dword [esp], 0x61fba0
call fcn.00424940
mov ecx, dword [esp + 4]
mov edi, ecx
cmp ecx, 0
je 0x49f0ad
xor eax, eax
call fcn.0042bd7b
mov ebp, dword [esp + 0x78]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x7c]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x68]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x6c]
mov dword [ecx + 0xc], ebp
mov ebp, dword [esp + 0x88]
mov dword [ecx + 0x40], ebp
mov ebp, dword [esp + 0x8c]
mov dword [ecx + 0x44], ebp
mov dword [esp + 0x58], ecx
mov eax, 1
mov ecx, dword [esp + 0xc4]
cmp ecx, eax
jle 0x49e8e6
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0xc4]
jae 0x49f0a6
mov esi, dword [esp + 0xc0]
lea esi, [esi + eax*8]
lea edi, [esp]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004eef60
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0xc4]
jae 0x49f09f
mov ebp, dword [esp + 0xc0]
lea ebp, [ebp + ebx*8]
mov dword [esp + 0xa0], edx
mov dword [ebp], edx
mov dword [esp + 0xa4], ecx
mov dword [ebp + 4], ecx
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0xc4]
jae 0x49f098
mov ebp, dword [esp + 0xc0]
lea ebp, [ebp + ebx*8]
mov ebp, dword [ebp + 4]
cmp ebp, 0
jne 0x49e98a
mov eax, dword [esp + 0x38]
inc eax
mov ecx, dword [esp + 0xc4]
cmp ecx, eax
jg 0x49e84c
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd4]
mov ebp, eax
sub ebp, ecx
cmp ebp, 1
jge 0x49e94d
mov dword [esp], 0x5c0cc0
mov dword [esp + 0xd8], edx
mov dword [esp + 4], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
call fcn.004276f0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, ecx
inc edi
lea ebp, [edx + ecx*4]
mov ebx, ebp
mov ebp, dword [esp + 0x58]
mov dword [ebx], ebp
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], eax
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], eax
jmp 0x49e657
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0xc4]
jae 0x49f091
mov ebp, dword [esp + 0xc0]
lea ebp, [ebp + ebx*8]
mov edx, dword [ebp]
mov ecx, dword [ebp + 4]
lea ebx, [0x62c9a8]
mov ebp, dword [ebx]
mov dword [esp + 0x70], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0x74], ebp
mov dword [esp + 0xb8], edx
mov dword [esp], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 4], ecx
lea esi, [0x62cd18]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004ed920
mov ebp, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x10]
cmp eax, 0
jl 0x49ea3e
cmp ecx, eax
jb 0x49f08a
mov esi, eax
inc eax
cmp ecx, eax
jb 0x49f083
mov edx, eax
add edx, ebp
mov ebx, ecx
sub ebx, eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], esi
mov ecx, esi
mov dword [esp + 0xa0], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0xb8], ebp
mov dword [esp], ebp
mov dword [esp + 0xbc], ecx
mov dword [esp + 4], ecx
call fcn.004ee960
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.004a0810
mov ebx, dword [esp + 8]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x74], ebx
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x49ebbf
mov ebx, dword [esp + 0x58]
cmp ebx, 0
je 0x49ebb8
mov edx, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x50]
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0xc4]
jae 0x49ebb1
mov ebp, dword [esp + 0xc0]
lea ebp, [ebp + ebx*8]
mov ebx, ebp
mov ebp, dword [ebp]
mov dword [esp + 0xa8], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], esi
mov eax, esi
mov ebp, esi
sub ebp, ecx
cmp ebp, 1
jge 0x49eb51
mov dword [esp], 0x5c2480
mov dword [esp + 0xe4], edx
mov dword [esp + 4], edx
mov dword [esp + 0xe8], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xec], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
call fcn.004276f0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, ecx
inc edi
lea ebp, [edx + ecx*8]
mov ebx, ebp
mov ebp, dword [esp + 0xa8]
mov dword [ebx], ebp
mov ebp, dword [esp + 0xac]
mov dword [ebx + 4], ebp
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], eax
mov ebx, dword [esp + 0x58]
cmp ebx, 0
je 0x49ebad
mov dword [esp + 0xf0], edx
mov dword [ebx + 0x48], edx
mov dword [esp + 0xf4], edi
mov dword [ebx + 0x4c], edi
mov dword [esp + 0xf8], eax
mov dword [ebx + 0x50], eax
jmp 0x49e8d2
mov dword [ebx], eax
jmp 0x49eb8a
call fcn.004116c0
ud2
mov dword [ebx], eax
jmp 0x49eaad
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa8], ecx
mov dword [esp], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 4], eax
lea esi, [0x63b110]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0042bb90
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0x10]
cmp ebx, 0
jg 0x49ef42
cmp eax, 6
jne 0x49ec5c
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [0x631750]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x49ec5c
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x70]
mov dword [ebx + 0x18], ebp
mov ebp, dword [esp + 0x74]
mov dword [ebx + 0x1c], ebp
jmp 0x49e8d2
cmp eax, 7
jne 0x49ef05
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [0x6318c0]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0xac]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x49ef05
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x70]
mov dword [ebx + 0x30], ebp
mov dword [ebx + 0x34], edx
lea esi, [0x65c020]
lea edi, [esp]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00469860
lea esi, [esp + 0x10]
lea edi, [esp + 0x134]
cld
call fcn.0042c278
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x9c], ebx
cmp eax, 0
mov dword [esp + 0x98], eax
je 0x49eea0
lea esi, [0x65c060]
lea edi, [esp]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
call fcn.00469860
lea esi, [esp + 0x10]
lea edi, [esp + 0x134]
cld
call fcn.0042c278
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x9c], ebx
cmp eax, 0
mov dword [esp + 0x98], eax
je 0x49eea0
lea esi, [0x69d850]
lea edi, [esp + 0x144]
cld
call fcn.0042c278
mov edi, dword [esp + 0x58]
cmp edi, 0
je 0x49ee99
add edi, 0x20
lea esi, [esp + 0x144]
cld
call fcn.0042c278
mov ebx, dword [esp + 0x58]
cmp ebx, 0
je 0x49ee92
mov edx, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x50]
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0xc4]
jae 0x49ee8b
mov ebp, dword [esp + 0xc0]
lea ebp, [ebp + ebx*8]
mov ebx, ebp
mov ebp, dword [ebp]
mov dword [esp + 0xa8], ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], esi
mov eax, esi
mov ebp, esi
sub ebp, ecx
cmp ebp, 1
jge 0x49ee2b
mov dword [esp], 0x5c2480
mov dword [esp + 0xf0], edx
mov dword [esp + 4], edx
mov dword [esp + 0xf4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0
call fcn.004276f0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, ecx
inc edi
lea ebp, [edx + ecx*8]
mov ebx, ebp
mov ebp, dword [esp + 0xa8]
mov dword [ebx], ebp
mov ebp, dword [esp + 0xac]
mov dword [ebx + 4], ebp
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf8], eax
mov ebx, dword [esp + 0x58]
cmp ebx, 0
je 0x49ee87
mov dword [esp + 0xe4], edx
mov dword [ebx + 0x48], edx
mov dword [esp + 0xe8], edi
mov dword [ebx + 0x4c], edi
mov dword [esp + 0xec], eax
mov dword [ebx + 0x50], eax
jmp 0x49e8d2
mov dword [ebx], eax
jmp 0x49ee64
call fcn.004116c0
ud2
mov dword [ebx], eax
jmp 0x49ed87
mov dword [edi], eax
jmp 0x49ed6a
lea esi, [esp + 0x134]
lea edi, [esp + 0x124]
cld
call fcn.0042c278
lea edi, [esp + 0x114]
xor eax, eax
call fcn.0042bd8c
mov ebx, dword [0x764d14]
mov dword [esp + 0x130], ebx
lea esi, [esp + 0x124]
lea edi, [esp + 0x114]
cld
call fcn.0042c278
mov edi, dword [esp + 0x58]
cmp edi, 0
je 0x49ef01
add edi, 0x20
lea esi, [esp + 0x114]
cld
call fcn.0042c278
jmp 0x49e8d2
mov dword [edi], eax
jmp 0x49eeec
cmp eax, 8
jne 0x49ed7a
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [0x63b110]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x49ed7a
mov ebx, dword [esp + 0x58]
mov byte [ebx + 0x3d], 1
jmp 0x49e8d2
cmp eax, 7
jne 0x49eff9
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [0x632340]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x49eff9
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.004dfc30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x94], ebx
cmp ecx, 0
mov dword [esp + 0x90], ecx
jne 0x49ed7a
cmp eax, 0
je 0x49efd1
cmp dword [esp + 0x74], 0
jbe 0x49eff2
mov ebx, dword [esp + 0x70]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
je 0x49ed7a
cmp eax, 0
jg 0x49efe6
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x38], 0xffffffff
jmp 0x49e8d2
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x38], eax
jmp 0x49e8d2
call fcn.004116c0
ud2
cmp eax, 4
jne 0x49f046
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [0x6326f0]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
mov esi, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x49f046
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x70]
mov dword [ebx + 0x10], ebp
mov ebp, dword [esp + 0x74]
mov dword [ebx + 0x14], ebp
jmp 0x49e8d2
cmp eax, 6
jne 0x49ed7a
mov dword [esp], esi
mov dword [esp + 4], eax
lea esi, [0x632c40]
lea edi, [esp + 8]
cld
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00428080
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x49ed7a
mov ebx, dword [esp + 0x58]
mov byte [ebx + 0x3c], 1
jmp 0x49e8d2
call fcn.004116f0
ud2
call fcn.004116f0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
mov dword [ecx], eax
jmp 0x49e7fe
call fcn.004116f0
ud2
call fcn.004116c0
ud2
call fcn.004116f0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
call fcn.004116c0
ud2
mov dword [eax], eax
jmp 0x49e5ab
mov dword [ebx], eax
jmp 0x49e558
mov dword [ebx], eax
jmp 0x49e4f6