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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e80c6
sub esp, 0x7c
mov ecx, dword [0x6b2320]
mov edi, dword [esp + 0x80]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
test ecx, ecx
je 0x4e7a37
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ebx
lea eax, [0x538e80]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004111a0
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x80]
xor eax, eax
call fcn.00468aa7
mov ecx, dword [esp + 0x80]
mov dword [ecx + 8], ebx
mov ebx, dword [0x6b2320]
test ebx, ebx
je 0x4e7a5f
call fcn.00468870
mov dword [edi], edx
mov ebx, dword [ecx + 0xc]
mov dword [edi + 4], ebx
mov dword [ecx + 0xc], edx
lea eax, [0x52fcc0]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
call fcn.00409e20
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4e7abe
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
mov dword [edx], eax
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7ab6
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov dword [edx + 4], ecx
jmp 0x4e7bd4
nop
mov eax, dword [esp + 0x84]
lea ecx, [0x5d45e8]
cmp eax, ecx
jne 0x4e7ad9
mov eax, dword [esp + 0x88]
jmp 0x4e7ade
mov eax, 0
jne 0x4e7aed
cmp dword [eax + 4], 0x1000
jge 0x4e7bab
lea eax, [0x53aea0]
mov dword [esp], eax
call fcn.0040c3d0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea ecx, [0x52abc0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.0044f1d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00468aa5
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x1000
mov dword [esp + 0x58], 0x1000
mov eax, dword [esp + 0x84]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7b9a
lea eax, [0x53aea0]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
call fcn.004111d0
mov edi, dword [esp + 0x30]
lea esi, [esp + 0x50]
call fcn.00468f52
mov eax, dword [esp + 0x30]
lea ecx, [0x5d48b8]
mov edx, dword [esp + 0x80]
mov dword [edx], ecx
mov ecx, dword [0x6b2320]
test ecx, ecx
je 0x4e7bd1
call fcn.00468870
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [edx]
lea ebx, [0x52e5e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409d10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
lea edx, [ecx + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 2
call fcn.00486fc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7c56
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4e7cd8
cmp dword [0x687de8], eax
jne 0x4e7cc0
mov edx, dword [0x687dec]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e7cb9
mov eax, dword [0x687df0]
mov ecx, dword [0x687df4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7cb4
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x4e7cc0
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
movzx eax, byte [edx + 0x20]
mov ecx, eax
and eax, 0xf
nop
cmp al, 8
jne 0x4e7d18
shr cl, 4
cmp cl, 7
ja 0x4e7d18
movzx eax, word [edx + 0x20]
rol ax, 8
movzx ecx, ax
mov ebx, ecx
shl ecx, 0x10
imul ebx, ebx, 0x843
add ecx, ebx
rcr ecx, 1
shr ecx, 0x14
mov ebx, ecx
shl ecx, 5
sub ecx, ebx
cmp ax, cx
je 0x4e7d53
mov eax, dword [0x6880c8]
mov ecx, dword [0x6880cc]
mov dword [edx + 0x18], eax
mov ebx, dword [0x6b2320]
test ebx, ebx
je 0x4e7d3e
call fcn.00468870
mov dword [edi], ecx
mov ebx, dword [edx + 0x1c]
mov dword [edi + 4], ebx
mov dword [edx + 0x1c], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
movzx eax, byte [edx + 0x21]
test al, 0x20
je 0x4e7eed
mov byte [esp + 0x27], al
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [edx]
lea ebx, [0x52e5e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409d10
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 4
call fcn.00486fc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7ddc
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4e7e5e
cmp dword [0x687de8], eax
jne 0x4e7e46
mov edx, dword [0x687dec]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403ea0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e7e3f
mov eax, dword [0x687df0]
mov ecx, dword [0x687df4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7e3a
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x4e7e46
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
mov eax, dword [edx + 0x20]
bswap eax
mov dword [esp + 0x28], eax
nop
mov dword [esp], 1
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 0xc], ebp
call fcn.004e7400
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x10], eax
je 0x4e7ee1
mov eax, dword [0x6880c0]
mov ecx, dword [0x6880c4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov ebx, dword [0x6b2320]
test ebx, ebx
je 0x4e7ecc
call fcn.00468870
mov dword [edi], ecx
mov ebx, dword [edx + 0x1c]
mov dword [edi + 4], ebx
mov dword [edx + 0x1c], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
movzx eax, byte [esp + 0x27]
mov edx, dword [esp + 0x80]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x4e7fe2
test al, 0x20
je 0x4e7f82
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x52e5e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409d10
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call fcn.004bfb10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov dword [edx + 8], eax
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7f7a
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
jmp 0x4e8069
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x52e5e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409d10
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.004bf8a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x80]
mov dword [edx + 8], eax
mov eax, dword [0x6b2320]
test eax, eax
je 0x4e7fda
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
jmp 0x4e8069
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x52e5e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00409d10
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x3c], ebx
lea ebp, [0x52e8e0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00409d70
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
call eax
lea eax, [0x52b280]
mov dword [esp], eax
call fcn.0040c3d0
mov eax, dword [esp + 4]
nop
mov dword [eax], 1
lea ecx, [0x5d4bfc]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x6b2320]
test ecx, ecx
je 0x4e80a9
call fcn.00468870
mov dword [edi], eax
mov ecx, dword [edx + 0x14]
mov dword [edi + 4], ecx
mov dword [edx + 0x14], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x7c
ret
call fcn.00467460
jmp fcn.004e79e0