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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ae95d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4e3a40]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4e3a40]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
call fcn.007f9145
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x7b97be
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 + 0x24], eax
push esi
push esi
mov dword [esp + 0xa8], esi
mov ecx, dword [edi + reloc.MSVCRT.dll_strncpy]
push 0x1004
push ecx
mov dword [esp + 0x38], esi
call dword [fcn.004b462c]
test eax, eax
jle 0x7ba196
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xa8c], 0
jne 0x7ba196
lea ecx, reloc.MSVCRT.dll_strncpy
push esi
mov dword [esp + 0x20], ecx
call fcn.00804aef
mov ebx, eax
cmp dword [ebx + 4], 1
jne 0x7ba169
mov esi, dword [0x4e9110]
test esi, esi
mov edi, dword [ebx + 8]
mov dword [esp + 0x20], edi
je 0x7b984a
push 0
push 0x10
lea edx, [esp + 0x88]
push edx
push 0xc
push edi
call esi
mov esi, dword [0x4e9110]
lea eax, [esp + 0x80]
push 0x4e4f18
push eax
call fcn.0079a028
add esp, 8
test eax, eax
je 0x7b9893
test esi, esi
mov dword [esp + 0x18], reloc.MSVCRT.dll_strncpy
je 0x7b987d
push 0
push 4
lea ecx, [esp + 0x20]
push ecx
push 0x13
push edi
call esi
cmp dword [esp + 0x18], 3
sete al
test al, al
je 0x7b9893
cmp dword [ebx + 0x44], 0
jne 0x7ba169
lea edx, [esp + 0x20]
push edx
lea esi, [esp + 0x60]
call fcn.0079ac98
mov edi, eax
push 0xe7
lea esi, [esp + 0x38]
mov byte [esp + 0xa4], 1
call fcn.00795fd8
add esp, 4
push 0x4c4054
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xac], 2
call fcn.007920a8
add esp, 0xc
mov byte [esp + 0xa0], 3
mov ecx, dword [edi]
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00792c58
mov byte [esp + 0xac], 2
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b991a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b9942
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b996a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
add ecx, 0x8c8
push edx
call fcn.007ffa91
push 0xe7
lea esi, [esp + 0x40]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 4
mov ecx, dword [eax]
test ecx, ecx
jne 0x7b99a1
xor eax, eax
jmp 0x7b99b7
mov eax, ecx
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x7b99a8
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebx + 0x38]
call fcn.00792db8
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b99e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push 0
push ecx
mov dword [ebx + 0x3c], 0x3366ff
mov eax, dword [edx + reloc.MSVCRT.dll_strncpy]
push 0x1013
push eax
call dword [fcn.004b462c]
mov edi, dword [esp + 0x1c]
push ebx
call fcn.007e86d8
cmp dword [ebx + 0x44], 0
je 0x7b9ab0
push 0xe7
lea esi, [esp + 0x80]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 5
mov edx, dword [eax]
mov eax, dword [ebx + 0x44]
add eax, 0x14
test edx, edx
lea ecx, [eax + 0x24]
jne 0x7b9a50
xor eax, eax
jmp 0x7b9a67
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov si, word [eax]
add eax, 2
test si, si
jne 0x7b9a58
sub eax, edi
sar eax, 1
push eax
push edx
call fcn.00792db8
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b9a96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x44]
mov edi, dword [esp + 0x1c]
add eax, 0x14
mov dword [eax + 0x28], 0x3366ff
mov ecx, dword [ebx + 0x44]
push ecx
call fcn.007e86d8
mov edi, dword [esp + 0x14]
mov edx, dword [edi + reloc.MSVCRT.dll_strncpy]
push 0
push 0
push 0x402
push edx
call dword [fcn.004b462c]
mov eax, dword [ebx + 8]
lea ecx, reloc.MSVCRT.dll_strncpy
push 0x4bddd4
mov dword [edi + reloc.MSVCRT.dll_strncpy], eax
call fcn.007ffa91
lea esi, [esp + 0x44]
call fcn.007a62c8
mov byte [esp + 0xa0], 6
mov edx, dword [0x4e90f0]
test edx, edx
mov eax, dword [eax]
mov ecx, dword [ebx + 8]
je 0x7b9b17
push ebx
push 0x429250
push 0
push 1
push eax
push ecx
call edx
mov dword [esp + 0x18], eax
jmp 0x7b9b1f
mov dword [esp + 0x18], 0
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b9b47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4bddd4
lea ecx, reloc.MSVCRT.dll_strncpy
call fcn.007ffa91
test byte [esp + 0x18], 1
mov dword [edi + reloc.MSVCRT.dll_strncpy], 0
je 0x7b9f5a
cmp byte [edi + 0xa8c], 0
jne 0x7b9f5a
lea ecx, [esp + 0x20]
push ecx
lea esi, [esp + 0x78]
call fcn.0079ac98
mov dword [esp + 0x20], eax
push 0xe8
lea esi, [esp + 0x30]
mov byte [esp + 0xa4], 7
call fcn.00795fd8
add esp, 4
push 0x4c4054
push eax
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0xac], 8
call fcn.007920a8
add esp, 0xc
mov byte [esp + 0xa0], 9
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [eax]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00792c58
mov byte [esp + 0xac], 8
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b9c06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 7
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 0x7b9c2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b9c56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, reloc.MSVCRT.dll_strncpy
call fcn.007ffa91
push 0xe8
lea esi, [esp + 0x58]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0xa
mov eax, dword [eax]
lea ecx, [ebx + 0x14]
mov esi, eax
call fcn.007a7cb8
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.MSVCRT.dll_strncpy
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x7b9cb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
push ebx
mov dword [ebx + 0x3c], 0x3366ff
call fcn.007e86d8
cmp dword [ebx + 0x44], 0
je 0x7b9d19
push 0xe8
lea esi, [esp + 0x70]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0xb
mov eax, dword [eax]
mov ecx, dword [ebx + 0x44]
add ecx, 0x14
mov esi, eax
call fcn.007a7cb8
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], 0
call fcn.007929b8
mov eax, dword [ebx + 0x44]
add eax, 0x14
mov dword [eax + 0x28], 0x3366ff
mov ecx, dword [ebx + 0x44]
push ecx
call fcn.007e86d8
mov edi, dword [esp + 0x14]
add edi, 0x718
push 0xc8
mov esi, edi
call fcn.007ee6f8
mov edx, dword [esp + 0x14]
mov esi, dword [ebx + 8]
push edx
push 0x429440
push 0
push 1
call fcn.007a4818
add esp, 0x10
mov esi, edi
mov dword [esp + 0x18], eax
call fcn.007ee768
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
je 0x7b9e02
mov edi, 1
add dword [eax + reloc.MSVCRT.dll_strncpy], edi
cmp dword [esp + 0x18], 2
jne 0x7b9ebd
push 0x1b1
lea esi, [esp + 0x34]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0xc
mov esi, dword [eax]
lea ecx, [ebx + 0x14]
call fcn.007a7cb8
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 0
call fcn.007929b8
cmp dword [ebx + 0x44], 0
mov edi, 0x878787
mov dword [ebx + 0x3c], edi
je 0x7b9dfc
push 0x1b1
lea esi, [esp + 0x3c]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0xd
mov eax, dword [eax]
mov ecx, dword [ebx + 0x44]
add ecx, 0x14
mov esi, eax
call fcn.007a7cb8
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 0
call fcn.007929b8
mov eax, dword [ebx + 0x44]
add eax, 0x14
mov dword [eax + 0x28], edi
push ebx
jmp 0x7ba160
add dword [eax + reloc.MSVCRT.dll_strncpy], 1
push 0xee
lea esi, [esp + 0x44]
call fcn.00795fd8
add esp, 4
mov dword [esp + 0xa0], 0xf
or dword [esp + 0x10], 2
mov esi, dword [eax]
lea ecx, [ebx + 0x14]
call fcn.007a7cb8
test byte [esp + 0x10], 2
je 0x7b9e49
and dword [esp + 0x10], reloc.MSVCRT.dll_strncpy
lea ecx, [esp + 0x40]
call fcn.007929b8
mov dword [esp + 0xa0], 0
test byte [esp + 0x10], 1
je 0x7b9e69
and dword [esp + 0x10], reloc.MSVCRT.dll_strncpy
lea ecx, [esp + 0x48]
call fcn.007929b8
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
neg eax
sbb eax, eax
and eax, 0x542088
add eax, 0x3366ff
push ebx
mov dword [esp + 0x24], eax
mov dword [ebx + 0x3c], eax
call fcn.007e86d8
cmp dword [ebx + 0x44], 0
je 0x7ba169
cmp dword [esp + 0x18], 0
je 0x7b9edf
push 0xef
lea esi, [esp + 0x5c]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0x10
or dword [esp + 0x10], 4
jmp 0x7b9f00
push 0xef
lea esi, [esp + 0x4c]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0xe
or dword [esp + 0x10], edi
jmp 0x7b9e2a
push 0xee
lea esi, [esp + 0x54]
call fcn.00795fd8
add esp, 4
mov dword [esp + 0xa0], 0x11
or dword [esp + 0x10], 8
mov eax, dword [eax]
mov ecx, dword [ebx + 0x44]
add ecx, 0x14
mov esi, eax
call fcn.007a7cb8
test byte [esp + 0x10], 8
je 0x7b9f24
and dword [esp + 0x10], reloc.MSVCRT.dll_strncpy
lea ecx, [esp + 0x50]
call fcn.007929b8
mov dword [esp + 0xa0], 0
test byte [esp + 0x10], 4
je 0x7b9f44
and dword [esp + 0x10], reloc.MSVCRT.dll_strncpy
lea ecx, [esp + 0x58]
call fcn.007929b8
mov eax, dword [ebx + 0x44]
mov ecx, dword [esp + 0x20]
add eax, 0x14
mov dword [eax + 0x28], ecx
mov edx, dword [ebx + 0x44]
push edx
jmp 0x7ba160
add dword [edi + reloc.MSVCRT.dll_strncpy], 1
cmp byte [edi + 0xa8c], 0
je 0x7b9f8a
push 0xed
lea esi, [esp + 0x6c]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0x12
or dword [esp + 0x10], 0x10
jmp 0x7b9fab
push 0xe3
lea esi, [esp + 0x64]
call fcn.00795fd8
add esp, 4
mov dword [esp + 0xa0], 0x13
or dword [esp + 0x10], 0x20
mov edx, dword [eax]
test edx, edx
jne 0x7b9fb5
xor eax, eax
jmp 0x7b9fc9
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x7b9fba
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebx + 0x38]
call fcn.00792db8
mov dword [esp + 0xa0], 0x12
test byte [esp + 0x10], 0x20
je 0x7ba00a
mov eax, dword [esp + 0x60]
and dword [esp + 0x10], 0xffffffdf
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7ba00a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa0], 0
test byte [esp + 0x10], 0x10
je 0x7ba041
mov eax, dword [esp + 0x68]
and dword [esp + 0x10], 0xffffffef
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7ba041
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x1c]
push ebx
mov dword [ebx + 0x3c], 0x3366ff
call fcn.007e86d8
cmp dword [ebx + 0x44], 0
je 0x7ba169
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0xa8c], 0
je 0x7ba089
push 0xed
lea esi, [esp + 0x7c]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xa0], 0x14
or dword [esp + 0x10], 0x40
jmp 0x7ba0ad
push 0xe3
lea esi, [esp + 0x74]
call fcn.00795fd8
add esp, 4
mov dword [esp + 0xa0], 0x15
or dword [esp + 0x10], 0x80
mov edx, dword [eax]
mov eax, dword [ebx + 0x44]
add eax, 0x14
test edx, edx
lea ecx, [eax + 0x24]
jne 0x7ba0c0
xor eax, eax
jmp 0x7ba0d7
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov si, word [eax]
add eax, 2
test si, si
jne 0x7ba0c8
sub eax, edi
sar eax, 1
push eax
push edx
call fcn.00792db8
mov dword [esp + 0xa0], 0x14
test byte [esp + 0x10], 0x80
je 0x7ba118
mov eax, dword [esp + 0x70]
and dword [esp + 0x10], 0xffffff7f
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.MSVCRT.dll_strncpy
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x7ba118
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xa0], 0
test byte [esp + 0x10], 0x40
je 0x7ba14f
mov eax, dword [esp + 0x78]
and dword [esp + 0x10], 0xffffffbf
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7ba14f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x44]
add eax, 0x14
mov dword [eax + 0x28], 0x3366ff
mov ecx, dword [ebx + 0x44]
push ecx
mov edi, dword [esp + 0x20]
call fcn.007e86d8
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov edx, dword [edi + reloc.MSVCRT.dll_strncpy]
push 0
push 0
push 0x1004
add esi, 1
push edx
mov dword [esp + 0x38], esi
call dword [fcn.004b462c]
cmp esi, eax
jl 0x7b97f9
mov dword [esp + 0xa0], reloc.MSVCRT.dll_strncpy
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7ba1c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0081e2f5
mov esp, ebp
pop ebp
ret