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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x5527f0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
push esi
push edi
cmp dword [ebx + 0x1808], 3
je 0x4814ed
mov edx, 0xc000042a
call fcn.004f437c
test eax, eax
js 0x4819f6
push 0xc00000e5
call dword [fcn.00440b24]
mov edi, dword [ebx + 0x18b8]
push 8
push 0x68
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5552f8]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
jne 0x48154a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x41ee58
mov dword [esp + 0x5c], 0x4201a0
mov dword [esp + 0x60], 0xeef
and dword [eax], esi
mov esi, 0xc0000017
push esi
mov dword [esp + 0x68], 0x4201d0
call fcn.004f7c89
mov eax, esi
jmp 0x4819f6
xor eax, eax
xor edx, edx
push 7
pop ecx
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi + 0x20], edx
lea edi, [esi + 0x28]
mov dword [esi + 0x24], edx
push 8
pop ecx
rep stosd dword es:[edi], eax
mov byte [esi + 0x48], dl
lea edi, [esi + 0x4c]
stosd dword es:[edi], eax
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], edx
mov word [esi + 0x64], dx
mov dword [eax], esi
call fcn.00478633
mov ecx, ebx
mov al, byte [eax + 0x3c]
mov byte [esp + 0x17], al
call fcn.00478633
mov ecx, dword [0x40a114]
lea edi, [esp + 0x114]
push 4
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x38]
xor eax, eax
stosd dword es:[edi], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xc0], ecx
stosw word es:[edi], ax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xfc], ecx
mov ecx, dword [ebx + 0x18c4]
stosb byte es:[edi], al
mov eax, dword [0x40a118]
pop edi
push 5
pop esi
push 0xe
mov dword [esp + 0xa4], esi
mov dword [esp + 0xc8], esi
pop esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xfc], eax
mov eax, dword [ebx + 0x18c8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x88], 3
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], 0x420214
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa4], 0x417458
mov dword [esp + 0xb0], 0xa
mov dword [esp + 0xb4], 0xb
mov dword [esp + 0xb8], 0x420218
mov dword [esp + 0xc8], 6
mov dword [esp + 0xcc], 0x420060
mov dword [esp + 0xd8], 0xd
mov dword [esp + 0xdc], esi
mov dword [esp + 0xe0], 0x420224
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xf4], 0x41ffa0
mov dword [esp + 0x100], 0x10
mov dword [esp + 0x104], 0x11
mov dword [esp + 0x108], 0x420234
cmp ecx, eax
je 0x481708
add eax, 0xfffffff8
cmp eax, ecx
jne 0x4816fb
mov dword [ebx + 0x18c8], eax
xor eax, eax
mov dword [esp + 0x1c], eax
test edx, edx
je 0x481994
lea ecx, [ebx + 0x904]
push eax
call fcn.00498b56
mov edx, eax
mov dword [esp + 0x20], edx
cmp byte [edx + 0x48], 0
jne 0x48197e
cmp byte [edx + 0x49], 0
jne 0x48197e
mov ecx, dword [edx + 0x14]
lea esi, [esp + 0x28]
mov eax, dword [edx + 0x10]
lea edi, [esp + 0x74]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
and dword [esp + 0x18], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x74]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov eax, dword [edx]
lea edx, [esp + 0x68]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x84]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x3c]
lea edi, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
push eax
push 7
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f3d99
test eax, eax
js 0x4819f6
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x18], eax
cmp eax, 7
jae 0x481962
cmp byte [esp + eax + 0x114], 0
jne 0x4819a5
mov esi, dword [esp + 0x20]
sub esp, 0x10
add esi, 0x20
mov byte [esp + eax + 0x124], 1
mov edi, esp
lea eax, [esp + 0x5c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f3fe7
test eax, eax
js 0x4819f6
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov byte [esp + 0xf], cl
sub eax, ecx
je 0x481933
sub eax, 1
je 0x481902
sub eax, 1
je 0x4818d2
sub eax, 1
je 0x4818aa
sub eax, 1
je 0x48187f
sub eax, 1
je 0x481854
sub eax, 1
jne 0x481956
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x50]
mov eax, dword [esi]
add eax, 0x4c
push eax
call fcn.004f3f38
test eax, eax
js 0x4819f6
mov eax, dword [esi]
mov byte [eax + 0x65], 1
jmp 0x48194f
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x50]
mov eax, dword [esi]
add eax, 0x48
push eax
call fcn.004794c9
test eax, eax
js 0x4819f6
mov eax, dword [esi]
mov byte [eax + 0x64], 1
jmp 0x48194f
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x50]
mov eax, dword [esi]
add eax, 0x38
push eax
call fcn.004f3f38
test eax, eax
js 0x4819f6
mov eax, dword [esi]
mov byte [eax + 0x63], 1
jmp 0x48194f
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x50]
mov eax, dword [esi]
add eax, 0x28
push eax
call fcn.004f3f38
test eax, eax
js 0x4819f6
mov eax, dword [esi]
mov byte [eax + 0x62], 1
jmp 0x48194f
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x4c]
lea edi, [esp + 0x58]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x58]
mov eax, dword [eax]
add eax, 0x20
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00498f6c
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov byte [eax + 0x61], 1
jmp 0x48194f
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
mov ecx, ebx
mov eax, dword [esi]
add eax, 0x10
push eax
lea eax, [esp + 0x54]
push eax
push dword [ebx + 0x18b8]
call fcn.004f40e4
test eax, eax
js 0x4819f6
mov eax, dword [esi]
mov byte [eax + 0x60], 1
jmp 0x48194f
lea eax, [esp + 0xf]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x50]
push dword [eax]
call fcn.004f3f38
test eax, eax
js 0x4819f6
cmp byte [esp + 0xf], 0
jne 0x48197e
mov edx, 0xc00000b9
mov ecx, ebx
jmp 0x4814d5
test byte [ebx + 0x18c0], 2
je 0x4819a5
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f4160
test eax, eax
js 0x4819f6
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x24]
jne 0x481716
push 4
pop edi
cmp byte [esp + 0x114], 0
jne 0x4819af
mov edx, 0xc0000225
jmp 0x48195b
mov edx, 0xc00000a4
jmp 0x4814d5
test byte [ebx + 0x18c0], 2
mov ecx, ebx
je 0x4819c7
call fcn.004f4491
test eax, eax
js 0x4819f6
mov al, 1
jmp 0x4819d2
call fcn.004f43a1
test eax, eax
js 0x4819f6
xor eax, eax
cmp byte [esp + 0x17], 0
jne 0x4819f4
test al, al
jne 0x4819f4
mov ecx, ebx
cmp dword [ebx + 0x1808], edi
jne 0x4814d0
call fcn.004f43a1
test eax, eax
js 0x4819f6
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052b1d0
mov esp, ebp
pop ebp
ret