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

Disassembly:
sub esp, 0x34
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call fcn.0075f980
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], eax
test eax, eax
jne 0x767449
mov byte [esi + 0x10], 1
pop esi
add esp, 0x34
ret 4
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0xf4]
push ebx
push edi
push edx
lea ecx, [esp + 0x28]
call fcn.0073b1b0
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x1c]
push 4
push 0xc
push 2
shr ebx, 2
push 0x8b
mov ecx, esi
and bl, 1
call fcn.00767240
test bl, bl
je 0x767523
push 4
push 8
push 1
push 0x8b
call fcn.00767240
mov eax, dword [edi + 0x10]
push eax
push 1
push 0x3d
call fcn.007670f0
push 1
push 3
call fcn.00767280
mov ebx, dword [esi + 0x44]
push 0
call fcn.00767070
push 0
call fcn.00767070
push 1
call fcn.007672d0
mov cl, byte [esi + 0x44]
sub cl, bl
mov byte [ebx - 1], cl
mov edx, dword [edi + 0x10]
mov ebx, dword [esi + 0x44]
push edx
push 1
push 0x2d
mov ecx, esi
call fcn.007670f0
push 0x51
call fcn.00766d40
push 2
push 0
push 0x8b
call fcn.00766cb0
mov eax, dword [edi + 0x18]
push eax
push 0
push 5
call fcn.007670f0
push 0x50
call fcn.00766d40
cmp dword [edi + 0x14], 0
je 0x767519
mov ecx, dword [edi + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.007670a0
mov dl, byte [esi + 0x44]
sub dl, bl
mov byte [ebx - 1], dl
jmp 0x767539
cmp dword [edi + 0x14], 0
je 0x767539
push 4
push 8
push 1
push 0x8b
call fcn.00767240
mov ebx, dword [edi + 0x10]
mov ecx, dword [edi + 0x18]
mov eax, ebx
sub eax, dword [edi + 0x14]
mov dword [esp + 0x44], ecx
inc eax
mov dword [esp + 0x14], eax
test ebx, ebx
jle 0x767683
mov ecx, ebx
sub ecx, eax
add ecx, ecx
add ecx, ecx
push ebp
mov dword [esp + 0x10], ecx
jmp 0x767568
mov eax, dword [esp + 0x18]
cmp ebx, eax
mov edx, dword [edi + 0x30]
mov ebp, dword [edx + ebx*4]
mov dword [esp + 0x14], 0
jl 0x767622
push ebx
push 1
push 0x3d
mov ecx, esi
call fcn.007670f0
push 1
push 3
call fcn.00767280
mov eax, dword [esi + 0x44]
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + ecx]
test ebp, ebp
je 0x767601
mov ecx, dword [esi]
cmp ebp, dword [ecx + 0x7c]
je 0x767601
cmp ebp, dword [ecx + 0x54]
jne 0x7675b9
sar eax, 3
jmp 0x767601
cmp ebp, dword [ecx + 0x74]
jne 0x7675c9
push eax
call fcn.0069959b
add esp, 4
jmp 0x767601
cmp ebp, dword [ecx + 0x78]
jne 0x7675d9
push eax
call fcn.00699ef0
add esp, 4
jmp 0x767601
cmp ebp, dword [ecx + 0x70]
jne 0x7675fe
push eax
call fcn.006c3d08
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 4
push eax
mov ecx, esi
call fcn.00767070
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x767602
and eax, 0xfffffff8
push eax
mov ecx, esi
call fcn.00767070
push 1
call fcn.007672d0
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x1c]
mov cl, dl
sub cl, al
mov dword [esp + 0x14], edx
mov byte [eax - 1], cl
mov edx, dword [esi]
mov eax, dword [esp + 0x48]
push 2
mov ecx, esi
cmp ebp, dword [edx + 0x70]
jne 0x767650
sub eax, 8
mov dword [esp + 0x4c], eax
add eax, 4
push eax
push 6
push 0xff
call fcn.00767240
mov eax, dword [esp + 0x48]
push 2
jmp 0x767657
sub eax, 4
mov dword [esp + 0x4c], eax
push eax
push 6
push 0xff
call fcn.00767240
mov eax, dword [esp + 0x14]
test eax, eax
je 0x767674
mov cl, byte [esi + 0x44]
sub cl, al
mov byte [eax - 1], cl
sub dword [esp + 0x10], 4
dec ebx
test ebx, ebx
jg 0x767564
pop ebp
test dword [edi + 0x1c], 0x10000000
je 0x767697
mov edx, dword [edi + 0x38]
push edx
mov ecx, esi
call fcn.00767070
mov ebx, dword [edi + 0x2c]
push 2
push 0
push 1
push 0x8b
mov ecx, esi
call fcn.00767240
test dword [edi + 0x1c], 0x40000
je 0x7676c0
push 0xfffffffffffffff8
push 1
push 0x25
call fcn.007670f0
mov eax, dword [edi + 0x3c]
sub eax, dword [esi + 0x44]
mov ecx, esi
sub eax, 5
push eax
call fcn.00767300
mov eax, dword [esi]
cmp ebx, dword [eax + 0x70]
je 0x7676fe
cmp ebx, dword [eax + 0x54]
jne 0x7676ed
push 0
push 0
push 0xfb6
call fcn.00766cd0
jmp 0x7676fe
cmp ebx, dword [eax + 0xa0]
jne 0x7676fe
push 4
push 0
call fcn.007670a0
push 0xc3
mov ecx, esi
call fcn.00766d40
lea eax, [edi + 4]
push eax
call fcn.0075e400
lea ecx, [esp + 0x24]
call fcn.0073b1e0
pop edi
pop ebx
pop esi
add esp, 0x34
ret 4