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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x5527f0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
lea esi, [ebp + 8]
mov dword [esp + 0x14], ecx
lea edi, [esp + 0x128]
mov eax, edx
mov edx, dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test edx, edx
je 0x4e2bdd
or dword [esp + 0x88], 0xffffffff
lea esi, [esp + 0x80]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ecx, ecx
je 0x4e2bdd
cmp dword [esp + 0x130], 0xffffffff
je 0x4e2bdd
cmp dword [eax], 0
je 0x4e2bdd
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4e2bdd
and dword [esp + 0x124], 0
lea esi, [esp + 0x128]
lea edi, [esp + 0x90]
or edx, 0xffffffff
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x118]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
xor eax, eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x88], edx
mov dword [esp + 0x20], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ebx, ebx
je 0x4e2bef
mov eax, dword [ecx]
lea esi, [esp + 0x90]
mov dword [esp + 0x34], 1
mov dword [esp + 0x18], 0x2001
mov dword [esp + 0x3c], 1
mov ebx, dword [eax + 0x4c]
lea eax, [esp + 0xd0]
mov dword [esp + 0x30], eax
mov ecx, ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
sub esp, 0x10
mov edi, esp
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 dword [0x5552f8]
mov ecx, dword [esp + 0x2c]
call ebx
test eax, eax
js 0x4e2c2c
cmp dword [esp + 0xd0], 2
jne 0x4e2bdd
or dword [esp + 0xc8], 0xffffffff
lea esi, [esp + 0xc0]
lea edi, [esp + 0xb0]
xor eax, eax
movsd dword es:[edi], dword [esi]
xor cl, cl
mov byte [esp + 0x13], cl
xor ebx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x128]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x18], ebx
cmp ebx, dword [edx + 4]
jae 0x4e2c28
mov eax, dword [esp + 0x14]
lea edi, [esp + 0xa0]
mov ecx, ebx
shl ecx, 4
add ecx, dword [edx]
mov eax, dword [eax]
mov esi, ecx
mov ebx, dword [eax + 0x2c]
lea eax, [esp + 0x128]
movsd dword es:[edi], dword [esi]
push eax
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov edi, esp
mov ecx, ebx
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 dword [0x5552f8]
mov edi, dword [esp + 0x28]
mov ecx, edi
call ebx
test eax, eax
js 0x4e2c2c
cmp dword [esp + 0x130], 0xffffffff
je 0x4e2b7c
mov eax, dword [edi]
lea esi, [esp + 0xa0]
xor ecx, ecx
mov dword [esp + 0x24], 0x2004
inc ecx
mov dword [esp + 0x44], ecx
mov ebx, dword [eax + 0x4c]
lea eax, [esp + 0xe8]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ecx
push eax
sub esp, 0x10
mov ecx, ebx
mov edi, esp
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 dword [0x5552f8]
mov esi, dword [esp + 0x2c]
mov ecx, esi
call ebx
test eax, eax
js 0x4e2c2c
mov eax, dword [esi]
xor ecx, ecx
lea esi, [esp + 0xa0]
mov dword [esp + 0x24], 0x2005
inc ecx
mov dword [esp + 0x54], ecx
mov ebx, dword [eax + 0x4c]
lea eax, [esp + 0x100]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], ecx
push eax
sub esp, 0x10
mov ecx, ebx
mov edi, esp
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 dword [0x5552f8]
mov edi, dword [esp + 0x2c]
mov ecx, edi
call ebx
test eax, eax
js 0x4e2c2c
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0xf0]
mov byte [esp + 0x12], 0
mov ebx, dword [eax]
lea eax, [esp + 0x1f]
push eax
mov ecx, dword [ebx + esi*8 + 4]
call fcn.004d9cbc
test eax, eax
js 0x4e2c2c
cmp byte [esp + 0x1f], 0
je 0x4e2b73
mov edx, dword [esp + 0x108]
lea eax, [esp + 0x12]
mov ecx, dword [ebx + esi*8]
push eax
call fcn.004d9cbc
test eax, eax
js 0x4e2c2c
cmp byte [esp + 0x12], 0
mov ebx, dword [esp + 0x18]
je 0x4e2a54
lea esi, [esp + 0xa0]
mov byte [esp + 0x13], 1
lea edi, [esp + 0xb0]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x118]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004e2653
mov esi, eax
test esi, esi
js 0x4e2c2e
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0xd8]
test cl, cl
jne 0x4e2b85
lea eax, [ebx + 1]
cmp eax, dword [edx + 4]
jne 0x4e2b85
cmp dword [esp + 0x124], 0
je 0x4e2b85
mov eax, dword [edi]
lea esi, [esp + 0x90]
xor ecx, ecx
mov dword [esp + 0x24], 0x200b
inc ecx
mov dword [esp + 0x64], ecx
mov ebx, dword [eax + 0x4c]
lea eax, [esp + 0x138]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], ecx
push eax
sub esp, 0x10
mov ecx, ebx
mov edi, esp
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 dword [0x5552f8]
mov ecx, dword [esp + 0x2c]
call ebx
test eax, eax
js 0x4e2c2c
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x140]
lea edi, [esp + 0x90]
mov dword [esp + 0x24], 0x2001
movsd dword es:[edi], dword [esi]
xor ecx, ecx
inc ecx
mov eax, dword [eax]
mov dword [esp + 0x74], ecx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x7c], ecx
mov ebx, dword [eax + 0x4c]
lea eax, [esp + 0xd0]
mov dword [esp + 0x70], eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x24]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
push eax
sub esp, 0x10
lea esi, [esp + 0x158]
mov edi, esp
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 dword [0x5552f8]
mov ecx, dword [esp + 0x2c]
call ebx
test eax, eax
js 0x4e2c2c
cmp dword [esp + 0xd0], 2
jne 0x4e2bdd
lea ecx, [esp + 0x118]
call fcn.004e26d8
dec dword [esp + 0x20]
lea ebx, [eax + 1]
jmp 0x4e289c
mov ebx, dword [esp + 0x18]
jmp 0x4e2a54
mov ebx, dword [esp + 0x18]
jmp 0x4e2a50
inc ebx
mov dword [esp + 0x18], ebx
test cl, cl
je 0x4e28a7
cmp dword [esp + 0xb8], 0xffffffff
je 0x4e2bdd
mov eax, dword [esp + 0x28]
inc esi
mov dword [esp + 0x20], esi
mov ecx, dword [eax + 4]
cmp esi, ecx
jae 0x4e2bbc
lea esi, [esp + 0xb0]
lea edi, [esp + 0x90]
jmp 0x4e2bca
lea esi, [esp + 0x128]
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x20], ecx
jae 0x4e2be8
mov ecx, dword [esp + 0x14]
jmp 0x4e27ff
push 0xc00000e5
call dword [fcn.00440b24]
mov edx, dword [esp + 0x88]
cmp edx, 0xffffffff
je 0x4e2bdd
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x80]
lea ecx, [esp + 0x118]
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.004e261a
xor eax, eax
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052b1d0
mov esp, ebp
pop ebp
ret 0x14
xor esi, esi
jmp 0x4e2c2e
mov esi, eax
lea ecx, [esp + 0x118]
call fcn.004e261a
mov eax, esi
jmp 0x4e2c11