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

Disassembly:
push 0xffffffffffffffff
push 0x6a1a3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push edi
mov edi, ecx
mov ecx, dword [esp + 0xbc]
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [ecx + 4]
test edx, edx
jle 0x49b82c
push ebx
push ebp
push esi
mov ecx, dword [ecx + 8]
mov esi, dword [ecx + eax*4]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x49b80e
mov eax, dword [edi + 0x5c]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], ebx
jle 0x49b403
mov edx, dword [edi + 0x60]
mov ecx, dword [esi]
mov ebp, dword [edx + ebx*4]
mov edx, dword [ecx - 8]
mov eax, dword [ebp]
mov eax, dword [eax - 8]
cmp eax, edx
jne 0x49b3f7
push esi
mov ecx, ebp
call fcn.00571b90
test eax, eax
jne 0x49b3f7
mov edx, dword [ebp + 4]
mov ebx, dword [esi + 4]
lea ecx, [ebp + 4]
lea eax, [esi + 4]
mov edx, dword [edx - 8]
cmp edx, dword [ebx - 8]
jne 0x49b3f3
push eax
call fcn.00571b90
test eax, eax
jne 0x49b3f3
lea eax, [esi + 8]
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.00403c30
add esp, 8
test al, al
je 0x49b3f3
mov al, byte [ebp + 0xc]
test al, al
je 0x49b3ec
mov cl, byte [esi + 0xc]
test cl, cl
jne 0x49b414
test al, al
jne 0x49b3f3
mov al, byte [esi + 0xc]
test al, al
je 0x49b414
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x5c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x49b387
push esi
lea ecx, [edi + 0x40]
call fcn.004c9c90
test al, al
je 0x49b80e
mov eax, dword [edi + 0x68]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x49b695
mov edx, dword [edi + 0x6c]
mov ecx, dword [esi]
mov eax, dword [edx + ebx*4]
mov edx, dword [ecx - 8]
mov ebp, dword [eax]
mov eax, dword [ebp]
mov eax, dword [eax - 8]
cmp eax, edx
jne 0x49b492
push esi
mov ecx, ebp
call fcn.00571b90
test eax, eax
jne 0x49b492
mov edx, dword [ebp + 4]
lea eax, [esi + 4]
mov ecx, dword [edx - 8]
mov edx, dword [eax]
cmp ecx, dword [edx - 8]
jne 0x49b492
push eax
lea ecx, [ebp + 4]
call fcn.00571b90
test eax, eax
jne 0x49b492
lea eax, [esi + 8]
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.00403c30
add esp, 8
test al, al
je 0x49b492
mov al, byte [ebp + 0xc]
test al, al
je 0x49b48b
mov cl, byte [esi + 0xc]
test cl, cl
jne 0x49b49c
test al, al
jne 0x49b492
mov al, byte [esi + 0xc]
test al, al
je 0x49b49c
mov eax, dword [edi + 0x68]
inc ebx
cmp ebx, eax
jge 0x49b4aa
jmp 0x49b425
mov edx, dword [edi + 0x6c]
mov eax, dword [edx + ebx*4]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
jmp 0x49b4ae
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49b695
mov eax, dword [esi + 0x10]
test eax, eax
je 0x49b5ce
mov eax, dword [esi + 0x40]
test eax, eax
jl 0x49b5ce
mov ecx, dword [ecx + 0x1c]
mov dl, byte [esi + 0x14]
mov ebp, dword [ecx + eax*4]
mov byte [ebp], dl
mov al, byte [esi + 0x1c]
mov byte [ebp + 8], al
mov ecx, dword [esi + 0x20]
mov dword [ebp + 0xc], ecx
mov edx, dword [esi + 0x24]
mov dword [ebp + 0x10], edx
mov eax, dword [esi + 0x28]
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x18]
lea edx, [esi + 0x2c]
mov dword [ebp + 4], ecx
lea ecx, [ebp + 0x18]
push edx
call fcn.00571160
mov eax, dword [esi + 0x30]
push 0
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 0x34]
mov dword [ebp + 0x20], ecx
mov edx, dword [esi + 0x38]
mov dword [ebp + 0x24], edx
mov eax, dword [esi + 0x3c]
mov dword [ebp + 0x28], eax
mov ecx, dword [esi + 0x40]
push ecx
push ebx
mov ecx, edi
call fcn.00495b30
mov edx, dword [esi + 0x18]
lea ebp, [edi + 0x70]
push edx
mov ecx, ebp
call fcn.00477090
mov eax, dword [esi + 0x40]
push 1
push eax
push ebx
mov ecx, edi
call fcn.00495860
test eax, eax
je 0x49b80e
mov cl, byte [esi + 0x14]
test cl, cl
jne 0x49b80e
mov ecx, dword [esi + 0x18]
push 1
push ecx
lea edx, [esp + 0x58]
push eax
push edx
mov ecx, edi
call fcn.0049d630
xor esi, esi
push eax
mov ecx, ebp
mov dword [esp + 0xc4], esi
call fcn.00476f90
mov dword [esp + 0x50], vtable.CContour.0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0xc8], 1
call fcn.00478d20
mov edx, dword [esp + 0x74]
push edx
call fcn.00658bf0
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x54]
jmp 0x49b809
mov ecx, edi
call fcn.00497180
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x10]
lea ebp, [esi + 0x14]
push 1
mov eax, dword [eax + 0x18]
push ebp
mov dword [esi + 0x40], eax
mov ecx, dword [esp + 0x18]
add ecx, 0x14
call fcn.004b0820
mov edx, dword [esp + 0x10]
push 1
mov ecx, edi
mov eax, dword [edx + 0x18]
dec eax
push eax
push ebx
call fcn.00495860
test eax, eax
je 0x49b80e
cmp byte [ebp], 0
jne 0x49b80e
mov ecx, dword [esi + 0x18]
push 1
push ecx
lea edx, [esp + 0x24]
push eax
push edx
mov ecx, edi
call fcn.0049d630
push eax
lea ecx, [edi + 0x70]
mov dword [esp + 0xc4], 2
call fcn.00476f90
mov dword [esp + 0x1c], vtable.CContour.0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0xc8], 3
call fcn.00478d20
mov edx, dword [esp + 0x40]
push edx
call fcn.00658bf0
add esp, 4
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x20]
jmp 0x49b809
mov ecx, edi
call fcn.00497180
push 0x20
mov dword [esi + 0x18], eax
mov dword [esi + 0x40], 0
call fcn.00658ea0
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
test ebp, ebp
mov dword [esp + 0xc0], 4
je 0x49b6ee
mov ecx, ebp
call fcn.00406c70
lea ecx, [ebp + 4]
call fcn.00406c70
lea ecx, [ebp + 8]
call fcn.00406c70
lea ecx, [ebp + 0x14]
mov byte [esp + 0xc0], 5
call fcn.00514b50
jmp 0x49b6f0
xor ebp, ebp
push esi
mov ecx, ebp
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0x14], ebp
call fcn.00571160
lea eax, [esi + 4]
lea ecx, [ebp + 4]
push eax
call fcn.00571160
lea ecx, [esi + 8]
push ecx
lea ecx, [ebp + 8]
call fcn.00403c10
mov dl, byte [esi + 0xc]
lea ebx, [esi + 0x14]
mov byte [ebp + 0xc], dl
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x10], eax
mov ecx, dword [esp + 0x10]
push 1
push ebx
add ecx, 0x14
call fcn.004b0820
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [edi + 0x64]
call fcn.00687a50
mov eax, dword [edi + 0x68]
push 1
dec eax
push 0
push eax
mov ecx, edi
call fcn.00495860
test eax, eax
je 0x49b80e
cmp byte [ebx], 0
jne 0x49b80e
mov ecx, dword [esi + 0x18]
push 1
push ecx
lea edx, [esp + 0x8c]
push eax
push edx
mov ecx, edi
call fcn.0049d630
push eax
lea ecx, [edi + 0x70]
mov dword [esp + 0xc4], 6
call fcn.00476f90
mov dword [esp + 0x84], vtable.CContour.0
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
cmp esi, eax
mov dword [esp + 0xc0], 7
mov ebx, eax
je 0x49b7d7
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x18
cmp esi, ebx
jne 0x49b7c1
mov esi, dword [esp + 0xa8]
push esi
call fcn.00658bf0
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x88]
call fcn.00478b40
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x18]
inc eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x49b369
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
pop edi
mov dword fs:[0], ecx
add esp, 0xb4
ret 4