Function at 0x10152620
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, 0x800
mov eax, dword [ecx]
cmp byte [eax], 0
jne 0x10152645
mov esi, dword [ecx + 4]
cmp dword [esi], 0x64
jbe 0x10152645
xor eax, eax
jmp 0x10153ac0
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
movq xmm0, qword [ecx + 0xc]
movd xmm1, eax
mov eax, dword [edx + 8]
mov byte [esp + 0x23], 0
mov dword [esp + 0x114], ecx
mov dword [esp + 0xbc], esi
lea esi, [esp + 0x23]
movd xmm2, edi
mov dword [esp + 0x110], edi
mov dword [esp + 0xb8], eax
mov dword [esp + 0x2a0], esi
mov esi, dword [ecx + 0x10]
punpckldq xmm1, xmm2
punpcklqdq xmm1, xmm0
movdqu xmmword [esp + 0x2a4], xmm1
mov dword [esp + 0x2b4], edx
mov dword [esp + 0x10c], esi
mov esi, dword [0x1038a140]
test esi, esi
je 0x101526c6
mov edi, dword [0x1038a148]
test edi, edi
jne 0x10152bd4
jmp 0x10153a22
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1038a110]
test eax, eax
jne 0x101526e9
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10153fe2
mov dword [0x1038a110], eax
push 0x520
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10153fe2
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 4
mov dword [esp + 0xc0], 4
mov dword [esp + 0xc4], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0xc8], 0
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x10152a73
mov esi, eax
lea eax, [esp + 0x3d4]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x3d0], 0x428
lea eax, [esp + 0x3d0]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x10152a6d
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 4
mov dword [esp], esi
jmp 0x101527c7
mov esi, dword [esp]
nop word cs:[eax + eax]
nop dword [eax + eax]
lea eax, [esp + 0x3d0]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x10152a6d
mov eax, 0x208
xor ecx, ecx
nop
cmp word [esp + ecx*2 + 0x5f0], 0
je 0x101527e6
inc ecx
add eax, 0xfffffffe
jne 0x101527d0
mov ecx, 0x104
push ecx
lea eax, [esp + 0x5f4]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1014d9e0
add esp, 0xc
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
mov edx, ebx
lea ecx, [esp + 0x2b8]
push edi
call fcn.10167760
add esp, 4
cmp dword [esp + 0x2b8], 0
je 0x10152892
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2bc]
mov esi, dword [esp + 0x2c0]
cmp ecx, 0x40
mov dword [esp + 0x10], eax
jb 0x10152880
test esi, esi
je 0x10152880
movzx eax, word [esi]
cmp eax, 0x5a4d
jne 0x10152880
mov eax, dword [esi + 0x3c]
mov edx, ecx
sub edx, eax
jb 0x10152880
cmp edx, 0x78
jb 0x10152880
cmp dword [esi + eax], 0x4550
jne 0x10152880
movzx edx, word [esi + eax + 0x18]
cmp edx, 0x10b
jne 0x10152880
movzx edx, word [esi + eax + 0x14]
cmp edx, 0x60
jae 0x101528b0
nop word [eax + eax]
push esi
call sub.KERNEL32.dll_UnmapViewOfFile
push dword [esp + 0x10]
call sub.KERNEL32.dll_CloseHandle
mov esi, dword [esp]
cmp dword [esp + 0x6c], 0
je 0x101527b0
push ebx
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
jmp 0x101527b0
cmp eax, 0xffffff87
ja 0x10152880
mov dword [esp + 8], edx
lea edx, [eax + 0x78]
sub ecx, edx
mov edx, dword [esp + 8]
jb 0x10152880
add edx, 0xffffffa0
cmp edx, ecx
ja 0x10152880
mov ecx, dword [esi + eax + 0x74]
cmp ecx, 0x1fffffff
ja 0x10152880
shl ecx, 3
cmp ecx, edx
ja 0x10152880
mov eax, dword [esi + eax + 0x34]
movq xmm0, qword [esp + 0x68]
movq xmm1, qword [esp + 0x70]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3e4]
movq qword [esp + 0x2c0], xmm1
movq qword [esp + 0x2b8], xmm0
mov dword [esp + 0xc], eax
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
push 4
push 8
call fcn.10001510
add esp, 8
test eax, eax
je 0x1015403c
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3e8]
mov dword [esp + 0x14], 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 + 0x28], eax
movzx eax, byte [edx + 2]
mov byte [esp + 0x52], al
movzx eax, byte [esp + 0x74]
mov byte [esp + 4], al
push esi
call sub.KERNEL32.dll_UnmapViewOfFile
push dword [esp + 0x10]
call sub.KERNEL32.dll_CloseHandle
movzx ecx, byte [esp + 4]
cmp cl, 2
je 0x1015279e
mov eax, dword [esp + 0xc]
movzx edx, byte [esp + 0x52]
movzx esi, word [esp + 0x50]
sub eax, dword [esp + 8]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], 1
mov dword [esp + 0x15c], 1
mov dword [esp + 0x160], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], edi
mov byte [esp + 0x16c], cl
lea ecx, [esp + 0x16d]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x1c]
mov word [ecx], si
mov esi, dword [esp]
cmp edx, dword [esp + 0xc4]
jne 0x10152a14
lea ecx, [esp + 0xc0]
call fcn.10133d60
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc8]
jmp 0x10152a18
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x168]
mov eax, edx
inc edx
mov dword [esp + 0x18], ecx
shl eax, 5
mov dword [esp + 0x1c], edx
movsd qword [ecx + eax + 0x18], xmm0
movsd xmm0, qword [esp + 0x160]
movsd qword [ecx + eax + 0x10], xmm0
movq xmm0, qword [esp + 0x150]
movq xmm1, qword [esp + 0x158]
movq qword [ecx + eax + 8], xmm1
movq qword [ecx + eax], xmm0
mov dword [esp + 0xc8], edx
jmp 0x101527b0
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x120]
movsd xmm1, qword [esp + 0x118]
movsd xmm0, qword [esp + 0xc0]
mov esi, dword [0x1038a140]
mov dword [esp + 0x3d8], eax
mov dword [esp + 0x3e4], ecx
movsd qword [esp + 0x3dc], xmm1
movsd qword [esp + 0x150], xmm0
test esi, esi
movsd xmm0, qword [esp + 0x3d8]
movsd xmm1, qword [esp + 0x3e0]
movsd qword [esp + 0x158], xmm0
movsd qword [esp + 0x160], xmm1
je 0x10152b8d
mov edi, dword [0x1038a148]
test edi, edi
je 0x10152b33
lea ebx, [esi + 0x14]
jmp 0x10152b06
add ebx, 0x20
dec edi
je 0x10152b33
cmp dword [ebx], 0
je 0x10152b1b
push dword [ebx - 4]
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebx - 0xc], 0
je 0x10152b00
push dword [ebx - 0x10]
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
jmp 0x10152b00
cmp dword [0x1038a144], 0
je 0x10152b4a
push esi
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [0x1038a154]
mov esi, dword [0x1038a14c]
inc ebx
mov edi, esi
nop dword [eax]
cmp ebx, 1
je 0x10152b76
lea ecx, [edi + 8]
add edi, 0x148
dec ebx
call fcn.1012dcf0
jmp 0x10152b60
cmp dword [0x1038a150], 0
je 0x10152b8d
push esi
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
movq xmm2, qword [esp + 0x150]
movq xmm0, qword [esp + 0x160]
movq xmm1, qword [esp + 0x158]
movq qword [0x1038a140], xmm2
movq qword [0x1038a150], xmm0
movq qword [0x1038a148], xmm1
mov esi, dword [0x1038a140]
mov edi, dword [0x1038a148]
test edi, edi
je 0x10153a22
mov eax, dword [esp + 0xb8]
mov edx, edi
xor ecx, ecx
mov ebx, esi
mov dword [esp + 4], esi
mov dword [esp + 0x18], edi
shl edx, 5
add edx, esi
sub eax, 1
cmovb eax, ecx
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
add ebx, 0x20
mov dword [esp + 0x1c], ecx
shl esi, 3
mov dword [esp], eax
nop dword [eax]
test esi, esi
je 0x10152c40
mov ecx, edi
add esi, 0xfffffff8
add edi, 8
mov eax, dword [ecx]
add eax, dword [esp]
cmp eax, dword [esp + 0x10]
ja 0x10152c10
add eax, dword [ecx + 4]
cmp eax, dword [esp + 0x10]
jbe 0x10152c10
jmp 0x10152c4e
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ebx, edx
jne 0x10152bf8
jmp 0x10153a22
mov eax, dword [0x1038a154]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
test eax, eax
mov dword [esp + 8], eax
je 0x10152c94
mov eax, dword [0x1038a14c]
imul ebx, dword [esp + 8], 0x148
xor ecx, ecx
xor esi, esi
nop word cs:[eax + eax]
nop
cmp dword [eax + esi], edx
je 0x10152daf
add esi, 0x148
dec ecx
cmp ebx, esi
jne 0x10152c80
cmp edi, edx
jbe 0x10153c69
mov esi, dword [esp + 4]
mov eax, edx
shl eax, 5
mov edx, dword [esi + eax + 0x10]
lea ecx, [esp + 0x2b8]
push dword [esi + eax + 0x18]
call fcn.10167760
add esp, 4
cmp dword [esp + 0x2b8], 0
je 0x10153a22
mov ebx, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2c0]
mov eax, dword [esp + 0x2bc]
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
cmp ebx, 0x40
mov edi, edx
mov dword [esp + 0x18], eax
cmovae ecx, edx
jb 0x10152d92
movzx eax, word [ecx]
cmp eax, 0x5a4d
jne 0x10152d92
mov ecx, dword [ecx + 0x3c]
mov eax, ebx
sub eax, ecx
jb 0x10152d92
cmp eax, 0x78
jb 0x10152d92
mov edx, ecx
add edx, 0x78
setb byte [esp + 8]
cmp dword [edi + ecx], 0x4550
jne 0x10152d92
movzx eax, word [edi + ecx + 0x18]
cmp eax, 0x10b
jne 0x10152d92
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 0x10152d92
cmp ecx, 0xffffff87
jbe 0x10153b01
lea ecx, [esp + 0x50]
call fcn.1012df00
push edi
call sub.KERNEL32.dll_UnmapViewOfFile
push dword [esp + 0x18]
call sub.KERNEL32.dll_CloseHandle
jmp 0x10153a22
test ecx, ecx
je 0x10152e53
lea ecx, [eax + esi]
mov edi, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x3d0]
push 0x148
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
sub ebx, esi
lea eax, [edi + esi + 0x148]
add ebx, 0xfffffeb8
push ebx
mov ebx, edi
push eax
push dword [esp + 0x24]
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [esp + 8]
lea esi, [eax - 1]
mov dword [0x1038a154], esi
cmp esi, dword [0x1038a150]
jne 0x10152e17
mov ecx, esi
call fcn.10134270
mov ebx, dword [0x1038a14c]
test esi, esi
je 0x10152e32
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 + 0x3d4]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 8]
mov dword [0x1038a154], eax
jmp 0x10152e55
mov ebx, eax
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edi, dword [ebx + 0x104]
mov dword [esp + 0x38], ebx
sub eax, dword [esp]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x108]
sete cl
mov dword [esp + 0x18], ecx
test eax, eax
mov dword [esp + 0xc], eax
je 0x10152f0c
xor ebx, ebx
mov ecx, eax
mov dword [esp + 4], eax
mov dword [esp + 8], edi
jmp 0x10152eaf
mov edi, dword [esp + 8]
mov ebx, dword [esp]
mov dword [esp + 4], ecx
sub ecx, ebx
jbe 0x10152f0e
shr ecx, 1
mov dword [esp], ebx
add ecx, ebx
mov edx, ecx
shl edx, 5
mov eax, dword [edi + edx + 4]
mov ebx, dword [edi + edx]
xor edx, edx
mov esi, eax
mov edi, ebx
xor esi, dword [esp + 0x18]
xor edi, dword [esp + 0x1c]
or edi, esi
mov esi, 0
setne dl
cmp dword [esp + 0x10], ebx
sbb esi, eax
mov esi, 0xff
cmovae edx, esi
cmp dl, 1
je 0x10152ea0
inc ecx
movzx eax, dl
mov ebx, ecx
cmp eax, 0xff
jne 0x101535b6
mov ecx, dword [esp + 4]
mov edi, dword [esp + 8]
sub ecx, ebx
ja 0x10152eaf
jmp 0x10152f0e
xor ebx, ebx
mov eax, dword [esp + 0xc]
cmp ebx, eax
ja 0x101535c6
mov esi, dword [esp + 0x38]
shl ebx, 5
lea ecx, [edi + ebx]
lea eax, [esi + 0x100]
mov dword [esp], eax
nop dword [eax]
mov edx, dword [esp + 0x10]
test ebx, ebx
je 0x1015301f
cmp edx, dword [ecx - 0x10]
mov eax, ecx
mov ecx, 0
sbb ecx, dword [eax - 0xc]
jae 0x1015301f
add ebx, 0xffffffe0
cmp edx, dword [eax - 0x18]
mov edx, 0
lea ecx, [eax - 0x20]
sbb edx, dword [eax - 0x14]
jae 0x10152f30
mov edx, dword [esp + 0x10]
cmp edx, dword [eax - 0x20]
mov edx, 0
sbb edx, dword [eax - 0x1c]
jb 0x10152f30
mov eax, dword [edi + ebx + 0x18]
mov ecx, dword [esi + 0x110]
cmp eax, ecx
jae 0x10153c7a
mov edx, esi
imul esi, eax, 0x150
add ebx, edi
add esi, dword [edx + 0x10c]
lea ecx, [esp + 0x3d0]
mov edx, esi
push dword [esp]
call fcn.1013fbb0
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 4], esi
mov eax, dword [esp + 0x10]
mov esi, dword [esp]
cmp dword [esp + 0x3d0], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], esi
je 0x101535d7
movsd xmm0, qword [esp + 0x3d8]
movq xmm1, qword [esp + 0x3e0]
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.10140060
add esp, 4
mov dword [esp + 0x74], 0
jmp 0x10153681
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x17c]
mov ebx, dword [esp + 0x184]
mov edx, dword [esp + 0x180]
mov edi, 3
movsd xmm1, qword [esp + 0x130]
movq xmm0, qword [esp + 0x128]
movq xmm2, qword [esp + 0x118]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], ecx
movsd qword [esp + 0x16c], xmm1
movq xmm1, qword [esp + 0x120]
movq qword [esp + 0x164], xmm0
movq qword [esp + 0x154], xmm2
movq qword [esp + 0x15c], xmm1
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], ecx
mov dword [esp + 0x17c], edx
mov dword [esp + 0x180], ebx
lea eax, [esi + 0xc8]
mov cl, 1
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x48], edx
lea edx, [eax + 0x10]
mov dword [esp + 0x2c], edx
lea edx, [eax + 0x108]
mov dword [esp + 0x44], edx
lea edx, [eax + 0x110]
add eax, 0x10c
mov dword [esp + 0x108], edx
mov edx, ebx
mov ebx, edi
mov dword [esp + 0x104], eax
nop word cs:[eax + eax]
nop
add ebx, 0xfffffffd
mov eax, 2
cmp ebx, 2
cmovb eax, ebx
cmp eax, 1
je 0x10153260
cmp eax, 2
jne 0x10153583
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x15c]
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x154]
mov esi, dword [esp + 0x158]
cmp edx, dword [esp + 0x28]
mov edi, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x150], 2
mov dword [esp + 0x18], eax
mov dword [esp + 8], esi
mov dword [esp + 0x70], edi
movq qword [esp + 0x68], xmm0
je 0x1015339b
lea eax, [edx - 4]
xor ebx, ebx
mov dword [esp + 4], 0
mov dword [esp + 0x180], eax
mov dword [esp], eax
mov esi, dword [edx - 4]
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
mov ecx, dword [esi]
test eax, eax
mov dword [esp + 0x4c], eax
setne byte [esp + 0x40]
test edi, edi
setne byte [esp + 0x34]
or ecx, dword [esi + 4]
je 0x101531d6
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
jne 0x1015346e
movzx eax, byte [esp + 0x40]
movzx edx, byte [esp + 0x34]
mov bl, al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], eax
xor eax, eax
mov al, dl
mov edx, dword [esp + 4]
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], edi
mov dword [esp + 0x160], edx
mov dword [esp + 0x164], ecx
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10153438
mov esi, 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 + 0x2c0], eax
movq qword [esp + 0x2b8], xmm0
jmp 0x10153324
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x154]
mov esi, dword [esp + 0x158]
mov edi, dword [esp + 0x15c]
cmp ebx, 2
mov ecx, 0
mov dword [esp + 0x154], 2
cmovae edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 8], edi
jb 0x101532bc
mov esi, dword [esp + 0x30]
test esi, esi
je 0x101532bc
push dword [esp + 0x24]
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
mov edx, esi
mov dword [esp + 0x150], 3
lea ecx, [esp + 0x15c]
mov dword [esp + 0xc], edx
mov ebx, 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 + 0x2c0], edx
movq qword [esp + 0x2b8], xmm0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 0
call fcn.10167e70
add esp, 4
mov ecx, dword [esp + 4]
mov edi, eax
mov esi, edx
mov dword [esp], ecx
mov eax, dword [esp + 0x2c0]
lea ecx, [esp + 0x3dc]
movq xmm0, qword [esp + 0x2b8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x1c]
movq qword [ecx], xmm0
mov dword [esp + 0x3d0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x3d8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3d4], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3e8], eax
mov dword [esp + 0x3ec], edi
mov dword [esp + 0x3f0], esi
lea ecx, [esp + 0x2a0]
lea edx, [esp + 0x3d0]
call fcn.10154200
mov edx, dword [esp]
xor ecx, ecx
mov edi, ebx
jmp 0x10153120
mov eax, dword [esp + 0x48]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x101534f0
mov ecx, dword [esp + 0xb0]
mov esi, dword [eax + 0x18]
movzx edx, word [ecx + 0x148]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
test ecx, ecx
je 0x101533d9
push eax
push 0
push dword [0x1038a110]
mov ebx, edx
call sub.KERNEL32.dll_HeapFree
mov edx, ebx
mov dword [esp + 0x150], 3
lea ecx, [esp + 0x15c]
cmp dx, 2
movsd xmm0, qword [ecx]
mov ebx, dword [ecx + 8]
mov eax, dword [ecx + 8]
movsd qword [esp + 0xc0], xmm0
movq xmm0, qword [ecx]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c0], ebx
mov ebx, 3
mov dword [esp + 0xc8], eax
movq qword [esp + 0x2b8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], ecx
je 0x10153307
jmp 0x10153324
mov eax, dword [esp + 0x70]
movq xmm0, qword [esp + 0x68]
mov ecx, dword [esp]
mov dword [esp + 0xc8], eax
movq qword [esp + 0xc0], xmm0
mov dword [esp + 0x2c0], eax
movq qword [esp + 0x2b8], xmm0
mov dword [esp + 4], ecx
jmp 0x10153307
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [ecx]
mov dword [esp + 0xb4], eax
cmp ecx, 2
jne 0x1015351b
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x3d0]
call fcn.1013eef0
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x2b8]
push dword [esp + 0x100]
lea eax, [esp + 0x3d4]
push eax
call fcn.10143aa0
add esp, 8
mov eax, dword [esp + 0x44]
cmp dword [eax], 2
jne 0x10153509
movsd xmm0, qword [esp + 0x2b8]
movq xmm1, qword [esp + 0x2c0]
movsd qword [eax], xmm0
movq xmm0, qword [esp + 0x2c8]
movq qword [eax + 8], xmm1
movq qword [eax + 0x10], xmm0
jmp 0x10153519
mov dx, 2
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
test ecx, ecx
jne 0x101533c7
jmp 0x101533d9
lea ecx, [esp + 0x2b8]
call fcn.1012e180
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [esp + 0x108]
test ecx, ecx
mov edx, 1
cmovne ecx, edx
cmove eax, dword [esp + 0x104]
test ecx, ecx
je 0x10153554
cmp byte [eax], 0x4b
mov ecx, dword [esp + 0xb4]
jne 0x10153aed
mov eax, dword [eax + 4]
test eax, eax
jne 0x10153563
jmp 0x101531d6
mov ecx, dword [esp + 0xb4]
test eax, eax
je 0x101531d6
cmp dword [eax + 4], ecx
mov edx, ecx
jbe 0x101531d6
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 + 4], edx
jmp 0x101531d6
cmp ebx, 2
jb 0x101535a4
cmp dword [esp + 0x30], 0
je 0x101535a4
push dword [esp + 0x24]
push 0
push dword [0x1038a110]
mov esi, ecx
call sub.KERNEL32.dll_HeapFree
mov ecx, esi
test cl, 1
mov ecx, dword [esp + 0x38]
jne 0x101539d3
jmp 0x10153a22
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
cmp ebx, eax
jbe 0x10152f1a
push 0x1034a584
push eax
push ebx
call fcn.1002a190
add esp, 0xc
ud2
movsd xmm0, qword [esp + 0x3f8]
mov eax, dword [esp + 0x3dc]
movq xmm1, qword [esp + 0x50]
movq xmm2, qword [esp + 0x58]
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [esp + 0x3f0]
mov dword [esp + 0xd8], eax
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [esp + 0x3e8]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x3e0]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [esp + 0x3d4]
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 + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x414], esi
movd xmm0, eax
pshufd xmm0, xmm0, 0x44
movdqu xmmword [esp + 0x3d0], xmm0
mov dword [esp + 0x3e4], edx
mov dword [esp + 0x3e0], ecx
mov dword [esp + 0x3e8], esi
mov dword [esp + 0x3f0], edi
mov dword [esp + 0x3f4], ebx
mov dword [esp + 0x3fc], edx
mov dword [esp + 0x3f8], ecx
mov dword [esp + 0x400], eax
mov dword [esp + 0x404], 0
mov byte [esp + 0x408], 0
lea eax, [esp + 0x3d0]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x68]
push eax
call fcn.10143440
add esp, 4
cmp byte [esp + 0x1c8], 2
je 0x10153972
nop word cs:[eax + eax]
nop
mov eax, dword [esp + 0x188]
mov ecx, 0x13
lea edi, [esp + 0x2b8]
lea esi, [esp + 0x18c]
mov ebx, dword [esp + 0x180]
mov dword [esp], eax
lea eax, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
movsd xmm0, qword [esp + 0x168]
movsd xmm1, qword [esp + 0x158]
movsd qword [esp + 0x3e8], xmm0
movsd xmm0, qword [esp + 0x160]
movsd qword [esp + 0x3d8], xmm1
movq xmm1, qword [eax + 8]
movsd qword [esp + 0x3e0], xmm0
movsd xmm0, qword [esp + 0x150]
movq qword [esp + 0x298], xmm1
movsd qword [esp + 0x3d0], xmm0
movq xmm0, qword [eax]
mov eax, dword [esp + 0x3e8]
movq qword [esp + 0x290], xmm0
lock dec dword [eax]
jne 0x101537d8
lea ecx, [esp + 0x3e8]
call fcn.10133310
movzx eax, byte [ebx + 0x138]
cmp eax, 0x4b
je 0x10153800
cmp eax, 0x4c
jne 0x10153840
mov byte [ebx + 0x138], 0x4b
mov dword [ebx + 0x13c], 0
jmp 0x10153820
mov esi, dword [ebx + 0x13c]
test esi, esi
je 0x10153820
mov ecx, dword [esi]
add esi, 8
mov dl, 2
mov al, 0x4b
mov ebx, esi
mov dword [esp], edx
add ecx, 8
jmp 0x1015388a
mov eax, dword [esp]
mov dword [esp], 0
mov ecx, dword [eax]
mov al, 0x4b
add ecx, 8
jmp 0x1015388a
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], 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 + 0x3e8]
movq xmm1, qword [esp + 0x298]
movq xmm0, qword [esp + 0x290]
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 + 0x3d0], al
mov eax, dword [esp]
mov dword [esp + 0x3d4], ecx
mov byte [esp + 0x3d8], al
mov dword [esp + 0x3dc], ebx
lea edx, [esp + 0x68]
lea eax, [esp + 0x3d0]
lea ecx, [esp + 0xd0]
push eax
call fcn.10140060
add esp, 4
lea eax, [esp + 0x68]
mov dword [esp + 0xcc], 0
mov ecx, 0x12
lea esi, [esp + 0x2bc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x3d0]
push eax
call fcn.10143440
add esp, 4
push 0x88
lea eax, [esp + 0x3d4]
push eax
lea eax, [esp + 0x158]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x1c8], 2
jne 0x10153730
movsd xmm1, qword [esp + 0x160]
movq xmm0, qword [esp + 0x158]
movq xmm2, qword [esp + 0x168]
mov edi, dword [esp + 0x154]
cmp dword [esp + 0x150], 0
movsd qword [esp + 0x120], xmm1
movq xmm1, qword [esp + 0x170]
movq qword [esp + 0x118], xmm0
movq qword [esp + 0x128], xmm2
movq qword [esp + 0x130], xmm1
je 0x10153ac8
mov ecx, dword [esp + 0x38]
add ecx, 0xc8
mov edx, dword [esp + 0x10]
push 0
call fcn.10167e70
add esp, 4
test eax, eax
je 0x10153a22
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3d0], 3
mov dword [esp + 0x3d4], eax
mov dword [esp + 0x3d8], edx
mov dword [esp + 0x3dc], esi
lea ecx, [esp + 0x2a0]
lea edx, [esp + 0x3d0]
call fcn.10154200
cmp byte [esp + 0x23], 0
mov esi, dword [esp + 0x114]
jne 0x10153aae
mov eax, dword [esp + 0x110]
cmp byte [eax], 0
je 0x10153aae
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x3d0], 3
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], 0
sub esp, 0x20
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x3f0]
lea ecx, [esp + 0x170]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.10156be0
add esp, 0x20
mov ecx, dword [esp + 0xbc]
mov byte [ecx], al
mov eax, dword [esp + 0x150]
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 + 0x178]
mov ecx, dword [esp + 0x17c]
mov ebx, dword [esp + 0x184]
mov edx, dword [esp + 0x180]
mov esi, dword [esp + 0x38]
jmp 0x10153040
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x3c]
jne 0x1015358f
jmp 0x101535a4
test eax, eax
jne 0x10152d92
mov esi, ebx
sub esi, edx
jb 0x10152d92
cmp dword [esp + 4], esi
ja 0x10152d92
mov esi, dword [edi + ecx + 0x74]
cmp esi, 0x1fffffff
ja 0x10152d92
shl esi, 3
cmp esi, dword [esp + 4]
ja 0x10152d92
mov esi, eax
movzx eax, byte [esp + 8]
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 0x10152d92
mov eax, ebx
sub eax, dword [esp + 4]
jb 0x10152d92
movzx edx, word [edi + ecx + 6]
mov dword [esp + 8], edx
lea edx, [edx*8]
lea edx, [edx + edx*4]
cmp edx, eax
ja 0x10152d92
mov eax, edi
mov eax, dword [edi + ecx + 0xc]
add dword [esp + 4], edi
test eax, eax
mov dword [esp + 0xc], eax
je 0x10153c8b
mov eax, dword [edi + ecx + 0x10]
mov edx, 0x12
mov dword [esp + 0x28], eax
mul edx
jo 0x10152d92
mov edx, ebx
sub edx, dword [esp + 0xc]
jb 0x10152d92
cmp eax, edx
ja 0x10152d92
mov edx, dword [esp + 0xc]
mov esi, eax
add eax, edx
mov dword [esp + 0x14], eax
mov eax, ebx
sub eax, dword [esp + 0x14]
setb byte [esp + 0x14]
add esi, edx
setb dl
mov dword [esp + 0x34], esi
jb 0x10152d92
cmp byte [esp + 0x14], 0
jne 0x10152d92
cmp eax, 4
jb 0x10152d92
mov dword [esp + 0x14], edi
xor eax, eax
mov al, dl
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov esi, dword [esi + edx]
add esi, edx
adc eax, 0
cmp dword [esp + 0x28], 0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx + 0x34]
mov dword [esp + 0x68], 4
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x48], eax
je 0x10153ff9
add dword [esp + 0xc], edi
xor edx, edx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x14], 0
jmp 0x10153f45
push 0x1034cc14
push edi
push edx
call fcn.10026930
add esp, 0xc
ud2
push 0x1034a594
push ecx
push eax
call fcn.10026930
add esp, 0xc
ud2
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 + 0x24], 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 0x10153ce6
bsr ecx, edx
xor ecx, 0x1f
sub eax, ecx
mov ecx, esi
push eax
push 0
call fcn.1012f480
add esp, 8
mov eax, dword [esp + 0x70]
movq xmm0, qword [esp + 0x68]
mov dword [esp + 0xc0], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x148], eax
mov eax, dword [esp + 4]
movq qword [esp + 0x140], xmm0
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x68]
lea edx, [esp + 0x118]
lea esi, [esp + 0xc0]
lea ecx, [esp + 0x2b8]
push eax
push esi
call fcn.10163340
add esp, 8
movzx eax, byte [esp + 0x2b8]
cmp al, 0x17
mov byte [esp + 8], al
je 0x10152d92
lea eax, [esp + 0x2b9]
lea esi, [esp + 0x3d0]
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 + 0x151]
movsd qword [esp + 0x4ef], xmm1
movq xmm1, qword [esp + 0x60]
movq qword [esp + 0x4e7], xmm0
movq qword [esp + 0x4f7], xmm1
push 0x12f
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x150], al
mov dword [esp + 0x280], ecx
mov dword [esp + 0x284], edi
mov edi, dword [0x1038a154]
mov dword [esp + 0x288], ebx
cmp edi, 4
jne 0x10153e8a
mov dword [0x1038a154], 3
mov eax, 0x3d8
add eax, dword [0x1038a14c]
push 0x148
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x3d8], 0x17
je 0x10153e85
lea ecx, [esp + 0x3d8]
call fcn.1012dcf0
mov edi, 3
lea eax, [esp + 0x3d8]
lea ecx, [esp + 0x150]
push 0x140
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp edi, dword [0x1038a150]
mov dword [esp + 0x3d0], eax
jne 0x10153ec1
mov ecx, edi
call fcn.10134270
mov ebx, dword [0x1038a14c]
test edi, edi
je 0x10153fc4
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 [0x1038a154], edi
jne 0x10152e55
push 0x1034cc24
push 0
push 0
call fcn.10026930
add esp, 0xc
ud2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [eax + edx*8], esi
mov dword [eax + edx*8 + 4], ecx
inc edx
mov dword [esp + 0x70], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
lea ecx, [ecx + eax + 1]
cmp ecx, dword [esp + 0x28]
mov eax, ecx
mov dword [esp + 0x14], ecx
jae 0x10153ff3
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0xc]
movzx esi, byte [eax + ecx*2 + 0x11]
mov dword [esp + 0x4c], esi
movzx esi, word [eax + ecx*2 + 0xe]
and esi, 0x30
cmp si, 0x20
jne 0x10153f29
mov eax, dword [esp + 0xc]
movzx esi, word [eax + ecx*2 + 0xc]
test si, si
je 0x10153f29
movzx esi, si
dec esi
cmp esi, dword [esp + 8]
jae 0x1015401b
mov eax, dword [esp + 0xc]
lea eax, [eax + ecx*2]
lea ecx, [esi + esi*4]
mov esi, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 4]
add esi, dword [esp + 0x48]
add esi, dword [eax + ecx*8 + 0xc]
cmp edx, dword [esp + 0x6c]
jne 0x10153f15
lea ecx, [esp + 0x68]
call fcn.10133670
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
jmp 0x10153f15
push 0x148
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [0x1038a154], 1
jmp 0x10152e55
push 0x520
push 8
call fcn.1001a7e0
add esp, 8
ud2
mov esi, dword [esp + 0x68]
jmp 0x10154000
mov esi, 4
xor edx, edx
mov dword [esp + 0xc], edi
mov eax, 0x20
test edx, edx
mov ecx, 0x20
jne 0x10153ce0
jmp 0x10153ce6
cmp dword [esp + 0x6c], 0
je 0x10152d92
push dword [esp + 0x68]
push 0
push dword [0x1038a110]
call sub.KERNEL32.dll_HeapFree
jmp 0x10152d92
push 8
push 4
call fcn.1001a7e0
add esp, 8
ud2