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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff84
mov edi, eax
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
xor edx, edx
mov ebx, dword [edi]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov ecx, dword [esp]
sub ecx, dword [edi + 4]
sar ecx, 1
jns 0x768397
adc ecx, 0
mov esi, dword [edi + 8]
mov esi, dword [esi + ecx*4]
test esi, esi
jne 0x7683a8
mov eax, 0x102
jmp 0x7683ad
mov eax, 0x10b
mov dword [esp + 0x20], eax
test esi, esi
jne 0x7683bc
mov edx, 0xfffffffc
jmp 0x7683be
mov edx, esi
mov dword [esp + 0x24], edx
test esi, esi
jne 0x7683cd
mov eax, 0xfffffff8
jmp 0x7683d0
lea eax, [esi + 4]
mov dword [esp + 0x28], eax
mov edx, 0x18
mov eax, ebx
call fcn.007587a0
mov ebp, eax
cmp dword [ebx], 0
je 0x7683ee
xor eax, eax
jmp 0x768ee4
mov ecx, 0x18
xor edx, edx
mov eax, ebp
call fcn.0070f4e0
mov edx, dword [esp + 4]
mov ecx, dword [edx + 8]
mov dword [ebp], ecx
mov ecx, dword [esp]
mov dword [ebp + 0x10], ecx
mov eax, dword [esp + 4]
mov dword [eax + 8], ebp
lea edx, [esp + 0xa]
push edx
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, edi
call fcn.0076d370
mov dword [esp], eax
movzx ecx, word [esp + 0xa]
cmp ecx, 0x16
jg 0x768459
je 0x76847d
add ecx, 0xfffffffa
sub ecx, 9
jb 0x76846d
sub ecx, 2
jb 0x76847d
sub ecx, 5
jb 0x76846d
jmp 0x76847d
add ecx, 0xffffffe3
sub ecx, 4
jb 0x76846d
add ecx, 0xffffffb7
sub ecx, 2
jb 0x76846d
je 0x76847d
jmp 0x76847d
mov dword [esp + 0x2c], 5
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x76848d
mov dword [esp + 0x2c], 0x10b
mov dword [esp + 0x30], 8
movzx edx, word [esp + 8]
cmp edx, 0x28
jg 0x7684cc
je 0x768af9
add edx, 0xffffffdf
cmp edx, 6
ja case.default.0x7684a9
jmp dword [edx*4 + 0x7684b0]
cmp edx, 0x2d
jg 0x7684f5
je 0x768d01
sub edx, 0x29
je 0x768c87
dec edx
sub edx, 2
jb 0x768d01
je 0x768e1a
jmp case.default.0x7684a9
sub edx, 0x68
je case.0x7684a9.33
dec edx
je 0x768af9
jmp case.default.0x7684a9
movzx eax, word [esp + 0xa]
cmp eax, 0x11
je 0x768519
cmp eax, 0x16
jne 0x7687cd
movzx eax, word [esp + 8]
cmp eax, 0x21
je 0x76852c
cmp eax, 0x27
jne 0x7685ac
mov esi, edi
mov ecx, 2
mov edx, 0x19
mov eax, dword [esi]
mov dword [esp + 0x34], eax
push 0
push 2
push 0
push 0x200
push 8
mov eax, dword [esp + 0x48]
call fcn.0075b6cc
push 0
push 8
push 0
mov ecx, 2
mov edx, 4
mov eax, dword [esp + 0x40]
call fcn.0075cad0
push eax
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.0075e1fc
push 0xfffffffffffffffc
push 6
push 0
mov ecx, 0x102
mov edx, 6
mov eax, ebx
call fcn.00759fb8
push 0xfffffffffffffff8
push 0x200
push 0
mov ecx, 0x102
mov edx, 6
mov eax, ebx
call fcn.00759fb8
jmp 0x768613
mov esi, edi
mov ecx, 2
mov edx, 0x19
mov eax, dword [esi]
mov dword [esp + 0x38], eax
push 0
push 2
push 0
push 0x200
push 4
mov eax, dword [esp + 0x4c]
call fcn.0075b6cc
push 0
push 8
push 0
mov ecx, 2
mov edx, 4
mov eax, dword [esp + 0x44]
call fcn.0075cad0
push eax
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.0075e1fc
push 0xfffffffffffffffc
push 0x200
push 0
mov ecx, 0x102
mov edx, 6
mov eax, ebx
call fcn.00759fb8
movzx eax, word [esp + 8]
cmp eax, 0x27
je 0x768622
cmp eax, 0x68
jne 0x76863c
push 8
push 0x200
push 0
mov ecx, 0x10b
mov edx, 6
mov eax, ebx
call fcn.00759fb8
mov eax, ebx
call fcn.0075c278
mov esi, eax
lea eax, [ebp + 0xc]
push eax
mov eax, edi
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
movzx eax, word [esp + 8]
cmp eax, 0x27
je 0x76866c
cmp eax, 0x68
jne 0x76872c
push 0
push 0x10b
push 8
mov ecx, 1
mov edx, 6
mov eax, ebx
call fcn.00759fb8
push 0
push 1
push 0
push 0x200
push 1
mov ecx, 1
mov edx, 0x19
mov eax, ebx
call fcn.0075b6cc
movzx edx, word [esp + 8]
cmp edx, 0x68
jne 0x7686d9
cmp dword [esp + 0x10], 0
jle 0x7686d9
push 0
push 0x200
mov ecx, dword [esp + 0x18]
mov edx, 2
push ecx
mov ecx, 1
mov eax, ebx
call fcn.0075cad0
mov edx, esi
call fcn.007586dc
movzx eax, word [esp + 8]
cmp eax, 0x27
je 0x7686f4
movzx ecx, word [esp + 8]
cmp ecx, 0x68
jne 0x768715
cmp dword [esp + 0xc], 0
jle 0x768715
push 0
push 0x200
mov ecx, dword [esp + 0x14]
mov edx, 3
push ecx
mov ecx, 1
mov eax, ebx
call fcn.0075cad0
mov dword [esp + 0x1c], eax
push 8
push 1
push 0
mov ecx, 0x10b
mov edx, 6
mov eax, ebx
call fcn.00759fb8
mov dword [esp + 0x3c], edi
mov edx, 0x19
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov ecx, 2
mov dword [esp + 0x40], eax
push 0
push 2
push 0
push 0x200
push 4
mov eax, dword [esp + 0x54]
call fcn.0075b6cc
push 0
push 8
push 0
mov ecx, 2
mov edx, 4
mov eax, dword [esp + 0x4c]
call fcn.0075cad0
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x40]
call fcn.0075e1fc
push 0xfffffffffffffffc
push 6
push 0
mov ecx, 0x102
mov edx, 6
mov eax, ebx
call fcn.00759fb8
mov edx, 0x16
mov eax, ebx
call fcn.0075c304
mov edx, esi
call fcn.007586dc
cmp dword [esp + 0x1c], 0
je 0x768a4b
mov eax, ebx
call fcn.0075c278
mov edx, eax
mov eax, dword [esp + 0x1c]
call fcn.007586dc
jmp 0x768a4b
movzx ecx, word [esp + 8]
cmp ecx, 0x23
jne 0x7687eb
lea ecx, [ebp + 0xc]
mov eax, edi
push ecx
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
test esi, esi
jne 0x768844
mov dword [esp + 0x44], edi
mov edx, 0x19
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
mov ecx, 2
mov dword [esp + 0x48], eax
push 0
push 2
push 0
push 0x200
push 8
mov eax, dword [esp + 0x5c]
call fcn.0075b6cc
push 0
push 8
push 0
mov ecx, 2
mov edx, 4
mov eax, dword [esp + 0x54]
call fcn.0075cad0
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x48]
call fcn.0075e1fc
mov ecx, dword [esp + 0x24]
mov edx, 6
push ecx
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
movzx ecx, word [esp + 8]
cmp ecx, 0x23
jg 0x768882
mov eax, dword [esp + 0x28]
mov edx, 6
push eax
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
jmp 0x76889e
mov ecx, dword [esp + 0x28]
mov edx, 6
push ecx
push 0x200
push 1
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
mov eax, ebx
call fcn.0075c278
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov eax, edi
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
mov edx, dword [esp + 0x24]
mov eax, ebx
push edx
push 6
push 0
mov edx, 6
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
movzx ecx, word [esp + 8]
cmp ecx, 0x23
jg 0x7688f7
mov edx, 0x16
mov eax, ebx
call fcn.0075c304
mov edx, esi
call fcn.007586dc
jmp 0x7689bc
movzx eax, word [esp + 8]
cmp eax, 0x68
jne 0x768943
cmp dword [esp + 0xc], 0
jne 0x768943
mov ecx, dword [esp + 0x28]
mov edx, 0x19
push ecx
mov ecx, dword [esp + 0x24]
push ecx
mov eax, dword [esp + 0x30]
push eax
push 0x200
push 1
mov eax, ebx
mov ecx, dword [esp + 0x34]
call fcn.0075b6cc
mov edx, 0x16
mov eax, ebx
call fcn.0075c304
mov edx, esi
call fcn.007586dc
jmp 0x7689bc
push 0
mov edx, 6
mov eax, dword [esp + 0x24]
push eax
mov eax, ebx
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, 1
call fcn.00759fb8
push 0
push 1
push 0
push 0x200
push 1
mov ecx, 1
mov edx, 0x19
mov eax, ebx
call fcn.0075b6cc
mov ecx, dword [esp + 0x28]
mov edx, 6
push ecx
push 1
push 0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
push 0
push 0x200
mov ecx, dword [esp + 0x14]
mov edx, 2
inc ecx
mov eax, ebx
push ecx
mov ecx, 1
call fcn.0075cad0
mov edx, esi
call fcn.007586dc
mov eax, ebx
call fcn.0075c278
mov edx, eax
mov eax, dword [esp + 0x18]
call fcn.0076d350
movzx ecx, word [esp + 8]
cmp ecx, 0x68
jne 0x768a2e
mov dword [esp + 0x4c], ebx
lea ecx, [ebp + 0xc]
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x28]
push eax
push 0x200
mov edx, dword [esp + 0x18]
mov eax, ebx
inc edx
push edx
mov edx, 2
mov ecx, dword [esp + 0x2c]
call fcn.0075cad0
mov dword [esp + 0x54], eax
mov edx, 8
mov eax, dword [esp + 0x4c]
call fcn.007587a0
test eax, eax
je 0x768a2e
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x54]
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
mov dword [edx], eax
push 0
mov edx, 6
mov eax, dword [esp + 0x24]
push eax
mov eax, ebx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, 6
call fcn.00759fb8
mov eax, ebx
call fcn.0075c278
mov dword [ebp + 0x14], eax
jmp case.default.0x7684a9
movzx edx, word [esp + 8]
cmp edx, 0x24
jne 0x768a78
lea ecx, [ebp + 0xc]
mov eax, edi
push ecx
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
test esi, esi
jne 0x768ad1
mov dword [esp + 0x58], edi
mov edx, 0x19
mov ecx, dword [esp + 0x58]
mov eax, dword [ecx]
mov ecx, 2
mov dword [esp + 0x5c], eax
push 0
push 2
push 0
push 0x200
push 4
mov eax, dword [esp + 0x70]
call fcn.0075b6cc
push 0
push 8
push 0
mov ecx, 2
mov edx, 4
mov eax, dword [esp + 0x68]
call fcn.0075cad0
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x5c]
call fcn.0075e1fc
mov ecx, dword [esp + 0x24]
mov edx, 6
push ecx
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
mov eax, ebx
call fcn.0075c278
mov dword [ebp + 0x14], eax
jmp case.default.0x7684a9
test esi, esi
jne 0x768b52
mov dword [esp + 0x60], edi
mov edx, dword [esp + 0x60]
mov ecx, dword [edx]
mov dword [esp + 0x64], ecx
push 0
push 2
push 0
push 0x200
push 8
mov ecx, 2
mov edx, 0x19
mov eax, dword [esp + 0x78]
call fcn.0075b6cc
push 0
push 8
push 0
mov ecx, 2
mov edx, 4
mov eax, dword [esp + 0x70]
call fcn.0075cad0
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x64]
call fcn.0075e1fc
mov ecx, dword [esp + 0x24]
mov edx, 6
push ecx
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
mov ecx, dword [esp + 0x28]
mov edx, 6
push ecx
push 0x200
push 1
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
movzx ecx, word [esp + 8]
cmp ecx, 0x69
jne 0x768bd3
mov dword [esp + 0x68], ebx
lea eax, [ebp + 0xc]
mov dword [esp + 0x6c], eax
mov edx, 0x16
mov eax, ebx
call fcn.0075c304
mov dword [esp + 0x70], eax
mov edx, 8
mov eax, dword [esp + 0x68]
call fcn.007587a0
test eax, eax
je 0x768bd3
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x70]
mov dword [eax], edx
mov ecx, dword [esp + 0x6c]
mov dword [ecx], eax
mov eax, ebx
call fcn.0075c278
mov dword [ebp + 0x14], eax
jmp case.default.0x7684a9
test esi, esi
jne 0x768c41
mov dword [esp + 0x74], edi
mov edx, 0x19
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
mov ecx, 2
mov dword [esp + 0x78], eax
push 0
push 2
push 0
push 0x200
push 4
mov eax, dword [esp + 0x8c]
call fcn.0075b6cc
push 0
push 8
push 0
mov ecx, 2
mov edx, 4
mov eax, dword [esp + 0x84]
call fcn.0075cad0
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x78]
call fcn.0075e1fc
mov ecx, dword [esp + 0x24]
mov edx, 6
push ecx
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x2c]
call fcn.00759fb8
movzx ecx, word [esp + 8]
cmp ecx, 0x25
jne 0x768c78
lea eax, [ebp + 0xc]
push eax
mov eax, edi
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
mov eax, ebx
call fcn.0075c278
mov dword [ebp + 0x14], eax
jmp case.default.0x7684a9
mov edx, dword [esp + 0x30]
mov eax, ebx
push edx
push 0x200
mov ecx, dword [esp + 0x14]
mov edx, 6
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00759fb8
mov eax, ebx
call fcn.0075c278
add ebp, 0xc
mov esi, eax
push ebp
mov eax, edi
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
mov ecx, dword [esp + 0x30]
push ecx
mov eax, dword [esp + 0x30]
push eax
mov eax, ebx
mov edx, dword [esp + 0x38]
push edx
push 0x200
push 1
mov edx, 0x21b
mov ecx, dword [esp + 0x40]
call fcn.0075b6cc
mov edx, 1
mov eax, ebx
call fcn.0075c304
mov edx, esi
call fcn.007586dc
jmp case.default.0x7684a9
movzx eax, word [esp + 8]
cmp eax, 0x2b
jne 0x768d1f
add ebp, 0xc
mov eax, edi
push ebp
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
movzx ecx, word [esp + 8]
cmp ecx, 0x2d
jne 0x768d46
push 0xc
push 0x200
mov eax, dword [esp + 0x14]
mov ecx, 0x10b
push eax
mov eax, ebx
mov edx, 6
call fcn.00759fb8
mov ecx, dword [esp + 0x30]
mov edx, 6
push ecx
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x38]
call fcn.00759fb8
mov eax, ebx
call fcn.0075c278
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov eax, edi
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
mov edx, dword [esp + 0x30]
mov eax, ebx
push edx
push 6
push 0
mov edx, 6
mov ecx, dword [esp + 0x38]
call fcn.00759fb8
movzx ecx, word [esp + 8]
cmp ecx, 0x2d
je 0x768db5
mov edx, 0x16
mov eax, ebx
call fcn.0075c304
mov edx, esi
call fcn.007586dc
jmp 0x768de9
push 0xc
push 0x10b
push 0xc
push 0x200
push 1
mov ecx, 0x10b
mov edx, 0x21b
mov eax, ebx
call fcn.0075b6cc
mov edx, 1
mov eax, ebx
call fcn.0075c304
mov edx, esi
call fcn.007586dc
mov eax, ebx
call fcn.0075c278
mov edx, eax
mov eax, dword [esp + 0x18]
call fcn.0076d350
push 0
mov edx, 6
mov ecx, dword [esp + 0x30]
mov eax, ebx
push ecx
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, 6
call fcn.00759fb8
jmp case.default.0x7684a9
mov ecx, dword [esp + 0x30]
mov edx, 6
push ecx
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x38]
call fcn.00759fb8
lea ecx, [esp + 0x18]
mov eax, edi
push ecx
mov dx, word [esp + 0xe]
mov ecx, dword [esp + 4]
call fcn.00761928
mov ecx, dword [esp + 0x30]
mov edx, 6
push ecx
push 6
push 0
mov eax, ebx
mov ecx, dword [esp + 0x38]
call fcn.00759fb8
mov eax, ebx
call fcn.0075c278
mov edx, eax
mov eax, dword [esp + 0x18]
call fcn.0076d350
push 0
mov eax, ebx
mov edx, dword [esp + 0x30]
push edx
mov edx, 6
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, 6
call fcn.00759fb8
jmp case.default.0x7684a9
mov esi, edi
mov ebx, dword [esi]
push 0
push 0xa
push 0
push 0x200
push 1
mov ecx, 0xa
mov edx, 0x21b
mov eax, ebx
call fcn.0075b6cc
mov edi, ebx
add esi, 0xa4
xor edx, edx
mov eax, ebx
call fcn.0075c304
mov ebx, eax
mov edx, 8
mov eax, edi
call fcn.007587a0
test eax, eax
je 0x768ee0
mov ecx, dword [esi]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [esi], eax
mov eax, dword [esp + 0x14]
add esp, 0x7c
pop ebp
pop edi
pop esi
pop ebx
ret