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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aef8f
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x4e3a40]
xor eax, esp
mov dword [esp + reloc.MSVCRT.dll_strncpy], eax
push ebx
push esi
push edi
mov eax, dword [0x4e3a40]
xor eax, esp
push eax
lea eax, reloc.MSVCRT.dll_strncpy
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
call fcn.007f9145
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x79dde9
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 + 0x34], eax
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0
call fcn.007f9145
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x79de1e
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 edi, 0x4e9200
mov byte [esp + 0x850], 1
mov dword [esp + 0x18], edi
mov eax, dword [0x4e90b8]
xor ebx, ebx
cmp eax, ebx
je 0x79e04f
push edi
call eax
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x38], esi
je 0x79e04f
mov eax, dword [0x4e90bc]
cmp eax, ebx
je 0x79de71
push esi
call eax
mov dword [esp + 0x14], eax
jmp 0x79de75
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x20], ebx
jle 0x79e04f
lea esp, [esp]
mov eax, dword [0x4e90c4]
test eax, eax
je 0x79e03a
push ebx
push esi
call eax
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
je 0x79e03a
push 0x48
call fcn.007f7ca4
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x850], 2
je 0x79decb
push eax
call fcn.007a5ca8
mov ebx, eax
jmp 0x79decd
xor ebx, ebx
mov byte [esp + 0x850], 1
mov eax, dword [0x4e910c]
test eax, eax
je 0x79deee
push edi
call eax
test al, al
je 0x79deee
mov dword [ebx + 0x44], 2
jmp 0x79def5
mov dword [ebx + 0x44], 0
mov esi, dword [esp + 0x18]
call fcn.007966d8
push edi
lea edi, [esp + 0x2c]
mov dword [ebx + 4], eax
call fcn.00796818
add esp, 4
mov byte [esp + 0x850], 3
mov ecx, dword [eax]
mov edi, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x79df71
cmp dword [edi + 0xc], 0
jl 0x79df65
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x79df65
push eax
call fcn.00792a48
mov dword [esp + 0x28], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, reloc.MSVCRT.dll_strncpy
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x79df5a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x79df71
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00792db8
mov byte [esp + 0x850], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, reloc.MSVCRT.dll_strncpy
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x79df99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4e9110]
test eax, eax
mov word [esp + 0x3c], 0
je 0x79dfbe
mov edx, dword [esp + 0x1c]
push 0
push 0x400
lea ecx, [esp + 0x44]
push ecx
push 1
push edx
call eax
lea eax, [esp + 0x3c]
lea ecx, [ebx + 0x10]
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
test si, si
jne 0x79dfc8
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00792db8
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
push 0
push 0
mov dword [ebx + 8], ecx
mov edx, dword [edi + 0x98]
add edi, 0x78
push 0x1004
push edx
call dword [fcn.004b462c]
push 0
push 0
push 0
push 0
push 0x4bddd4
push eax
push 1
mov ecx, edi
call fcn.00804d23
push ebx
push 0
push 0
push 0
push 0
push 4
push 0
push eax
mov ecx, edi
call fcn.00804d6f
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x20]
add ebx, 1
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
jl 0x79de88
mov edi, dword [esp + 0x18]
add edi, 0x10
cmp edi, 0x4e92d0
mov dword [esp + 0x18], edi
jl 0x79de3f
mov byte [esp + 0x850], 0
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 0x79e08a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + reloc.MSVCRT.dll_strncpy], 0xffffffff
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 0x79e0b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, esp
call fcn.0081e2f5
mov esp, ebp
pop ebp
ret 4