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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6a1b40
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 0x68]
cmp eax, ebx
jle 0x49d270
mov eax, dword [0x8b0a50]
push ebp
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
call fcn.00406c70
lea ecx, [esp + 0x1c]
call fcn.00406c70
mov eax, dword [esi + 0x68]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x30], ebx
jle 0x49d160
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx + edi*4]
lea ecx, [esi + 0x40]
mov eax, dword [eax]
push eax
call fcn.004ca790
cmp eax, ebx
je 0x49d0e7
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0x128], ebx
mov edx, dword [esp + 0x24]
mov dword [edx + 0x12c], ebx
jmp 0x49d109
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
mov dword [eax + 0x128], ebx
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + edi*4]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x12c], ebx
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax]
lea ebp, [eax + 0x14]
mov ecx, ebp
call fcn.004b0760
mov ecx, ebp
call fcn.005758b0
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + edi*4]
mov ebp, dword [eax]
cmp ebp, ebx
mov dword [esp + 0x10], ebp
je 0x49d154
lea ecx, [ebp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004b0710
mov ecx, ebp
mov byte [esp + 0x30], 0
call fcn.00403c80
push ebp
call fcn.00658bf0
add esp, 4
mov eax, dword [esi + 0x68]
inc edi
cmp edi, eax
jl 0x49d0b7
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.00691930
mov ecx, edi
call fcn.005758b0
mov al, byte [esp + 0x38]
test al, al
je 0x49d181
lea ecx, [esi + 0x40]
call fcn.004c9b60
mov ecx, esi
call fcn.00495fc0
mov ebx, dword [esi + 0x7c]
mov ebp, dword [esi + 0x78]
mov edi, ebx
cmp edi, ebx
je 0x49d1a6
push edi
mov ecx, ebp
call fcn.00479c40
add edi, 0x30
add ebp, 0x30
cmp edi, ebx
jne 0x49d194
mov ebx, dword [esi + 0x7c]
mov edi, ebp
cmp ebp, ebx
je 0x49d1be
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax]
add edi, 0x30
cmp edi, ebx
jne 0x49d1af
mov dword [esi + 0x7c], ebp
mov ebx, dword [esi + 0x8c]
mov ebp, dword [esi + 0x88]
mov edi, ebx
cmp edi, ebx
je 0x49d1e5
push edi
mov ecx, ebp
call fcn.0047a630
add edi, 0x38
add ebp, 0x38
cmp edi, ebx
jne 0x49d1d3
mov ebx, dword [esi + 0x8c]
mov edi, ebp
cmp ebp, ebx
je 0x49d200
lea ecx, [edi + 0xc]
call fcn.00478b40
add edi, 0x38
cmp edi, ebx
jne 0x49d1f1
mov al, byte [esp + 0x3c]
mov dword [esi + 0x8c], ebp
pop edi
pop ebp
test al, al
je 0x49d217
mov ecx, esi
call fcn.00495040
mov ecx, dword [esp + 0x14]
mov esi, dword [0x6c74ac]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x49d239
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x49d239
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x49d255
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x49d255
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x49d270
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x49d270
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8