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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b0feb
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4e3a40]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x4e3a40]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor edi, edi
push edi
mov esi, ecx
mov eax, dword [esi + 0x98]
push edi
push 0x1009
push eax
mov dword [esp + 0x28], esi
call dword [fcn.004b462c]
mov eax, esi
call fcn.007c95b8
mov eax, dword [0x4e913c]
cmp eax, edi
je 0x7c9682
call eax
jmp 0x7c9684
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
cmp eax, edi
mov dword [esp + 0x88], edi
jle 0x7c975a
jmp 0x7c96a8
push 0x1430
call fcn.007f7ca4
mov esi, eax
add esp, 4
test esi, esi
je 0x7c96cf
push 0x1430
push 0
push esi
call fcn.008214e8
add esp, 0xc
mov ebx, esi
jmp 0x7c96d1
xor ebx, ebx
mov eax, dword [0x4e9140]
test eax, eax
mov dword [esp + 0x30], ebx
je 0x7c9744
push ebx
push edi
call eax
test eax, eax
je 0x7c9744
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + reloc.MSVCRT.dll_strncpy]
add esi, 0x200
test ecx, ecx
jne 0x7c96fe
xor edx, edx
jmp 0x7c9706
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x7c9723
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x7c9723
mov eax, dword [esi + 8]
mov dword [eax], ebx
add eax, 4
mov dword [esi + 8], eax
jmp 0x7c974d
mov ebx, dword [esi + 8]
cmp ecx, ebx
jbe 0x7c972f
call fcn.0081e954
push ebx
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x64]
push edx
mov eax, esi
call fcn.007c8e68
jmp 0x7c974d
push ebx
call fcn.007f7cd4
add esp, 4
add edi, 1
cmp edi, dword [esp + 0x2c]
jl 0x7c96a8
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + reloc.MSVCRT.dll_strncpy]
test ecx, ecx
je 0x7c9858
mov eax, dword [eax + reloc.MSVCRT.dll_strncpy]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x7c9858
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
jbe 0x7c9798
call fcn.0081e954
jmp 0x7c9798
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x20], edi
jbe 0x7c97a7
call fcn.0081e954
cmp esi, edi
je 0x7c9810
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + reloc.MSVCRT.dll_strncpy]
test ecx, ecx
je 0x7c97c8
mov eax, dword [eax + reloc.MSVCRT.dll_strncpy]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x7c97cd
call fcn.0081e954
cmp esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + reloc.MSVCRT.dll_strncpy]
lea edi, [ecx + ebx*4]
jb 0x7c97e5
call fcn.0081e954
mov edx, dword [edi]
mov eax, dword [esi]
add edx, 0x208
push edx
add eax, 0x208
push eax
call dword [0x4b4320]
test eax, eax
jl 0x7c9810
cmp esi, dword [esp + 0x24]
jb 0x7c980b
call fcn.0081e954
add esi, 4
jmp 0x7c9798
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + reloc.MSVCRT.dll_strncpy]
test ecx, ecx
je 0x7c982d
mov eax, dword [edi + reloc.MSVCRT.dll_strncpy]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x7c9832
call fcn.0081e954
mov ecx, dword [edi + reloc.MSVCRT.dll_strncpy]
push esi
lea eax, [esp + 0x20]
push eax
lea edx, [ecx + ebx*4]
push edx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x2c]
call fcn.007c8e68
add ebx, 1
jmp 0x7c975c
xor esi, esi
mov dword [esp + 0x38], esi
call fcn.007f9145
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x7c9878
push 0x80004005
call fcn.00792ac8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x88], 1
call fcn.007f9145
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x7c98aa
push 0x80004005
call fcn.00792ac8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x88], 2
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
test eax, eax
mov ebx, dword [esp + 0x10]
je 0x7c9e85
mov ecx, edi
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jae 0x7c9e85
cmp dword [esp + 0x38], 0
je 0x7c9961
cmp ebx, ecx
jb 0x7c9901
call fcn.0081e954
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [ebx*4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + ecx]
add ecx, 0x208
mov edx, 0
setne dl
test edx, edx
je 0x7c986e
mov edx, dword [esp + 0x2c]
mov si, word [edx]
cmp si, word [ecx]
jne 0x7c994f
test si, si
je 0x7c994b
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x7c994f
add edx, 4
add ecx, 4
test si, si
jne 0x7c9929
xor ecx, ecx
jmp 0x7c9954
sbb ecx, ecx
sbb ecx, reloc.MSVCRT.dll_strncpy
test ecx, ecx
setne cl
test cl, cl
je 0x7c9def
test eax, eax
je 0x7c996e
sub edi, eax
sar edi, 2
cmp ebx, edi
jb 0x7c9977
call fcn.0081e954
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
add ebx, ebx
add ebx, ebx
mov edx, dword [eax + ebx]
add edx, 0x208
mov dword [esp + 0x3c], ebx
jne 0x7c9992
xor eax, eax
jmp 0x7c99a7
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x7c9998
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00792db8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7c99cb
mov edi, dword [esp + 0x24]
mov ecx, edi
sub ecx, eax
sar ecx, 2
cmp dword [esp + 0x10], ecx
jb 0x7c99d8
call fcn.0081e954
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ebx]
mov edx, dword [0x4e90c8]
add ecx, 0x208
test edx, edx
je 0x7c9e7b
push ecx
call edx
test eax, eax
mov dword [esp + 0x40], eax
je 0x7c9e73
push 0x104
call fcn.007f7ca4
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x88], 3
je 0x7c9a29
push eax
call fcn.007eb6b8
mov edi, eax
mov dword [esp + 0x34], edi
jmp 0x7c9a35
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x88], 2
mov eax, dword [0x4e9110]
test eax, eax
lea ebx, [edi + 8]
mov dword [esp + 0x38], edi
mov dword [edi + 4], ecx
mov dword [ebx], ecx
je 0x7c9a64
push 0
push 0x10
lea edx, [esp + 0x70]
push edx
push 0xc
push ecx
call eax
lea esi, [esp + 0x68]
call fcn.007966d8
mov dword [edi + 0xc], eax
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.0079ad78
mov byte [esp + 0x88], 4
mov edx, dword [eax]
test edx, edx
lea ecx, [edi + 0x34]
jne 0x7c9a90
xor eax, eax
jmp 0x7c9aa7
mov eax, edx
lea ebx, [eax + 2]
lea ecx, [ecx]
mov si, word [eax]
add eax, 2
test si, si
jne 0x7c9a98
sub eax, ebx
sar eax, 1
push eax
push edx
call fcn.00792db8
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7c9ad6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi + 8]
push eax
lea esi, [esp + 0x54]
call fcn.0079ac98
mov byte [esp + 0x88], 5
mov edx, dword [eax]
test edx, edx
lea ecx, [edi + 0x60]
jne 0x7c9af8
xor eax, eax
jmp 0x7c9b0c
mov eax, edx
lea ebx, [eax + 2]
mov si, word [eax]
add eax, 2
test si, si
jne 0x7c9afd
sub eax, ebx
sar eax, 1
push eax
push edx
call fcn.00792db8
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7c9b3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x7c9b52
mov eax, dword [esp + 0x24]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x10], eax
jb 0x7c9b5b
call fcn.0081e954
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov esi, dword [ecx + edx]
add esi, 0x608
push esi
call dword [fcn.004b440c]
test esi, esi
lea ecx, [edi + 0x54]
jne 0x7c9b7a
xor eax, eax
jmp 0x7c9b8e
mov eax, esi
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x7c9b7f
sub eax, ebx
sar eax, 1
push eax
push esi
call fcn.00792db8
mov eax, dword [0x4e9110]
test eax, eax
mov dword [esp + 0x30], reloc.MSVCRT.dll_strncpy
je 0x7c9c60
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x44]
push 4
lea edx, [esp + 0x38]
push edx
push 9
push ecx
call eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x7c9bd0
cmp eax, 0x16
jne 0x7c9c60
lea eax, [edi + 8]
push eax
lea esi, [esp + 0x48]
call fcn.0079ad08
mov byte [esp + 0x88], 6
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x7c9c4f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x7c9c41
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x7c9c41
push eax
call fcn.00792a48
mov edi, eax
add esp, 4
or eax, reloc.MSVCRT.dll_strncpy
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x7c9c25
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x34]
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x44]
jmp 0x7c9ce0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00792db8
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x44]
jmp 0x7c9ce0
push 0x127
lea esi, [esp + 0x4c]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0x88], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x7c9cd4
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x7c9cc6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x7c9cc6
push eax
call fcn.00792a48
mov edi, eax
add esp, 4
or eax, reloc.MSVCRT.dll_strncpy
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x7c9cb9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x34]
jmp 0x7c9cd4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00792db8
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
or edx, reloc.MSVCRT.dll_strncpy
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7c9cfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
test ebx, ebx
lea ecx, [edi + 0x8c]
jne 0x7c9d0e
xor eax, eax
jmp 0x7c9d27
mov eax, ebx
lea esi, [eax + 2]
jmp 0x7c9d18
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x7c9d18
sub eax, esi
sar eax, 1
push eax
push ebx
call fcn.00792db8
push 0x149
lea esi, [esp + 0x50]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0x88], 8
mov edx, dword [eax]
test edx, edx
lea ecx, [edi + 0xb8]
jne 0x7c9d57
xor eax, eax
jmp 0x7c9d6b
mov eax, edx
lea ebx, [eax + 2]
mov si, word [eax]
add eax, 2
test si, si
jne 0x7c9d5c
sub eax, ebx
sar eax, 1
push eax
push edx
call fcn.00792db8
mov byte [esp + 0x88], 2
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7c9d9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0x4bddd4
lea ecx, [edi + 0xfc]
call fcn.00792db8
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push 0x4bddd4
push ecx
add esi, 0x78
push 1
mov ecx, esi
call fcn.00804d23
push edi
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, esi
call fcn.00804d6f
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x7c9dfc
sub edi, eax
sar edi, 2
cmp ebx, edi
jb 0x7c9e05
call fcn.0081e954
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add esi, 0xc4
lea edi, [eax + edx]
mov eax, dword [esi + 4]
test eax, eax
jne 0x7c9e21
xor edx, edx
jmp 0x7c9e29
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x7c9e58
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x7c9e58
mov eax, dword [esi + 8]
mov ecx, dword [edi]
mov dword [eax], ecx
add eax, 4
add dword [esp + 0x10], 1
mov dword [esi + 8], eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
jmp 0x7c98ce
mov ebx, dword [esi + 8]
cmp eax, ebx
jbe 0x7c9e64
call fcn.0081e954
push ebx
push esi
push edi
lea edx, [esp + 0x6c]
push edx
mov eax, esi
call fcn.007c8e68
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 1
jmp 0x7c98ce
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x98]
push 0
push 0
add edi, 0x78
push 0x1004
push eax
call dword [fcn.004b462c]
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x7c9eca
push esi
mov ecx, edi
call fcn.00804aef
test eax, eax
je 0x7c9ec3
cmp dword [eax + 0xd4], 0
jne 0x7c9f72
add esi, 1
cmp esi, ebx
jl 0x7c9eaa
xor al, al
mov esi, dword [esp + 0x18]
movzx ecx, al
push ecx
lea ecx, reloc.MSVCRT.dll_strncpy
call fcn.007ffb8a
mov edx, dword [esi + 0x98]
push 0
push 0
push edx
call dword [int.004b4728]
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7c9f18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7c9f40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7c9f51
push eax
call fcn.007f7cd4
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0081e2f5
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x7c9ecc