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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword [0x5527f0]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], edx
push esi
push edi
cmp dword [ebx + 0x1808], 3
je 0x481a56
mov edx, 0xc000042a
call fcn.004f437c
test eax, eax
jns 0x481f25
jmp 0x481f45
inc dword [ebx + 0x18dc]
cmp dword [ebx + 0x18dc], 0x10
jb 0x481a7a
mov edx, 0xc0000704
jmp 0x481f18
dec dword [ebx + 0x18dc]
jmp 0x481f45
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 0x481add
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0x41ee58
mov dword [esp + 0x5c], 0x420248
mov dword [esp + 0x60], 0xf5c
and dword [eax], esi
mov esi, 0xc0000017
push esi
mov dword [esp + 0x68], 0x420288
call fcn.004f7c89
dec dword [ebx + 0x18dc]
mov eax, esi
jmp 0x481f45
push 0x4c
push 0
push esi
call fcn.0052cb90
xor eax, eax
add esp, 0xc
mov dword [esi + 0x50], eax
mov ecx, ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov byte [esi + 0x60], al
mov eax, dword [esp + 0x10]
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]
xor edx, edx
push 4
pop edi
mov esi, dword [eax + 0x38]
mov eax, dword [0x40a118]
push 5
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edi
pop edi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xe4], ecx
mov ecx, dword [ebx + 0x18c4]
mov dword [esp + 0xe8], eax
mov eax, dword [ebx + 0x18c8]
mov dword [esp + 0x24], esi
mov dword [esp + 0xfc], edx
mov word [esp + 0x100], dx
mov dword [esp + 0x88], 3
mov dword [esp + 0x90], 0x420214
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 0x417458
mov dword [esp + 0xb0], 0x10
mov dword [esp + 0xb4], 0x11
mov dword [esp + 0xb8], 0x420234
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], 6
mov dword [esp + 0xcc], 0x420060
mov dword [esp + 0xd8], 0xd
mov dword [esp + 0xdc], 0xe
mov dword [esp + 0xe0], 0x420224
mov dword [esp + 0xec], 0xa
mov dword [esp + 0xf0], 0xb
mov dword [esp + 0xf4], 0x420218
cmp ecx, eax
je 0x481c66
add eax, 0xfffffff8
cmp eax, ecx
jne 0x481c59
mov dword [ebx + 0x18c8], eax
mov eax, edx
test esi, esi
mov dword [esp + 0x1c], eax
je 0x481ec1
lea ecx, [ebx + 0x904]
push eax
call fcn.00498b56
mov edx, eax
mov dword [esp + 0x20], edx
cmp byte [edx + 0x48], 0
jne 0x481eae
cmp byte [edx + 0x49], 0
jne 0x481eae
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 6
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004f3d99
test eax, eax
js 0x481a6f
mov eax, dword [esp + 0x18]
mov ecx, ebx
mov dword [esp + 0x18], eax
cmp eax, 6
jae 0x481e8a
cmp byte [esp + eax + 0xfc], 0
jne 0x481eba
mov esi, dword [esp + 0x20]
sub esp, 0x10
add esi, 0x20
mov byte [esp + eax + 0x10c], 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 0x481a6f
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov byte [esp + 0xf], cl
sub eax, ecx
je 0x481e5b
sub eax, 1
je 0x481e2a
sub eax, 1
je 0x481e02
sub eax, 1
je 0x481dda
sub eax, 1
je 0x481daf
sub eax, 1
jne 0x481e7e
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x4c]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x58]
mov eax, dword [eax]
add eax, 0x50
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.00498f6c
mov esi, dword [esp + 0x10]
mov byte [esp + 0xf], al
mov eax, dword [esi]
mov byte [eax + 0x60], 1
jmp 0x481e77
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x50]
mov eax, dword [esi]
add eax, 0x3c
push eax
call fcn.004f3f38
test eax, eax
js 0x481a6f
mov eax, dword [esi]
mov byte [eax + 0x5f], 1
jmp 0x481e77
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x50]
mov eax, dword [esi]
add eax, 0x2c
push eax
call fcn.004f3f38
test eax, eax
js 0x481a6f
mov eax, dword [esi]
mov byte [eax + 0x5e], 1
jmp 0x481e77
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xf]
push eax
lea edx, [esp + 0x50]
mov eax, dword [esi]
add eax, 0x1c
push eax
call fcn.004f3f38
test eax, eax
js 0x481a6f
mov eax, dword [esi]
mov byte [eax + 0x5d], 1
jmp 0x481e77
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 0x481a6f
mov eax, dword [esi]
mov byte [eax + 0x5c], 1
jmp 0x481e77
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 0x481a6f
cmp byte [esp + 0xf], 0
jne 0x481eaa
mov edx, 0xc00000b9
mov ecx, ebx
jmp 0x481f18
test byte [ebx + 0x18c0], 2
je 0x481eba
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004f4160
test eax, eax
js 0x481a6f
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, esi
jmp 0x481c6a
mov edx, 0xc00000a4
jmp 0x481f18
cmp byte [esp + 0xfc], 0
jne 0x481ed2
mov edx, 0xc0000225
jmp 0x481e83
test byte [ebx + 0x18c0], 2
mov ecx, ebx
je 0x481eee
call fcn.004f4491
test eax, eax
js 0x481a6f
mov al, 1
jmp 0x481efd
call fcn.004f43a1
test eax, eax
js 0x481a6f
xor eax, eax
cmp byte [esp + 0x17], 0
jne 0x481f3d
test al, al
jne 0x481f3d
cmp dword [ebx + 0x1808], 4
mov ecx, ebx
je 0x481f30
mov edx, 0xc000042a
call fcn.004f437c
test eax, eax
js 0x481a6f
push 0xc00000e5
call dword [fcn.00440b24]
call fcn.004f43a1
test eax, eax
js 0x481a6f
dec dword [ebx + 0x18dc]
xor eax, eax
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052b1d0
mov esp, ebp
pop ebp
ret