Function at 0x4b47e0
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x808
mov eax, dword [ecx]
mov esi, edx
cmp byte [eax], 0
jne 0x4b4807
mov edx, dword [ecx + 4]
cmp dword [edx], 0x64
jbe 0x4b4807
xor eax, eax
jmp 0x4b5c27
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
movq xmm0, qword [ecx + 0xc]
movd xmm1, eax
mov dword [esp + 0x11c], ecx
mov eax, dword [esi + 8]
mov dword [esp + 0x114], esi
mov byte [esp + 0x23], 0
movd xmm2, edi
mov dword [esp + 0xbc], edx
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x23]
mov dword [esp + 0x118], edi
mov dword [esp], eax
punpckldq xmm1, xmm2
mov dword [esp + 0x2a8], ecx
punpcklqdq xmm1, xmm0
movdqu xmmword [esp + 0x2ac], xmm1
mov dword [esp + 0x2bc], esi
mov esi, dword [0x5c9158]
mov dword [esp + 0x110], edx
test esi, esi
jne 0x4b4d66
movzx eax, byte [0x5c91e8]
mov ecx, 0x520
mov edx, 8
call fcn.0041aa20
test eax, eax
je 0x4b6133
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], 4
mov dword [esp + 0xc0], 4
mov dword [esp + 0xc4], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0xc8], 0
push 0
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x4b4c1f
mov ebx, eax
lea eax, [esp + 0x3dc]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x3d8], 0x428
lea eax, [esp + 0x3d8]
push eax
push ebx
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x4b4c19
mov esi, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
jmp 0x4b4957
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 8]
lea eax, [esp + 0x3d8]
push eax
push ebx
call sub.kernel32.dll_Module32NextW
cmp eax, 1
jne 0x4b4c19
mov dword [esp + 8], esi
mov eax, 0x208
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax]
cmp word [esp + esi*2 + 0x5f8], 0
je 0x4b4986
inc esi
add eax, 0xfffffffe
jne 0x4b4970
mov esi, 0x104
lea edx, [esp + 0x5f8]
lea ecx, [esp + 0x68]
push esi
call fcn.00486630
add esp, 4
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edx, edi
lea ecx, [esp + 0x2c0]
push esi
call fcn.00487e50
add esp, 4
cmp dword [esp + 0x2c0], 0
je 0x4b4a33
mov ecx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2c4]
mov ebx, dword [esp + 0x2c8]
cmp ecx, 0x40
mov dword [esp + 0x18], eax
jb 0x4b4a20
test ebx, ebx
je 0x4b4a20
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x4b4a20
mov eax, dword [ebx + 0x3c]
mov edx, ecx
sub edx, eax
jb 0x4b4a20
cmp edx, 0x78
jb 0x4b4a20
cmp dword [ebx + eax], 0x4550
jne 0x4b4a20
movzx edx, word [ebx + eax + 0x18]
cmp edx, 0x10b
jne 0x4b4a20
movzx edx, word [ebx + eax + 0x14]
cmp dx, 0x60
jb 0x4b4a20
cmp eax, 0xffffff87
jbe 0x4b4a55
nop
push ebx
call sub.kernel32.dll_UnmapViewOfFile
push dword [esp + 0x18]
call sub.kernel32.dll_CloseHandle
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x6c], 0
mov esi, dword [esp + 8]
je 0x4b4940
push edi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
jmp 0x4b4940
movzx edx, dx
add edx, 0xffffffa0
mov dword [esp + 4], edx
mov edx, 0
adc edx, 0xffffffff
jne 0x4b4a20
lea edx, [eax + 0x78]
sub ecx, edx
jb 0x4b4a20
cmp dword [esp + 4], ecx
ja 0x4b4a20
mov ecx, dword [ebx + eax + 0x74]
cmp ecx, 0x1fffffff
ja 0x4b4a20
shl ecx, 3
cmp ecx, dword [esp + 4]
ja 0x4b4a20
mov eax, dword [ebx + eax + 0x34]
movq xmm0, qword [esp + 0x68]
movq xmm1, qword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3ec]
movq qword [esp + 0x2c8], xmm1
movq qword [esp + 0x2c0], xmm0
mov dword [esp + 0x1c], eax
movzx eax, byte [0x5c91e8]
mov ecx, 8
mov edx, 4
call fcn.0041aa20
test eax, eax
je 0x4b6186
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x3f0]
mov dword [esp + 0x28], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
lea edx, [esp + 0x75]
movzx eax, word [edx]
mov word [esp + 0x50], ax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 2]
mov byte [esp + 0x52], al
movzx eax, byte [esp + 0x74]
mov byte [esp + 0xc], al
push ebx
call sub.kernel32.dll_UnmapViewOfFile
push dword [esp + 0x18]
call sub.kernel32.dll_CloseHandle
movzx ecx, byte [esp + 0xc]
cmp cl, 2
je 0x4b4938
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
movzx edx, byte [esp + 0x52]
sub eax, dword [esp + 4]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], 1
mov dword [esp + 0x164], 1
mov dword [esp + 0x168], edi
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x16c], edi
mov dword [esp + 0x170], esi
mov byte [esp + 0x174], cl
lea ecx, [esp + 0x175]
movzx esi, word [esp + 0x50]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x10]
mov word [ecx], si
cmp edx, dword [esp + 0xc4]
jne 0x4b4bc4
lea ecx, [esp + 0xc0]
call fcn.004880e0
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xc8]
jmp 0x4b4bc8
mov esi, dword [esp + 8]
movsd xmm0, qword [esp + 0x170]
mov eax, edx
inc edx
shl eax, 5
mov dword [esp + 0x10], edx
movsd qword [esi + eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x168]
movsd qword [esi + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x158]
movq xmm1, qword [esp + 0x160]
movq qword [esi + eax + 8], xmm1
movq qword [esi + eax], xmm0
mov dword [esp + 0xc8], edx
jmp 0x4b4940
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x128]
movsd xmm1, qword [esp + 0x120]
movsd xmm0, qword [esp + 0xc0]
mov esi, dword [0x5c9158]
mov dword [esp + 0x3e0], eax
mov dword [esp + 0x3ec], ecx
movsd qword [esp + 0x3e4], xmm1
movsd qword [esp + 0x158], xmm0
test esi, esi
movsd xmm0, qword [esp + 0x3e0]
movsd xmm1, qword [esp + 0x3e8]
movsd qword [esp + 0x160], xmm0
movsd qword [esp + 0x168], xmm1
je 0x4b4d2d
mov edi, dword [0x5c9160]
test edi, edi
je 0x4b4cd3
lea ebx, [esi + 0x14]
jmp 0x4b4ca6
add ebx, 0x20
dec edi
je 0x4b4cd3
cmp dword [ebx], 0
je 0x4b4cbb
push dword [ebx - 4]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
cmp dword [ebx - 0xc], 0
je 0x4b4ca0
push dword [ebx - 0x10]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
jmp 0x4b4ca0
cmp dword [0x5c915c], 0
je 0x4b4cea
push esi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov ebx, dword [0x5c916c]
mov esi, dword [0x5c9164]
inc ebx
mov edi, esi
nop dword [eax]
cmp ebx, 1
je 0x4b4d16
lea ecx, [edi + 8]
add edi, 0x148
dec ebx
call fcn.004882e0
jmp 0x4b4d00
cmp dword [0x5c9168], 0
je 0x4b4d2d
push esi
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
movq xmm2, qword [esp + 0x158]
movq xmm0, qword [esp + 0x168]
movq xmm1, qword [esp + 0x160]
movq qword [0x5c9158], xmm2
movq qword [0x5c9168], xmm0
movq qword [0x5c9160], xmm1
mov esi, dword [0x5c9158]
mov ebx, dword [0x5c9160]
test ebx, ebx
je 0x4b5b82
mov eax, dword [esp]
mov edx, ebx
xor ecx, ecx
mov edi, esi
mov dword [esp + 0x18], 0
mov dword [esp + 4], esi
mov dword [esp + 0x10], ebx
shl edx, 5
add edx, esi
sub eax, 1
cmovb eax, ecx
mov dword [esp], eax
mov eax, dword [edi]
mov esi, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 4]
add edi, 0x20
shl esi, 3
nop dword [eax]
test esi, esi
je 0x4b4de0
mov ebx, eax
add esi, 0xfffffff8
add eax, 8
mov ecx, dword [ebx]
add ecx, dword [esp + 8]
cmp ecx, dword [esp]
ja 0x4b4db0
add ecx, dword [ebx + 4]
cmp ecx, dword [esp]
jbe 0x4b4db0
jmp 0x4b4ded
inc dword [esp + 0x18]
cmp edi, edx
jne 0x4b4d9b
jmp 0x4b5b82
mov eax, dword [0x5c916c]
mov ecx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4b4e24
mov ebx, dword [0x5c9164]
imul edi, dword [esp + 0x14], 0x148
xor eax, eax
xor esi, esi
cmp dword [ebx + esi], ecx
je 0x4b4f44
add esi, 0x148
dec eax
cmp edi, esi
jne 0x4b4e10
mov edx, dword [esp + 0x10]
cmp edx, ecx
jbe 0x4b5dc5
mov esi, dword [esp + 4]
mov eax, ecx
shl eax, 5
mov edx, dword [esi + eax + 0x10]
lea ecx, [esp + 0x2c0]
push dword [esi + eax + 0x18]
call fcn.00487e50
add esp, 4
cmp dword [esp + 0x2c0], 0
je 0x4b5b82
mov eax, dword [esp + 0x2c4]
mov edi, dword [esp + 0x2c8]
xor ecx, ecx
mov dword [esp + 0x50], 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 4
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2cc]
cmp eax, 0x40
cmovae ecx, edi
jb 0x4b4f27
movzx edx, word [ecx]
mov ebx, eax
cmp edx, 0x5a4d
jne 0x4b4f27
mov ecx, dword [ecx + 0x3c]
mov eax, ebx
sub eax, ecx
jb 0x4b4f27
cmp eax, 0x78
jb 0x4b4f27
mov edx, ecx
add edx, 0x78
setb byte [esp + 0x10]
cmp dword [edi + ecx], 0x4550
jne 0x4b4f27
movzx eax, word [edi + ecx + 0x18]
cmp eax, 0x10b
jne 0x4b4f27
movzx eax, word [edi + ecx + 0x14]
mov esi, eax
add esi, 0xffffffa0
mov dword [esp + 4], esi
mov esi, 0
adc esi, 0xffffffff
cmp eax, 0x60
mov eax, 0x24
cmovae eax, dword [esp + 4]
mov dword [esp + 4], eax
mov eax, esi
mov esi, 0
cmovb eax, esi
jb 0x4b4f27
cmp ecx, 0xffffff87
jbe 0x4b5c64
lea ecx, [esp + 0x50]
call fcn.004883b0
push edi
call sub.kernel32.dll_UnmapViewOfFile
push dword [esp + 0x14]
call sub.kernel32.dll_CloseHandle
jmp 0x4b5b82
test eax, eax
je 0x4b4fea
lea ecx, [ebx + esi]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x3d8]
push 0x148
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x2c]
sub edi, esi
add edi, 0xfffffeb8
lea eax, [eax + esi + 0x148]
push edi
push eax
push dword [esp + 0x20]
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0x14]
lea esi, [eax - 1]
mov dword [0x5c916c], esi
cmp esi, dword [0x5c9168]
jne 0x4b4fb0
mov ecx, esi
call fcn.0048d080
mov ebx, dword [0x5c9164]
test esi, esi
je 0x4b4fcb
lea eax, [ebx + 0x148]
imul ecx, esi, 0x148
push ecx
push ebx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
push 0x148
lea eax, [esp + 0x3dc]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [0x5c916c], eax
mov eax, dword [esp]
xor ecx, ecx
mov edi, dword [ebx + 0x104]
mov dword [esp + 0x2c], ebx
sub eax, dword [esp + 8]
mov dword [esp], eax
inc eax
sete cl
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0x108]
test ecx, ecx
mov dword [esp + 0xc], ecx
je 0x4b509a
xor ebx, ebx
mov eax, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], edi
jmp 0x4b5040
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov dword [esp + 4], eax
sub eax, ebx
jbe 0x4b50a2
shr eax, 1
mov dword [esp + 8], ebx
add eax, ebx
mov ebx, eax
shl ebx, 5
mov esi, dword [edi + ebx]
mov edx, dword [edi + ebx + 4]
xor ebx, ebx
mov edi, edx
mov ecx, esi
xor edi, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
or ecx, edi
mov ecx, 0
setne bl
cmp dword [esp], esi
sbb ecx, edx
mov ecx, 0xff
cmovae ebx, ecx
cmp bl, 1
je 0x4b5030
movzx ecx, bl
inc eax
mov ebx, eax
cmp ecx, 0xff
jne 0x4b509e
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x10]
sub eax, ebx
ja 0x4b5040
jmp 0x4b50a2
xor ebx, ebx
jmp 0x4b50a2
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
cmp ebx, edx
ja 0x4b6175
mov esi, dword [esp + 0x2c]
shl ebx, 5
lea ecx, [edi + ebx]
lea eax, [esi + 0x100]
mov dword [esp + 8], eax
nop word cs:[eax + eax]
nop dword [eax]
mov edx, dword [esp]
test ebx, ebx
je 0x4b51be
cmp edx, dword [ecx - 0x10]
mov eax, ecx
mov ecx, 0
sbb ecx, dword [eax - 0xc]
jae 0x4b51be
add ebx, 0xffffffe0
cmp edx, dword [eax - 0x18]
mov edx, 0
lea ecx, [eax - 0x20]
sbb edx, dword [eax - 0x14]
jae 0x4b50d0
mov edx, dword [esp]
cmp edx, dword [eax - 0x20]
mov edx, 0
sbb edx, dword [eax - 0x1c]
jb 0x4b50d0
mov ecx, dword [edi + ebx + 0x18]
mov edx, dword [esi + 0x110]
cmp ecx, edx
jae 0x4b5dd4
mov eax, esi
imul esi, ecx, 0x150
add ebx, edi
add esi, dword [eax + 0x10c]
lea ecx, [esp + 0x3d8]
mov edx, esi
push dword [esp + 8]
call fcn.0048d130
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 4], esi
mov eax, dword [esp]
mov esi, dword [esp + 8]
cmp dword [esp + 0x3d8], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], esi
je 0x4b5741
movsd xmm0, qword [esp + 0x3e0]
movq xmm1, qword [esp + 0x3e8]
lea ecx, [esp + 0x78]
movq qword [esp + 0xc8], xmm1
movsd qword [esp + 0xc0], xmm0
lea eax, [esp + 0xc0]
lea edx, [esp + 0x50]
push eax
call fcn.0048d5c0
add esp, 4
mov dword [esp + 0x74], 0
jmp 0x4b57eb
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x184]
mov esi, dword [esp + 0x18c]
mov edx, dword [esp + 0x188]
mov edi, 3
movsd xmm1, qword [esp + 0x138]
movq xmm0, qword [esp + 0x130]
movq xmm2, qword [esp + 0x120]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
mov bl, 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], ecx
movsd qword [esp + 0x174], xmm1
movq xmm1, qword [esp + 0x128]
movq qword [esp + 0x16c], xmm0
movq qword [esp + 0x15c], xmm2
movq qword [esp + 0x164], xmm1
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x184], edx
mov dword [esp + 0x188], esi
mov edx, dword [esp + 0x174]
lea eax, [eax + 0xc8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x178]
mov dword [esp + 0x48], edx
lea edx, [eax + 0x10]
mov dword [esp + 0xb4], eax
mov dword [esp + 0x38], edx
lea edx, [eax + 0x108]
mov dword [esp + 0x44], edx
lea edx, [eax + 0x110]
add eax, 0x10c
mov dword [esp + 0x10c], edx
mov edx, edi
mov dword [esp + 0x108], eax
nop word cs:[eax + eax]
add edx, 0xfffffffd
mov eax, 2
cmp edx, 2
cmovb eax, edx
cmp eax, 1
je 0x4b5400
cmp eax, 2
jne 0x4b5712
mov eax, dword [esp + 0x15c]
lea ecx, [esp + 0x164]
mov edx, dword [esp + 0x160]
cmp esi, dword [esp + 0x28]
mov dword [esp + 0x18], edi
movq xmm0, qword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x158], 2
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], eax
je 0x4b553f
lea eax, [esi - 4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x188], eax
mov dword [esp + 8], eax
mov esi, dword [esi - 4]
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi]
test eax, eax
mov dword [esp + 0x40], eax
setne byte [esp + 4]
xor ebx, ebx
test edi, edi
setne byte [esp + 0x3c]
or ecx, dword [esi + 4]
je 0x4b5377
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
jne 0x4b5602
movzx edx, byte [esp + 4]
xor eax, eax
mov al, dl
mov edx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x15c], eax
movzx eax, byte [esp + 0x3c]
mov bl, al
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], edi
mov dword [esp + 0x168], edx
mov dword [esp + 0x16c], ecx
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x4b55d8
mov edi, dword [esi + 0x14]
mov eax, dword [esp + 0x70]
movq xmm0, qword [esp + 0x68]
mov dword [esp + 0xc8], eax
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0x2c8], eax
movq qword [esp + 0x2c0], xmm0
jmp 0x4b54c4
cmp edx, 2
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x160]
mov edi, 0
mov dword [esp + 0x15c], 2
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmovae edx, edi
mov dword [esp + 0xc], edx
jb 0x4b5461
cmp dword [esp + 0x24], 0
je 0x4b5461
push dword [esp + 0x30]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov dword [esp + 0x158], 3
lea ecx, [esp + 0x164]
mov dword [esp + 4], 3
movsd xmm0, qword [ecx + 4]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0xc]
movsd qword [esp + 0xc0], xmm0
movq xmm0, qword [ecx + 4]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x2c8], edx
movq qword [esp + 0x2c0], xmm0
mov edx, dword [esp]
mov ecx, dword [esp + 0x1c]
push 0
call fcn.00493f60
add esp, 4
mov ebx, eax
mov edi, edx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x2c8]
lea ecx, [esp + 0x3e4]
movq xmm0, qword [esp + 0x2c0]
mov esi, dword [esp]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
movq qword [ecx], xmm0
mov dword [esp + 0x3d8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3e0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3dc], eax
mov dword [esp + 0x3f0], esi
mov dword [esp + 0x3f4], ebx
mov dword [esp + 0x3f8], edi
lea ecx, [esp + 0x2a8]
lea edx, [esp + 0x3d8]
call fcn.004b6350
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
xor ebx, ebx
mov edi, edx
jmp 0x4b52c0
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x4b5684
mov ecx, dword [esp + 0xb4]
mov edi, dword [eax + 0x18]
movzx esi, word [ecx + 0x148]
cmp dword [esp + 0xc], 0
je 0x4b5577
push dword [esp + 0x30]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov dword [esp + 0x158], 3
lea ecx, [esp + 0x164]
cmp si, 2
mov dword [esp + 4], 3
movsd xmm0, qword [ecx]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 8]
movsd qword [esp + 0xc0], xmm0
movq xmm0, qword [ecx]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x2c8], edx
mov esi, ecx
movq qword [esp + 0x2c0], xmm0
mov dword [esp + 8], ecx
je 0x4b54ab
jmp 0x4b54c4
mov eax, dword [esp + 0x70]
movq xmm0, qword [esp + 0x68]
mov esi, dword [esp + 8]
mov dword [esp + 0xc8], eax
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0x2c8], eax
jmp 0x4b54a2
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [ecx]
mov dword [esp + 0xb8], eax
cmp ecx, 2
jne 0x4b56aa
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x3d8]
call fcn.00490f10
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x2c0]
push dword [esp + 0x104]
lea eax, [esp + 0x3dc]
push eax
call fcn.00491310
add esp, 8
mov eax, dword [esp + 0x44]
cmp dword [eax], 2
jne 0x4b5698
movsd xmm0, qword [esp + 0x2c0]
movq xmm1, qword [esp + 0x2c8]
movsd qword [eax], xmm0
movq xmm0, qword [esp + 0x2d0]
movq qword [eax + 8], xmm1
movq qword [eax + 0x10], xmm0
jmp 0x4b56a8
mov si, 2
cmp dword [esp + 0xc], 0
jne 0x4b5566
jmp 0x4b5577
lea ecx, [esp + 0x2c0]
call fcn.00493e90
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10c]
test ecx, ecx
mov edx, 1
cmovne ecx, edx
cmove eax, dword [esp + 0x108]
test ecx, ecx
je 0x4b56e3
cmp byte [eax], 0x4b
mov ecx, dword [esp + 0xb8]
jne 0x4b5c50
mov eax, dword [eax + 4]
test eax, eax
jne 0x4b56f2
jmp 0x4b5377
mov ecx, dword [esp + 0xb8]
test eax, eax
je 0x4b5377
cmp dword [eax + 4], ecx
mov edx, ecx
jbe 0x4b5377
mov eax, dword [eax]
lea ecx, [edx + edx*2]
mov edx, dword [eax + ecx*4]
mov ecx, dword [eax + ecx*4 + 8]
mov dword [esp + 0x34], edx
jmp 0x4b5377
cmp edx, 2
jb 0x4b572f
cmp dword [esp + 0x24], 0
je 0x4b572f
push dword [esp + 0x30]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
mov ecx, dword [esp + 0x2c]
test bl, 1
jne 0x4b5b35
jmp 0x4b5b82
movsd xmm0, qword [esp + 0x400]
mov eax, dword [esp + 0x3e4]
movq xmm1, qword [esp + 0x50]
movq xmm2, qword [esp + 0x58]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0x3f8]
mov dword [esp + 0xd8], eax
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [esp + 0x3f0]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x3e8]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [esp + 0x3dc]
movq qword [esp + 0x70], xmm2
movq qword [esp + 0x68], xmm1
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0x78], xmm0
movq qword [esp + 0xc0], xmm1
movq qword [esp + 0xc8], xmm2
movsd xmm0, qword [esp + 0xd8]
movsd qword [esp + 0x80], xmm0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x418], eax
mov eax, dword [esp]
mov dword [esp + 0x41c], esi
movd xmm0, eax
pshufd xmm0, xmm0, 0x44
movdqu xmmword [esp + 0x3d8], xmm0
mov dword [esp + 0x3ec], edx
mov dword [esp + 0x3e8], ecx
mov dword [esp + 0x3f0], esi
mov dword [esp + 0x3f8], edi
mov dword [esp + 0x3fc], ebx
mov dword [esp + 0x404], edx
mov dword [esp + 0x400], ecx
mov dword [esp + 0x408], eax
mov dword [esp + 0x40c], 0
mov byte [esp + 0x410], 0
lea eax, [esp + 0x3d8]
lea ecx, [esp + 0x158]
lea edx, [esp + 0x68]
push eax
call fcn.00490880
add esp, 4
cmp byte [esp + 0x1d0], 2
je 0x4b5ad4
nop
mov eax, dword [esp + 0x190]
mov ecx, 0x13
lea edi, [esp + 0x2c0]
lea esi, [esp + 0x194]
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], eax
lea eax, [esp + 0x178]
rep movsd dword es:[edi], dword [esi]
movsd xmm0, qword [esp + 0x170]
movsd xmm1, qword [esp + 0x160]
movsd qword [esp + 0x3f0], xmm0
movsd xmm0, qword [esp + 0x168]
movsd qword [esp + 0x3e0], xmm1
movq xmm1, qword [eax + 8]
movsd qword [esp + 0x3e8], xmm0
movsd xmm0, qword [esp + 0x158]
movq qword [esp + 0x2a0], xmm1
movsd qword [esp + 0x3d8], xmm0
movq xmm0, qword [eax]
mov eax, dword [esp + 0x3f0]
movq qword [esp + 0x298], xmm0
lock dec dword [eax]
jne 0x4b5939
lea ecx, [esp + 0x3f0]
call fcn.00490e70
movzx eax, byte [ebx + 0x138]
cmp eax, 0x4b
je 0x4b5960
cmp eax, 0x4c
jne 0x4b59a0
mov byte [ebx + 0x138], 0x4b
mov dword [ebx + 0x13c], 0
jmp 0x4b5980
mov esi, dword [ebx + 0x13c]
test esi, esi
je 0x4b5980
mov ecx, dword [esi]
add esi, 8
mov dl, 2
mov al, 0x4b
mov ebx, esi
mov dword [esp + 8], edx
add ecx, 8
jmp 0x4b59eb
mov eax, dword [esp + 8]
mov dword [esp + 8], 0
mov ecx, dword [eax]
mov al, 0x4b
add ecx, 8
jmp 0x4b59eb
movzx ecx, byte [ebx + 0x13b]
mov byte [esp + 0x6a], cl
movzx ecx, word [ebx + 0x139]
mov word [esp + 0x68], cx
movzx edx, byte [ebx + 0x140]
mov ecx, dword [ebx + 0x13c]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x143]
mov byte [esp + 0xc2], dl
movzx edx, word [ebx + 0x141]
mov word [esp + 0xc0], dx
mov ebx, dword [ebx + 0x144]
movzx edx, byte [esp + 0x6a]
lea esi, [esp + 0x3f0]
movq xmm1, qword [esp + 0x2a0]
movq xmm0, qword [esp + 0x298]
mov byte [esi - 0x15], dl
movzx edx, word [esp + 0x68]
movq qword [esp + 0x70], xmm1
movq qword [esp + 0x68], xmm0
mov word [esi - 0x17], dx
movzx edx, word [esp + 0xc0]
mov word [esi - 0xf], dx
movzx edx, byte [esp + 0xc2]
mov byte [esi - 0xd], dl
mov byte [esp + 0x3d8], al
mov eax, dword [esp + 8]
mov dword [esp + 0x3dc], ecx
mov byte [esp + 0x3e0], al
mov dword [esp + 0x3e4], ebx
lea edx, [esp + 0x68]
lea eax, [esp + 0x3d8]
lea ecx, [esp + 0xd0]
push eax
call fcn.0048d5c0
add esp, 4
lea eax, [esp + 0x68]
mov dword [esp + 0xcc], 0
mov ecx, 0x12
lea esi, [esp + 0x2c4]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x3d8]
push eax
call fcn.00490880
add esp, 4
push 0x88
lea eax, [esp + 0x3dc]
push eax
lea eax, [esp + 0x160]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x1d0], 2
jne 0x4b5890
movsd xmm1, qword [esp + 0x168]
movq xmm0, qword [esp + 0x160]
movq xmm2, qword [esp + 0x170]
mov edi, dword [esp + 0x15c]
cmp dword [esp + 0x158], 0
movsd qword [esp + 0x128], xmm1
movq xmm1, qword [esp + 0x178]
movq qword [esp + 0x120], xmm0
movq qword [esp + 0x130], xmm2
movq qword [esp + 0x138], xmm1
je 0x4b5c2f
mov ecx, dword [esp + 0x2c]
add ecx, 0xc8
mov edx, dword [esp]
push 0
call fcn.00493f60
add esp, 4
test eax, eax
je 0x4b5b82
mov esi, dword [esp]
mov dword [esp + 0x3d8], 3
mov dword [esp + 0x3dc], eax
mov dword [esp + 0x3e0], edx
mov dword [esp + 0x3e4], esi
lea ecx, [esp + 0x2a8]
lea edx, [esp + 0x3d8]
call fcn.004b6350
cmp byte [esp + 0x23], 0
mov esi, dword [esp + 0x11c]
jne 0x4b5c15
mov eax, dword [esp + 0x118]
cmp byte [eax], 0
je 0x4b5c15
mov eax, dword [esp + 0x110]
mov dword [esp + 0x3d8], 3
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x15c], 0
mov edx, dword [eax + 8]
sub esp, 0x20
lea eax, [esp + 0x3f8]
lea ecx, [esp + 0x178]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a3bc0
add esp, 0x20
mov ecx, dword [esp + 0xbc]
mov byte [ecx], al
mov eax, dword [esp + 0x158]
inc dword [eax + 0xc]
mov eax, dword [esi + 4]
inc dword [eax]
mov eax, dword [esp + 0xbc]
cmp byte [eax], 0
sete al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x184]
mov esi, dword [esp + 0x18c]
mov edx, dword [esp + 0x188]
jmp 0x4b51df
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x4c]
jne 0x4b571e
jmp 0x4b572f
test eax, eax
jne 0x4b4f27
mov esi, ebx
sub esi, edx
jb 0x4b4f27
cmp dword [esp + 4], esi
ja 0x4b4f27
mov esi, dword [edi + ecx + 0x74]
cmp esi, 0x1fffffff
ja 0x4b4f27
shl esi, 3
cmp esi, dword [esp + 4]
ja 0x4b4f27
mov esi, eax
movzx eax, byte [esp + 0x10]
mov dword [esp + 0xc], edx
xor edx, edx
mov dl, al
mov eax, edx
mov edx, dword [esp + 0xc]
add dword [esp + 4], edx
adc esi, eax
jne 0x4b4f27
mov eax, ebx
sub eax, dword [esp + 4]
jb 0x4b4f27
movzx edx, word [edi + ecx + 6]
mov dword [esp + 0x10], edx
lea edx, [edx*8]
lea edx, [edx + edx*4]
cmp edx, eax
ja 0x4b4f27
mov eax, dword [edi + ecx + 0xc]
add dword [esp + 4], edi
test eax, eax
mov dword [esp + 0xc], eax
je 0x4b5ddb
mov eax, dword [edi + ecx + 0x10]
mov edx, 0x12
mov dword [esp + 0x28], eax
mul edx
jo 0x4b4f27
mov edx, ebx
sub edx, dword [esp + 0xc]
jb 0x4b4f27
cmp eax, edx
ja 0x4b4f27
mov edx, dword [esp + 0xc]
mov esi, eax
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, ebx
sub eax, dword [esp + 0x1c]
setb byte [esp + 0x1c]
add esi, edx
mov dword [esp + 0x34], esi
setb byte [esp + 0x24]
jb 0x4b4f27
cmp byte [esp + 0x1c], 0
jne 0x4b4f27
cmp eax, 4
jb 0x4b4f27
movzx eax, byte [esp + 0x24]
xor edx, edx
mov ecx, dword [edi + ecx + 0x34]
mov dl, al
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], edx
mov esi, dword [edi + eax]
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esi, eax
adc edx, 0
cmp dword [esp + 0x28], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], edx
je 0x4b6144
add dword [esp + 0xc], edi
xor edx, edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x1c], 0
jmp 0x4b6090
push 0x56cb48
call fcn.00444440
add esp, 4
ud2
push 0x56a7a8
jmp 0x4b5dca
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], 0
mov esi, 4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
xor edx, edx
mov eax, 0x20
test edx, edx
mov ecx, 0x20
je 0x4b5e36
bsr ecx, edx
xor ecx, 0x1f
sub eax, ecx
mov ecx, esi
push eax
push 0
call fcn.00488460
add esp, 8
movq xmm0, qword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 4]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x150], eax
movq qword [esp + 0x148], xmm0
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x12c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x144], eax
lea eax, [esp + 0x68]
lea edx, [esp + 0x120]
lea esi, [esp + 0xc0]
lea ecx, [esp + 0x2c0]
push eax
push esi
call fcn.00488e00
add esp, 8
movzx eax, byte [esp + 0x2c0]
cmp al, 0x17
mov byte [esp + 0x10], al
je 0x4b4f27
lea eax, [esp + 0x2c1]
lea esi, [esp + 0x3d8]
push 0x117
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0x58]
movq xmm0, qword [esp + 0x50]
lea eax, [esp + 0x159]
movsd qword [esp + 0x4f7], xmm1
movq xmm1, qword [esp + 0x60]
movq qword [esp + 0x4ef], xmm0
movq qword [esp + 0x4ff], xmm1
push 0x12f
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x158], al
mov dword [esp + 0x288], ecx
mov dword [esp + 0x28c], edi
mov edi, dword [0x5c916c]
mov dword [esp + 0x290], ebx
cmp edi, 4
jne 0x4b5fda
mov dword [0x5c916c], 3
mov eax, 0x3d8
add eax, dword [0x5c9164]
push 0x148
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x3e0], 0x17
je 0x4b5fd5
lea ecx, [esp + 0x3e0]
call fcn.004882e0
mov edi, 3
lea eax, [esp + 0x3e0]
lea ecx, [esp + 0x158]
push 0x140
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp edi, dword [0x5c9168]
mov dword [esp + 0x3d8], eax
jne 0x4b6011
mov ecx, edi
call fcn.0048d080
mov ebx, dword [0x5c9164]
test edi, edi
je 0x4b610f
lea eax, [ebx + 0x148]
imul ecx, edi, 0x148
push ecx
push ebx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
push 0x148
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc edi
mov dword [0x5c916c], edi
jne 0x4b4fea
xor ecx, ecx
xor edx, edx
push 0x56cb58
jmp 0x4b5dca
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov dword [eax + edx*8], esi
mov dword [eax + edx*8 + 4], ecx
inc edx
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
lea ecx, [ecx + eax + 1]
cmp ecx, dword [esp + 0x28]
mov eax, ecx
mov dword [esp + 0x1c], ecx
jae 0x4b612d
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0xc]
movzx esi, byte [eax + ecx*2 + 0x11]
mov dword [esp + 0x24], esi
movzx esi, word [eax + ecx*2 + 0xe]
and esi, 0x30
cmp si, 0x20
jne 0x4b6074
mov eax, dword [esp + 0xc]
movzx esi, word [eax + ecx*2 + 0xc]
test si, si
je 0x4b6074
movzx esi, si
dec esi
cmp esi, dword [esp + 0x10]
jae 0x4b6154
mov eax, dword [esp + 0xc]
lea eax, [eax + ecx*2]
lea ecx, [esi + esi*4]
mov esi, dword [eax + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 4]
add esi, dword [esp + 0x48]
add esi, dword [eax + ecx*8 + 0xc]
cmp edx, dword [esp + 0x6c]
jne 0x4b6060
lea ecx, [esp + 0x68]
call fcn.00488d60
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x38], eax
jmp 0x4b6060
push 0x148
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [0x5c916c], 1
jmp 0x4b4fea
mov esi, dword [esp + 0x68]
jmp 0x4b614b
mov ecx, 8
mov edx, 0x520
call fcn.0041b1c0
ud2
mov esi, 4
xor edx, edx
mov dword [esp + 0xc], edi
jmp 0x4b5e22
cmp dword [esp + 0x6c], 0
je 0x4b4f27
push dword [esp + 0x68]
push 0
push dword [0x5c9128]
call sub.kernel32.dll_HeapFree
jmp 0x4b4f27
mov ecx, ebx
push 0x56a798
call fcn.00445020
add esp, 4
ud2
mov ecx, 4
mov edx, 8
call fcn.0041b1c0
ud2