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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a21ea
sub esp, 0x7c
mov eax, 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x4a21a6
movzx edx, byte [0xac9898]
test dl, dl
je 0x4a219a
mov dword [0xac989c], ecx
mov edx, dword [0xadb480]
test edx, edx
jne 0x4a2183
mov eax, dword [esp + 0x84]
mov dword [0xac98a0], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4a2178
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x4a1d1d
or edx, 0x80
mov ebx, edx
and edx, 0x1f
cmp edx, 0x17
jne 0x4a213a
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004ac2a0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a2129
cmp eax, 1
je 0x4a2118
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
call fcn.004ae810
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [0x847a00]
cmp edx, ecx
jne 0x4a21cc
movzx ecx, byte [eax + 0xf]
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
test cl, 0x80
jne 0x4a1f3b
cmp edx, 4
je 0x4a1ecd
and ecx, 0x1f
cmp ecx, 0x18
je 0x4a1e5f
mov dword [esp + 0x70], eax
mov dword [esp], eax
call fcn.00409cf0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
lea ecx, [0x79f360]
mov dword [esp], ecx
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x4b1bd0]
mov dword [eax], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a1e4d
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a1e2f
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.0044c870
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x54]
call fcn.0044c870
mov eax, ecx
jmp 0x4a1e24
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0044c870
mov eax, ecx
jmp 0x4a1e05
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax]
mov dword [esp + 0x58], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
lea ebx, [0x7839e0]
mov dword [esp], ebx
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x4b19e0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a1ebb
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0044c870
mov eax, ecx
jmp 0x4a1eb0
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x24], eax
lea ebx, [0x783980]
mov dword [esp], ebx
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x4b1970]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a1f29
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044c870
mov eax, ecx
jmp 0x4a1f1e
cmp edx, 2
ja 0x4a202e
cmp edx, 1
je 0x4a1fc0
cmp edx, 2
jne 0x4a1dc6
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax]
mov dword [esp + 0x68], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
lea ebx, [0x7837a0]
mov dword [esp], ebx
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x4b1b30]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a1fae
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x68]
call fcn.0044c870
mov eax, ecx
jmp 0x4a1fa3
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea ebx, [0x7838c0]
mov dword [esp], ebx
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x4b1b80]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a201c
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0044c870
mov eax, ecx
jmp 0x4a2011
cmp edx, 4
je 0x4a20aa
cmp edx, 8
jne 0x4a1dc6
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea ebx, [0x783860]
mov dword [esp], ebx
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x4b1a80]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a2098
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0044c870
mov eax, ecx
jmp 0x4a208d
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
lea ebx, [0x783800]
mov dword [esp], ebx
call fcn.00409cb0
mov eax, dword [esp + 4]
lea ecx, [0x4b1ae0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x4a2106
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.0044c870
mov eax, ecx
jmp 0x4a20fb
lea eax, [0x7f140c]
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
lea eax, [0x7f1408]
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov dword [esp + 0x48], edx
lea eax, [0x790720]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov dword [edi + 4], 7
mov eax, dword [0xadb480]
test eax, eax
jne 0x4a216b
lea eax, [0x7d52c2]
mov dword [edi], eax
jmp 0x4a21b1
lea eax, [0x7d52c2]
call fcn.0044c870
jmp 0x4a21b1
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x4a1d1d
lea edi, [0xac98a0]
mov eax, dword [esp + 0x84]
call fcn.0044c870
jmp 0x4a1cf5
mov eax, dword [esp + 0x84]
jmp 0x4a1cf5
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x4a1d1d
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
lea eax, [0x77dec0]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00427310
ud2
mov dword [esp], ecx
lea eax, [0x7cc480]
mov dword [esp + 4], eax
lea eax, [0x7c29a0]
mov dword [esp + 8], eax
call fcn.00407280
ud2
call fcn.0044b110
jmp fcn.004a1c90