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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x49c7bb
sub esp, 0xac
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0044ca86
mov ecx, dword [esp + 0xb0]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x14
jne 0x49c1ae
mov dword [esp], ecx
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.0049d500
lea esi, [esp + 8]
lea edi, [esp + 0x84]
call fcn.0044cf3c
lea edi, [esp + 0xb8]
lea esi, [esp + 0x84]
call fcn.0044cf3c
add esp, 0xac
ret
mov dword [esp], ecx
call fcn.0049c050
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xb4]
test edx, edx
jl 0x49c7a1
cmp edx, eax
jge 0x49c7a1
shl edx, 4
mov ebx, dword [ecx + edx + 0xc]
mov dword [esp + 0x54], ebx
mov ebp, dword [ecx + edx + 4]
mov dword [esp + 0x50], ebp
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0049bc50
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
test eax, eax
je 0x49c234
lea ecx, [eax + 3]
mov dword [esp + 0x7c], ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
movzx eax, byte [eax + 2]
or ecx, eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.0049bc90
mov eax, dword [esp + 8]
movzx ecx, byte [eax + 0xc]
test cl, 1
je 0x49c743
mov ecx, 0x34
mov dword [esp + 0x78], eax
movzx edx, word [eax + 0x20]
test dx, dx
jne 0x49c72e
xor ecx, ecx
lea eax, [0x822c40]
mov dword [esp], eax
mov dword [esp + 4], 0
inc ecx
mov dword [esp + 8], ecx
call fcn.00438a20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea ebx, [eax + 1]
cmp ebx, ecx
jg 0x49c6f4
lea ebp, [edx + eax*8]
lea esi, [0x8b7600]
mov dword [ebp], esi
lea edi, [edx + eax*8 + 4]
mov ebp, dword [0xb92b90]
test ebp, ebp
jne 0x49c6e1
mov ebp, dword [esp + 0xb0]
mov dword [edi], ebp
mov eax, ebp
mov ebp, dword [esp + 0x78]
movzx esi, byte [ebp + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x49c6d7
mov esi, 0x34
mov edi, ecx
movzx ecx, word [ebp + 0x20]
test cx, cx
jne 0x49c6bf
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
jmp 0x49c348
mov ecx, dword [esp + 0x4c]
inc ecx
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x4c]
cmp ebp, ecx
jge 0x49c3df
mov esi, dword [esi + ebp*4]
lea ecx, [ebx + 1]
cmp ecx, edi
jg 0x49c399
mov dword [esp + 0x44], ecx
lea ecx, [edx + ebx*8]
lea ebp, [0x8b7600]
mov dword [ecx], ebp
lea ecx, [edx + ebx*8 + 4]
mov ebx, dword [0xb92b90]
test ebx, ebx
jne 0x49c383
mov dword [ecx], esi
jmp 0x49c32b
mov ebx, edi
mov edi, ecx
mov eax, esi
call fcn.0044c990
mov eax, dword [esp + 0xb0]
mov edi, ebx
jmp 0x49c32b
mov dword [esp + 0x68], esi
lea eax, [0x822c40]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.00438ba0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0xb0]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
jmp 0x49c362
mov ecx, dword [esp + 0x78]
movzx ebp, byte [ecx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x49c6b5
mov ebp, 0x34
mov dword [esp + 0x70], edx
mov dword [esp + 0x48], edi
movzx esi, word [ecx + 0x22]
test si, 0x7fff
jne 0x49c683
xor ebp, ebp
lea eax, [0x822c40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ebp
call fcn.00438a20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x78]
movzx ebp, byte [ebx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x49c679
mov ebp, 0x34
movzx esi, word [ebx + 0x22]
test si, 0x7fff
jne 0x49c61d
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x74], esi
xor edi, edi
jmp 0x49c488
inc edi
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, ecx
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
cmp edi, ebp
jge 0x49c523
mov ebx, dword [esi + edi*4]
lea esi, [ecx + 1]
cmp esi, eax
jg 0x49c4d3
mov dword [esp + 0x38], esi
lea ebp, [edx + ecx*8]
lea esi, [0x8b7600]
mov dword [ebp], esi
mov ebp, dword [0xb92b90]
lea ecx, [edx + ecx*8 + 4]
test ebp, ebp
jne 0x49c4bc
mov dword [ecx], ebx
jmp 0x49c46d
mov dword [esp + 0x3c], eax
mov ebp, edi
mov edi, ecx
mov eax, ebx
call fcn.0044c990
mov eax, dword [esp + 0x3c]
mov edi, ebp
jmp 0x49c46d
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x60], ebx
lea ebx, [0x822c40]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
call fcn.00438ba0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov eax, ecx
mov ecx, dword [esp + 0x38]
jmp 0x49c49a
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x13
jne 0x49c76b
movzx ebx, word [ebx + 0x22]
mov ebp, dword [esp + 0x70]
mov dword [esp], ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
test bx, 0x8000
setne al
mov byte [esp + 0x18], al
call fcn.004a03c0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
lea edx, [0x7b4be0]
mov dword [esp], edx
call fcn.00409c40
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.0049bcd0
mov eax, dword [0xb92b90]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x49c60e
mov eax, dword [esp + 0x6c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
lea edx, [0x8b7600]
cmp ecx, edx
jne 0x49c74d
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0x13
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xdc], eax
add esp, 0xac
ret
mov edi, dword [esp + 0x6c]
mov eax, ecx
call fcn.0044c990
mov eax, edi
jmp 0x49c5ca
mov dword [esp + 0x38], ecx
add ebp, ebx
test byte [ebp], al
and esi, 0x7fff
mov edi, ebx
movzx ebx, word [ebx + 0x20]
movzx ecx, bx
add ebx, esi
movzx ebx, bx
cmp ecx, ebx
ja 0x49c785
cmp ebx, 0x100000
ja 0x49c785
sub ebx, ecx
lea esi, [ecx - 0x100000]
xchg esi, ebx
neg ebx
xchg esi, ebx
shl ecx, 2
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ecx
add esi, ebp
mov ecx, dword [esp + 0x38]
mov ebp, ebx
mov ebx, edi
jmp 0x49c461
mov ebp, 0x24
jmp 0x49c44e
add ebp, ecx
test byte [ebp], al
and esi, 0x7fff
movzx ebp, word [ecx + 0x20]
movzx eax, bp
add ebp, esi
movzx ebp, bp
cmp eax, ebp
ja 0x49c78c
cmp ebp, 0x100000
ja 0x49c78c
sub ebp, eax
jmp 0x49c410
mov ebp, 0x24
jmp 0x49c3f7
add esi, ebp
test byte [esi], al
movzx ecx, cx
cmp ecx, 0x100000
jbe 0x49c313
jmp 0x49c793
mov esi, 0x24
jmp 0x49c300
mov eax, dword [esp + 0xb0]
call fcn.0044c990
mov ebp, eax
jmp 0x49c2e6
mov dword [esp + 0x44], eax
lea ebp, [0x822c40]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00438ba0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x44]
jmp 0x49c2bf
add ecx, eax
test byte [ecx], al
movzx ecx, dx
cmp ecx, 0x100000
jbe 0x49c28d
jmp 0x49c79a
mov ecx, 0x24
jmp 0x49c27a
mov dword [esp], ecx
lea eax, [0x82d080]
mov dword [esp + 4], eax
lea eax, [0x822c40]
mov dword [esp + 8], eax
call fcn.00407210
ud2
lea eax, [0x7b48a0]
mov dword [esp], eax
lea eax, [0x8b17e8]
mov dword [esp + 4], eax
call fcn.004273c0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
lea eax, [0x7b48a0]
mov dword [esp], eax
lea eax, [0x8b17c8]
mov dword [esp + 4], eax
call fcn.004273c0
ud2
call fcn.0044b230
jmp fcn.0049c130