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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x5328d0]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
mov eax, edx
mov dword [esp + 8], ecx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], edx
push esi
push edi
test edx, edx
jne 0x4cb33c
int3
test ecx, ecx
jne 0x4cb341
int3
cmp dword [ebp + 0x10], 0xffffffff
jne 0x4cb348
int3
cmp dword [eax], 0
jne 0x4cb34e
int3
mov edx, dword [eax + 4]
test edx, edx
jne 0x4cb356
int3
and dword [esp + 0x12c], 0
lea esi, [ebp + 8]
and dword [esp + 0x34], 0
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x120]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
xor eax, eax
and dword [esp + 0x3c], eax
and dword [esp + 0x18], eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test edx, edx
je 0x4cb88e
mov ebx, dword [ecx]
lea eax, [esp + 0xd8]
mov dword [esp + 0x58], eax
lea esi, [esp + 0x40]
lea eax, [esp + 0x20]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], eax
lea eax, [esp + 0x58]
mov ecx, dword [ebx + 0x4c]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x24], 0x2001
push eax
sub esp, 0x10
mov dword [esp + 0x7c], 1
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 [0x5352c4]
mov ecx, dword [esp + 0x28]
call dword [ebx + 0x4c]
mov edi, eax
test edi, edi
js 0x4cb890
cmp dword [esp + 0xd8], 2
je 0x4cb40d
int3
or dword [esp + 0xd0], 0xffffffff
lea esi, [esp + 0xc8]
lea edi, [esp + 0xb8]
xor edx, edx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xe0]
cmp dword [esi + 4], edx
jbe 0x4cb7be
mov eax, dword [esi]
lea edi, [esp + 0xa8]
mov ecx, edx
mov ebx, dword [esp + 0x10]
shl ecx, 4
add eax, ecx
lea ecx, [esp + 0x130]
mov esi, eax
mov ebx, dword [ebx]
push ecx
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
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 [0x5352c4]
mov esi, dword [esp + 0x24]
mov ecx, esi
call dword [ebx + 0x2c]
mov edi, eax
test edi, edi
js 0x4cb890
cmp dword [esp + 0x138], 0xffffffff
je 0x4cb632
mov ebx, dword [esi]
lea eax, [esp + 0xf0]
mov dword [esp + 0x68], eax
lea esi, [esp + 0xa8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x2004
mov dword [esp + 0x70], eax
xor ecx, ecx
lea eax, [esp + 0x68]
inc ecx
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x70], ecx
push eax
sub esp, 0x10
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebx + 0x4c]
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 [0x5352c4]
mov esi, dword [esp + 0x28]
mov ecx, esi
call dword [ebx + 0x4c]
mov edi, eax
test edi, edi
js 0x4cb890
mov ebx, dword [esi]
lea eax, [esp + 0x108]
mov dword [esp + 0x78], eax
lea esi, [esp + 0xa8]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x2005
mov dword [esp + 0x80], eax
xor ecx, ecx
lea eax, [esp + 0x78]
inc ecx
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x80], ecx
push eax
sub esp, 0x10
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebx + 0x4c]
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 [0x5352c4]
mov ecx, dword [esp + 0x28]
call dword [ebx + 0x4c]
mov edi, eax
test edi, edi
js 0x4cb890
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x17]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0xf8]
push ecx
mov eax, dword [esi]
mov byte [esp + 0x1a], 0
mov ecx, dword [eax + ebx*8 + 4]
call fcn.004c302e
mov edi, eax
test edi, edi
js 0x4cb890
cmp byte [esp + 0x17], 0
je 0x4cb636
mov ecx, dword [esi]
lea eax, [esp + 0x16]
mov edx, dword [esp + 0x110]
push eax
mov ecx, dword [ecx + ebx*8]
call fcn.004c302e
mov edi, eax
test edi, edi
js 0x4cb890
cmp byte [esp + 0x16], 0
je 0x4cb636
lea eax, [ebx + 1]
cmp eax, dword [esi + 4]
jne 0x4cb790
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x34]
sub esi, dword [esp + 0x34]
sar esi, 4
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004c2462
mov edi, dword [eax]
test edi, edi
js 0x4cb890
mov eax, dword [esp + 0x10]
shl esi, 4
add esi, dword [esp + 0x34]
push esi
mov ebx, dword [eax]
lea esi, [esp + 0xac]
sub esp, 0x10
mov edi, esp
mov ecx, dword [ebx + 0x2c]
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 [0x5352c4]
mov ecx, dword [esp + 0x24]
call dword [ebx + 0x2c]
mov edi, eax
test edi, edi
js 0x4cb890
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0xe0]
lea eax, [edx + 1]
cmp eax, dword [esi + 4]
jne 0x4cb780
cmp dword [esp + 0x12c], 0
je 0x4cb780
lea eax, [esp + 0x140]
mov dword [esp + 0x1c], 0x200b
mov dword [esp + 0x88], eax
lea esi, [esp + 0x40]
lea eax, [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x90], eax
inc ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], ecx
mov ebx, dword [eax]
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x94]
push eax
mov ecx, dword [ebx + 0x4c]
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 [0x5352c4]
mov ecx, dword [esp + 0x28]
call dword [ebx + 0x4c]
mov edi, eax
test edi, edi
js 0x4cb890
lea eax, [esp + 0xd8]
mov dword [esp + 0x1c], 0x2001
mov dword [esp + 0x98], eax
lea esi, [esp + 0x148]
lea edi, [esp + 0x40]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
mov dword [esp + 0xa0], eax
inc ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x9c], ecx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0xa4], ecx
mov ebx, dword [eax]
lea eax, [esp + 0x98]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xa4]
push eax
mov ecx, dword [ebx + 0x4c]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x160]
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 [0x5352c4]
mov ecx, dword [esp + 0x28]
call dword [ebx + 0x4c]
mov edi, eax
test edi, edi
js 0x4cb890
cmp dword [esp + 0xd8], 2
je 0x4cb756
int3
lea ecx, [esp + 0x120]
call fcn.004cae19
mov esi, dword [esp + 0xe0]
mov edx, eax
mov ebx, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x18], ebx
lea ecx, [edx + 1]
cmp ecx, dword [esi + 4]
je 0x4cb64d
inc edx
mov dword [esp + 0x20], edx
cmp edx, dword [esi + 4]
jb 0x4cb43d
jmp 0x4cb7c2
push dword [esp + 0x20]
lea esi, [esp + 0xac]
lea edi, [esp + 0xbc]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x124]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004cad92
mov edi, eax
test edi, edi
js 0x4cb890
jmp 0x4cb7c2
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x12c], 0
je 0x4cb7f2
mov eax, dword [esp + 0x30]
lea esi, [esp + 0xb8]
lea edi, [esp + 0x40]
inc ebx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp ebx, dword [eax + 4]
jae 0x4cb7f2
mov ecx, dword [esp + 0x10]
jmp 0x4cb3a4
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x4cb88e
and dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
and dword [esp + 0x28], 0
sub ebx, esi
sar ebx, 4
push ebx
call fcn.0045534e
test eax, eax
jne 0x4cb859
mov edi, 0xc0000017
mov dword [esp + 0x40], 0x433194
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], 0x4331f8
mov dword [esp + 0x4c], 0x1be
mov dword [esp + 0x50], 0x433230
call fcn.004de872
lea ecx, [esp + 0x24]
call fcn.00441e88
jmp 0x4cb890
shl ebx, 4
push ebx
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.00510ff0
mov edx, dword [esp + 0x60]
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 4]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [edx], esi
call fcn.00441e88
xor edi, edi
lea ecx, [esp + 0x34]
call fcn.0046c297
lea ecx, [esp + 0x120]
call fcn.004cad3e
mov ecx, dword [esp + 0x15c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050e82a
mov esp, ebp
pop ebp
ret 0x14