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

Disassembly:
sub esp, 0x70
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov dword [esp + 0x20], eax
xor eax, eax
push edi
mov ebx, ecx
lea esi, [esp + 0x54]
mov edi, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x67c761
mov esi, dword [esp + 0x54]
cmp esi, 0x80000000
jae 0x67c761
test eax, eax
jne 0x67c761
cmp esi, 0x4000000
jb 0x67c779
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0065865c
add esp, 0x70
ret
cmp esi, 0x20
ja 0x67c761
mov dword [ebx + 0x10], esi
test esi, esi
jne 0x67c907
mov dword [ebx], esi
test esi, esi
je 0x67c7ad
xor edi, edi
mov dword [esp + 0x1c], esi
mov eax, dword [ebx]
lea ecx, [edi + eax + 0x10]
push ecx
call fcn.00681a30
add esp, 4
add edi, 0x18
dec dword [esp + 0x1c]
jne 0x67c795
xor eax, eax
mov dword [esp + 0x18], eax
cmp esi, eax
jbe 0x67c761
mov dword [esp + 0x1c], eax
jmp 0x67c7c0
mov edx, dword [esp + 0x20]
mov ebx, dword [edx]
add ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 4]
mov dword [esp + 0x30], ebx
test esi, esi
je 0x67cb19
mov eax, dword [ebp]
dec esi
mov dword [ebp + 4], esi
mov dl, byte [eax]
lea ecx, [eax + 1]
movzx eax, dl
and eax, 0xf
mov byte [esp + 0x13], dl
mov dword [ebp], ecx
mov edi, 0
jbe 0x67c81b
lea esp, [esp]
test esi, esi
je 0x67cb19
dec esi
mov dword [ebp + 4], esi
mov dl, byte [ecx]
mov byte [esp + edi + 0x6c], dl
inc ecx
inc edi
mov dword [ebp], ecx
cmp edi, eax
jb 0x67c800
cmp eax, 8
ja 0x67c761
xor ecx, ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
cmp eax, ecx
jbe 0x67c85b
xor edi, edi
lea esi, [esp + eax + 0x6b]
mov dword [esp + 0x40], eax
lea ebx, [ebx]
movzx eax, byte [esi]
cdq
mov ecx, edi
call fcn.0065e6f0
or dword [ebx + 8], eax
or dword [ebx + 0xc], edx
dec esi
add edi, 8
dec dword [esp + 0x40]
jne 0x67c840
test byte [esp + 0x13], 0x10
je 0x67c93f
lea esi, [esp + 0x5c]
mov edi, ebp
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov ecx, dword [esp + 0x60]
test ecx, ecx
ja 0x67c761
mov eax, dword [esp + 0x5c]
jb 0x67c8ab
cmp eax, 0x80000000
jae 0x67c761
test ecx, ecx
ja 0x67c761
jb 0x67c8ab
cmp eax, 0x4000000
jae 0x67c761
lea esi, [esp + 0x64]
mov dword [ebx], eax
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov ecx, dword [esp + 0x68]
test ecx, ecx
ja 0x67c761
mov eax, dword [esp + 0x64]
jb 0x67c8f0
cmp eax, 0x80000000
jae 0x67c761
test ecx, ecx
ja 0x67c761
jb 0x67c8f0
cmp eax, 0x4000000
jae 0x67c761
cmp dword [ebx], 0x20
mov dword [ebx + 4], eax
ja 0x67c761
cmp eax, 0x20
ja 0x67c761
jmp 0x67c94c
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
lea ecx, [esi + esi*2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push eax
call edx
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x67c78b
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0065865c
add esp, 0x70
ret
mov dword [ebx], 1
mov dword [ebx + 4], 1
test byte [esp + 0x13], 0x20
je 0x67c99b
xor eax, eax
lea esi, [esp + 0x4c]
mov edi, ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
push eax
lea edi, [ebx + 0x10]
push esi
push edi
call fcn.00681a50
add esp, 0xc
test eax, eax
je 0x67c927
mov edi, dword [edi]
mov eax, ebp
call fcn.0067c0c0
test eax, eax
jne 0x67cc9e
test byte [esp + 0x13], 0x80
je 0x67cacf
jmp 0x67c9b0
mov eax, dword [ebp + 4]
test eax, eax
je 0x67cb19
lea ecx, [eax - 1]
mov eax, dword [ebp]
mov dword [ebp + 4], ecx
mov bl, byte [eax]
mov dl, bl
and dl, 0xf
lea esi, [eax + 1]
movzx eax, dl
cdq
xor edi, edi
mov dword [ebp], esi
cmp edx, edi
ja 0x67cb19
jb 0x67c9e9
cmp eax, ecx
ja 0x67cb19
sub ecx, eax
add esi, eax
mov dword [ebp + 4], ecx
mov dword [ebp], esi
test bl, 0x10
je 0x67ca84
lea esi, [esp + 0x38]
mov edi, ebp
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov ecx, dword [esp + 0x3c]
test ecx, ecx
ja 0x67c761
mov eax, dword [esp + 0x38]
jb 0x67ca41
cmp eax, 0x80000000
jae 0x67c761
test ecx, ecx
ja 0x67c761
jb 0x67ca41
cmp eax, 0x4000000
jae 0x67c761
lea esi, [esp + 0x28]
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
ja 0x67c761
mov eax, dword [esp + 0x28]
jb 0x67ca84
cmp eax, 0x80000000
jae 0x67c761
test ecx, ecx
ja 0x67c761
jb 0x67ca84
cmp eax, 0x4000000
jae 0x67c761
test bl, 0x20
je 0x67cac3
xor eax, eax
lea esi, [esp + 0x44]
mov edi, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov eax, dword [ebp + 4]
xor ecx, ecx
cmp dword [esp + 0x48], ecx
ja 0x67cb19
mov ecx, dword [esp + 0x44]
jb 0x67cabb
cmp ecx, eax
ja 0x67cb19
sub eax, ecx
add dword [ebp], ecx
mov dword [ebp + 4], eax
test bl, bl
js 0x67c9b0
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx]
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, dword [ebx + 4]
add dword [esp + 0x1c], 0x18
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x54]
jb 0x67c7c0
xor ebx, ebx
cmp eax, ebx
je 0x67c761
mov edi, dword [esp + 0x20]
lea esi, [eax - 1]
mov dword [esp + 0x14], esi
mov dword [edi + 0x14], esi
cmp esi, ebx
jne 0x67cb31
mov dword [edi + 4], ebx
jmp 0x67cb50
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0065865c
add esp, 0x70
ret
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
lea ecx, [esi*8]
push ecx
push eax
call edx
add esp, 8
mov dword [edi + 4], eax
cmp eax, ebx
je 0x67c927
mov dword [esp + 0x18], ebx
cmp esi, ebx
jbe 0x67cc0e
lea esp, [esp]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x18]
lea esi, [esp + 0x28]
mov edi, ebp
lea ebx, [ecx + edx*8]
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
ja 0x67c761
mov eax, dword [esp + 0x28]
jb 0x67cbb3
cmp eax, 0x80000000
jae 0x67c761
test ecx, ecx
ja 0x67c761
jb 0x67cbb3
cmp eax, 0x4000000
jae 0x67c761
lea esi, [esp + 0x38]
mov dword [ebx], eax
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov ecx, dword [esp + 0x3c]
test ecx, ecx
ja 0x67c761
mov eax, dword [esp + 0x38]
jb 0x67cbf8
cmp eax, 0x80000000
jae 0x67c761
test ecx, ecx
ja 0x67c761
jb 0x67cbf8
cmp eax, 0x4000000
jae 0x67c761
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jb 0x67cb60
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
cmp ebx, eax
jb 0x67c761
mov edi, dword [esp + 0x20]
mov esi, ebx
sub esi, eax
mov dword [esp + 0x14], esi
mov dword [edi + 0x18], esi
jne 0x67ccb1
mov dword [edi + 8], 0
xor ebx, ebx
test esi, esi
je 0x67cc9c
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
lea ecx, [eax + ebx*4]
lea esi, [esp + 0x28]
mov edi, ebp
mov dword [esp + 0x30], ecx
call fcn.0067c130
test eax, eax
jne 0x67cc9e
mov ecx, dword [esp + 0x2c]
test ecx, ecx
ja 0x67c761
mov eax, dword [esp + 0x28]
jb 0x67cc8f
cmp eax, 0x80000000
jae 0x67c761
test ecx, ecx
ja 0x67c761
jb 0x67cc8f
cmp eax, 0x4000000
jae 0x67c761
mov edx, dword [esp + 0x30]
inc ebx
mov dword [edx], eax
cmp ebx, dword [esp + 0x14]
jb 0x67cc40
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0065865c
add esp, 0x70
ret
lea eax, [esi*4]
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
call ecx
add esp, 8
mov dword [edi + 8], eax
test eax, eax
je 0x67c927
cmp esi, 1
jne 0x67cc3a
xor esi, esi
test ebx, ebx
je 0x67cd07
mov ebp, dword [edi + 0x14]
xor ecx, ecx
test ebp, ebp
je 0x67cd07
mov edx, dword [edi + 4]
jmp 0x67ccf0
cmp dword [edx], esi
je 0x67ccfe
inc ecx
add edx, 8
cmp ecx, ebp
jb 0x67ccf0
jmp 0x67cd07
test ecx, ecx
js 0x67cd07
inc esi
cmp esi, ebx
jb 0x67cce2
cmp esi, ebx
je 0x67c761
mov ecx, dword [esp + 0x7c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0065865c
add esp, 0x70
ret