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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4acac1
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x4e3a40]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.007f9145
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x7b8f8a
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 + 0x20], eax
mov dword [esp + 0xc0], esi
call fcn.007f9145
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x7b8fbb
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 + 0x1c], eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0xc4], 1
call dword [0x4b433c]
movzx edx, word [esp + 0x50]
movzx eax, word [esp + 0x4e]
movzx ecx, word [esp + 0x4c]
push edx
movzx edx, word [esp + 0x4e]
push eax
movzx eax, word [esp + 0x4e]
push ecx
movzx ecx, word [esp + 0x50]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push 0x4c37f8
push edx
call fcn.00792c58
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
add esp, 0x20
push esi
push esi
push 0x1004
push eax
mov dword [esp + 0x28], esi
call dword [fcn.004b462c]
test eax, eax
jle 0x7b94c7
cmp byte [ebx + 0xa8c], 0
jne 0x7b94c7
lea ecx, reloc.MSVCRT.dll_strncpy
push esi
call fcn.00804aef
mov edi, eax
cmp dword [edi + 4], 2
jne 0x7b94a2
mov ecx, dword [0x4e9114]
test ecx, ecx
mov eax, dword [edi + 8]
je 0x7b93d7
push eax
call ecx
test al, al
je 0x7b93d7
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
push 0
push esi
push 0x1013
push ecx
call dword [fcn.004b462c]
mov edx, dword [edi + 8]
lea esi, reloc.MSVCRT.dll_strncpy
push 0x64
mov dword [esp + 0x28], edx
call fcn.007ee6f8
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x38]
call fcn.0079ac98
mov ebx, eax
push 0xe6
lea esi, [esp + 0x40]
mov byte [esp + 0xc4], 2
call fcn.00795fd8
add esp, 4
push 0x4c4054
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0xcc], 3
call fcn.007920a8
add esp, 0xc
mov byte [esp + 0xc0], 4
mov edx, dword [ebx]
mov eax, dword [eax]
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00792c58
mov byte [esp + 0xcc], 3
mov eax, dword [esp + 0x3c]
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 0x7b9128
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 2
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 0x7b9150
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 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 0x7b9178
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
push ecx
lea ecx, reloc.MSVCRT.dll_strncpy
call fcn.007ffa91
push 0xe6
lea esi, [esp + 0x30]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xc0], 5
mov ecx, dword [eax]
test ecx, ecx
jne 0x7b91ae
xor eax, eax
jmp 0x7b91c7
mov eax, ecx
lea esi, [eax + 2]
jmp 0x7b91b8
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x7b91b8
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [edi + 0x38]
call fcn.00792db8
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.MSVCRT.dll_strncpy
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x7b91f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x84]
mov dword [edi + 0x3c], 0x3366ff
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
lea esi, reloc.MSVCRT.dll_strncpy
push ecx
push edx
call dword [int.004b46ec]
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, esi
call fcn.008049ef
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x8c]
push 0
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x88], edx
call dword [int.004b4728]
mov ecx, dword [0x4e90dc]
test ecx, ecx
mov eax, dword [edi + 8]
je 0x7b926e
mov edx, dword [esp + 0x1c]
push edi
push 0x428c40
push 2
push edx
push eax
call ecx
mov bl, al
jmp 0x7b9270
xor bl, bl
mov esi, dword [ebp + 8]
add esi, 0x718
call fcn.007ee768
test bl, bl
mov eax, dword [ebp + 8]
je 0x7b92ac
add dword [eax + reloc.MSVCRT.dll_strncpy], 1
push 0xeb
lea esi, [esp + 0x3c]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xc0], 6
or dword [esp + 0x14], 1
jmp 0x7b92d4
add dword [eax + reloc.MSVCRT.dll_strncpy], 1
push 0xec
lea esi, [esp + 0x2c]
call fcn.00795fd8
add esp, 4
mov dword [esp + 0xc0], 7
or dword [esp + 0x14], 2
mov edx, dword [eax]
test edx, edx
jne 0x7b92de
xor eax, eax
jmp 0x7b92f7
mov eax, edx
lea esi, [eax + 2]
jmp 0x7b92e8
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x7b92e8
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [edi + 0x38]
call fcn.00792db8
mov dword [esp + 0xc0], 6
test byte [esp + 0x14], 2
je 0x7b9338
mov eax, dword [esp + 0x28]
and dword [esp + 0x14], 0xfffffffd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b9338
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc0], 1
test byte [esp + 0x14], 1
je 0x7b936f
mov eax, dword [esp + 0x38]
and dword [esp + 0x14], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b936f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
neg bl
lea ecx, [esp + 0x94]
push ecx
sbb ebx, ebx
and ebx, 0x542088
add ebx, 0x3366ff
mov dword [edi + 0x3c], ebx
mov edx, dword [esi + reloc.MSVCRT.dll_strncpy]
add esi, 0x5a8
push edx
call dword [int.004b46ec]
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, esi
call fcn.008049ef
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x9c]
push 0
lea eax, [esp + 0x68]
push eax
push ecx
mov dword [esp + 0x78], edx
call dword [int.004b4728]
mov ebx, dword [ebp + 8]
jmp 0x7b949e
add dword [ebx + reloc.MSVCRT.dll_strncpy], 1
push 0xeb
lea esi, [esp + 0x44]
call fcn.00795fd8
add esp, 4
mov byte [esp + 0xc0], 8
mov edx, dword [eax]
test edx, edx
lea ecx, [edi + 0x38]
jne 0x7b9404
xor eax, eax
jmp 0x7b941e
mov eax, edx
lea esi, [eax + 2]
mov dword [esp + 0x24], esi
mov si, word [eax]
add eax, 2
test si, si
jne 0x7b940d
sub eax, dword [esp + 0x24]
sar eax, 1
push eax
push edx
call fcn.00792db8
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.MSVCRT.dll_strncpy
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x7b944d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xa4]
mov dword [edi + 0x3c], 0x878787
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
lea esi, reloc.MSVCRT.dll_strncpy
push ecx
push edx
call dword [int.004b46ec]
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x58]
push eax
push ecx
mov ecx, esi
call fcn.008049ef
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0xac]
push 0
lea eax, [esp + 0x58]
push eax
push ecx
mov dword [esp + 0x68], edx
call dword [int.004b4728]
mov esi, dword [esp + 0x18]
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
push 0
push 0
push 0x1004
add esi, 1
push edx
mov dword [esp + 0x28], esi
call dword [fcn.004b462c]
cmp esi, eax
jl 0x7b9037
mov byte [esp + 0xc0], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b94ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc0], reloc.MSVCRT.dll_strncpy
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.MSVCRT.dll_strncpy
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7b951a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4