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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x3a0
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x68]
lea ecx, [eax - 0x1f]
cmp cx, 4
setb dl
cmp cx, 1
setne cl
test dl, cl
jne 0x4b7e2d
cmp ax, 0xf
mov edi, esi
je 0x4b7e6f
xor eax, eax
mov edx, esi
lea esi, [esp + 0x88]
inc eax
mov ecx, esi
push eax
push 0x542878
push eax
push 0x541066
call fcn.004b5201
add esp, 0x10
mov al, byte [esi]
movzx ecx, word [esi + 1]
mov dl, byte [esi + 3]
mov edi, dword [esi + 4]
cmp al, 0x13
mov word [esp + 0x18], cx
mov byte [esp + 0x1a], dl
jne 0x4b7fc7
mov esi, dword [ebp + 0x14]
add ebx, 0x40
mov edx, esi
mov ecx, ebx
call fcn.004b547d
cmp dword [edi + 8], 0
je 0x4b7ea7
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov edx, dword [eax]
lea eax, [esp + 0x88]
mov ecx, edi
mov byte [eax], 4
push eax
push 0x10
call fcn.004aba61
pop eax
pop ecx
mov ebx, dword [ebp + 0xc]
jmp 0x4b7ff8
mov esi, dword [edi + 0x10]
imul edx, dword [edi + 0x14], 0x18
mov eax, edi
lea ecx, [esp + 0x60]
lea edi, [esp + 0x88]
mov dword [esp + 0x14], ebx
mov dword [esp + 8], eax
add edx, esi
mov dword [esp + 4], edx
cmp esi, edx
je 0x4b8017
lea eax, [esi + 0x18]
mov dword [esp], eax
call fcn.0049da6f
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
and dword [esp + 0x98], 0
and dword [esp + 0x9c], 0
and dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x547e30
mov ebx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
shl esi, 4
test esi, esi
je 0x4b7f73
movzx edx, word [ebx + 0xe]
mov ecx, dword [ebx + 0xc]
call fcn.004a24e7
mov ecx, eax
call fcn.004a2104
mov ecx, edi
lea edx, [esp + 0x18]
mov word [esp + 0x18], ax
call fcn.004a02f8
test al, al
jne 0x4b7f9a
movzx edx, word [esp + 0x18]
mov ecx, edi
add ebx, 0x10
call fcn.004a0649
add esi, 0xfffffff0
jmp 0x4b7f34
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
call fcn.0049fd3b
mov esi, dword [esp]
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x60]
jmp 0x4b7ec9
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xa4]
call fcn.0049fd3b
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, edi
push 1
push 0x1a
call fcn.004aba09
pop eax
pop ecx
mov ebx, dword [ebp + 0xc]
jmp 0x4b7ff5
movzx ecx, word [esp + 0x18]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x94]
mov word [edx + 1], cx
mov cl, byte [esp + 0x1a]
mov byte [edx + 3], cl
mov ecx, dword [esp + 0x90]
mov byte [edx], al
mov dword [edx + 4], edi
mov edi, edx
mov dword [edx + 0xc], esi
mov dword [edx + 8], ecx
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.004aae1c
push ebx
call fcn.004b5ece
pop eax
mov ecx, ebx
call fcn.00442cb3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [eax + 0x10]
imul eax, dword [eax + 0x14], 0x18
lea edx, [ecx + eax]
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edx
cmp eax, edx
je 0x4b809b
lea ecx, [eax + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
shl eax, 4
test eax, eax
je 0x4b8091
movzx edx, word [ebx + 0xe]
mov ecx, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.004a24e7
mov esi, eax
mov edi, edx
sub esp, 4
mov ecx, esi
mov edx, edi
push 5
call fcn.004a6013
pop ecx
pop edx
test al, al
je 0x4b8086
sub esp, 4
mov ecx, esi
mov edx, edi
push 0x11
call fcn.004a6013
pop ecx
pop edx
test al, al
jne 0x4b7fad
mov eax, dword [esp]
add ebx, 0x10
add eax, 0xfffffff0
jmp 0x4b8043
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jmp 0x4b802f
lea eax, [esp + 0x40]
lea ebx, [esp + 0x88]
and dword [eax], 0
mov dword [eax + 4], 4
and dword [eax + 8], 0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4b80e9
mov esi, dword [esp + 4]
mov ecx, ebx
mov edx, dword [esi + 4]
lea edi, [esi + 0x18]
push dword [esi + 8]
mov esi, eax
call fcn.0049157a
pop eax
lea ecx, [esp + 0x40]
mov edx, ebx
call fcn.0046e6bb
mov eax, esi
mov dword [esp + 4], edi
add eax, 0xffffffe8
jmp 0x4b80b8
mov eax, dword [esp + 8]
xor ecx, ecx
cmp dword [eax + 0x14], 0
je 0x4b816f
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
lea ebx, [eax - 8]
shl edi, 4
test edi, edi
je 0x4b8169
movzx esi, word [eax + 0xc]
movzx edx, word [eax + 0xe]
lea ecx, [eax + 0x10]
mov dword [esp], ecx
mov ecx, esi
call fcn.004a24e7
add ebx, 0x10
add edi, 0xfffffff0
cmp ax, 5
mov eax, dword [esp]
jne 0x4b8104
movzx eax, si
add eax, 0xffffffda
cmp ax, 2
push 2
pop ecx
cmovae eax, ecx
mov ecx, 0
test ax, ax
mov eax, dword [esp + 8]
jne 0x4b816f
mov edx, dword [ebx - 4]
lea esi, [esp + 0x88]
mov ecx, esi
push dword [ebx]
call fcn.0049157a
mov eax, dword [esp + 0xc]
add esp, 4
mov ecx, dword [esi + 4]
jmp 0x4b816f
mov eax, dword [esp + 8]
xor ecx, ecx
test ecx, ecx
je 0x4b8193
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
jmp 0x4b81a2
xor edx, edx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], ecx
inc edx
mov dword [esp + 0xc], edx
cmp dword [eax + 0x14], 0
je 0x4b820d
mov ecx, dword [eax + 0x10]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
lea ebx, [eax - 8]
shl edi, 4
test edi, edi
je 0x4b820d
movzx esi, word [eax + 0xc]
movzx edx, word [eax + 0xe]
lea ecx, [eax + 0x10]
mov dword [esp], ecx
mov ecx, esi
call fcn.004a24e7
add ebx, 0x10
add edi, 0xfffffff0
cmp ax, 0x11
mov eax, dword [esp]
jne 0x4b81b7
movzx eax, si
add eax, 0xffffffda
cmp ax, 2
push 2
pop ecx
cmovb ecx, eax
cmp cx, 1
jne 0x4b820d
mov edx, dword [ebx - 4]
test edx, edx
je 0x4b820d
lea ecx, [esp + 0x88]
push dword [ebx]
call fcn.0049eb0e
pop eax
jmp 0x4b8215
and dword [esp + 0x8c], 0
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov ebx, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
movsd qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x88]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x38], esi
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4b828e
mov edx, dword [esp + 0x20]
call fcn.004b54c5
mov cl, 0x18
test al, al
jne 0x4b8402
cmp byte [ebx + 0x348], 0
mov edx, dword [esp + 0x14]
je 0x4b8400
mov eax, dword [ebx + 0x310]
movsd xmm0, qword [ebx + 0x320]
mov dword [esp], eax
mov eax, dword [ebx + 0x328]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [ebx + 0x318]
mov dword [esp + 0x80], eax
movsd qword [esp + 0x70], xmm0
push 0x10
pop ecx
lea edi, [esp + 0x88]
mov esi, ebx
lea eax, [esp + 0xc8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x314]
push 0xe8
push edx
push eax
call fcn.004fea40
add esp, 0xc
mov eax, 0x128
lea edi, [esp + 0x88]
lea ecx, [ebx + eax]
add eax, edi
push 0x1e8
push ecx
push eax
call fcn.004fea40
add esp, 0xc
movsd xmm1, qword [ebx + 0x334]
mov eax, dword [ebx + 0x344]
movsd xmm0, qword [ebx + 0x32c]
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [ebx + 0x33c]
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm1
push 8
pop edx
mov ecx, 0x370
call fcn.00422855
mov ebx, eax
mov eax, 0x310
push eax
push edi
push ebx
call fcn.004fea40
add esp, 0xc
mov eax, dword [esp]
mov edi, 0x318
add edi, ebx
mov dword [ebx + 0x310], eax
mov dword [ebx + 0x314], esi
push 9
pop ecx
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x34c], eax
movsd xmm0, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
movsd qword [ebx + 0x344], xmm1
movsd qword [ebx + 0x33c], xmm0
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
movsd qword [ebx + 0x350], xmm0
movsd qword [ebx + 0x358], xmm1
movsd xmm0, qword [esp + 0x50]
movsd qword [ebx + 0x360], xmm0
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x368], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], 0x542af8
mov byte [esi], 0x13
call fcn.004aae1c
mov ecx, dword [ebp + 0xc]
call fcn.00442cb3
mov eax, esi
jmp 0x4b800f
mov cl, 0x3d
mov edi, dword [ebp + 8]
mov byte [edi], 8
mov byte [edi + 1], cl
lea ecx, [esp + 0x18]
call fcn.004b8511
jmp 0x4b7ff5