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

Disassembly:
mov ecx, dword [0x5b96c8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x49e6e2
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x13c]
test edx, edx
jne 0x49deb8
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049f7d0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [0x5b97c0]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0xc]
test edx, edx
je 0x49dea7
mov edx, edi
call fcn.00466740
mov dword [edi], ebx
mov esi, dword [ecx + 0x13c]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x88]
mov edi, edx
mov dword [ecx + 0x13c], ebx
test ebp, ebp
jne 0x49df28
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
test ecx, ecx
jg 0x49decc
test edx, edx
mov edx, 0xffffffff
jmp 0x49ded0
test edx, edx
mov edx, ecx
setne bl
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x13c]
mov dword [esp + 0x8c], ebp
test byte [ebp], al
lea esi, [ebp + 4]
mov dword [esp + 0x74], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x38], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x30], edi
xor edi, edi
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x7c], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x78], edi
xor edi, edi
jmp 0x49e063
mov dword [esp + 0x84], edi
lea eax, [0x4d3d80]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x4df9f8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x5b97c0]
test edx, edx
je 0x49df79
call fcn.00466730
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
jne 0x49df99
mov ecx, dword [esp + 0x88]
jmp 0x49dfa7
call fcn.00466730
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x506490]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
mov edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x8c]
mov ebx, 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x74]
test edx, edx
je 0x49e5c4
mov dword [esp + 0x28], edx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx edx, byte [eax + 0x258]
test dl, dl
jne 0x49e5c0
mov dword [esp + 0x24], edi
test bl, bl
je 0x49e0bf
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0048a390
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x49e484
mov ebp, dword [esp + 0x8c]
lea eax, [ebp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0x103
call fcn.00489830
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, 1
jne 0x49e0ec
cmp byte [ecx], 0x2e
je 0x49e0f8
cmp eax, 2
jne 0x49e127
cmp word [ecx], 0x2e2e
jne 0x49e127
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
jmp 0x49e028
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x9c]
test edx, edx
jne 0x49e1f6
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x49e151
mov esi, dword [esp + 0x78]
jmp 0x49e196
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x4cd2e0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
lea edi, [esi + ebx*8 - 4]
mov dword [edi], eax
mov eax, dword [0x5b97c0]
lea edi, [esi + ebx*8 - 8]
test eax, eax
je 0x49e1c1
mov eax, edi
call fcn.00466740
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x9c]
mov edi, eax
mov dword [edi], ecx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], ebp
mov edi, dword [esp + 0x80]
mov dword [esp + 0x78], esi
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x7c]
jmp 0x49e446
nop
lea eax, [0x4daaa0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 4]
test edx, 0x400
je 0x49e257
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x5b97c0]
test edx, edx
jne 0x49e26e
mov edx, dword [esp + 0x68]
jmp 0x49e27e
call fcn.00466740
mov edx, dword [esp + 0x68]
mov dword [edi], edx
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [eax], edx
mov edx, dword [esp + 0x94]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x254]
mov ebx, dword [ebx + 0x250]
mov dword [eax + 0x40], ebp
mov ebp, dword [0x5b97c0]
test ebp, ebp
je 0x49e2b5
call fcn.00466740
mov dword [edi], ebx
mov ebp, dword [eax + 0x3c]
mov dword [edi + 4], ebp
mov dword [esp + 0x6c], eax
mov dword [eax + 0x3c], ebx
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0x9c]
cmp ebx, 1
jne 0x49e37c
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x49e2e6
mov edi, dword [esp + 0x80]
jmp 0x49e338
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4d32e0]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov edi, eax
mov esi, ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x8c]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x50668c]
mov dword [ebx], ecx
mov ebx, dword [0x5b97c0]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x49e369
mov ebx, edi
call fcn.00466740
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x94]
mov edi, ebx
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x7c]
jmp 0x49e426
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x49e38f
mov edi, dword [esp + 0x7c]
jmp 0x49e3de
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4d5800]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x9c]
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x6c]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x5066d4]
mov dword [ebx], ecx
mov ebx, dword [0x5b97c0]
lea ecx, [edi + ebp*8 - 4]
test ebx, ebx
je 0x49e40f
mov ebx, edi
call fcn.00466740
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x94]
mov edi, ebx
mov dword [ecx], eax
mov eax, esi
mov ecx, ebp
mov ebx, edi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
jmp 0x49e028
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], ebp
lea eax, [0x5064a4]
cmp ecx, eax
jne 0x49e4ca
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x506014]
mov dword [esp + 8], eax
call fcn.00403df0
movzx eax, byte [esp + 0xc]
test al, al
je 0x49e4ca
mov eax, dword [esp + 0x98]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x49e5c6
lea eax, [0x4d3d80]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x4e0715]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x138]
mov ecx, dword [ecx + 0x134]
mov dword [eax + 0xc], edx
mov edx, dword [0x5b97c0]
test edx, edx
je 0x49e514
call fcn.00466730
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5b97c0]
test ecx, ecx
jne 0x49e531
mov ecx, dword [esp + 0x70]
jmp 0x49e53c
call fcn.00466730
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc0], ecx
lea ecx, [0x506490]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x90
ret
test ecx, ecx
jmp 0x49e5c6
test ecx, ecx
jg 0x49e5d6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
jmp 0x49e5eb
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x38]
add edx, ebx
test edx, edx
je 0x49e65e
mov edx, dword [esp + 0x78]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0x90
ret
mov eax, dword [0x590bb8]
mov ecx, dword [0x590bbc]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0x90
ret
call fcn.00465370
jmp fcn.0049de10