Function at 0x10031f60
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 0x10031f87
mov edx, dword [ecx + 4]
cmp dword [edx], 0x64
jbe 0x10031f87
xor eax, eax
jmp 0x100333e7
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 [0x104f8088]
mov dword [esp + 0x110], edx
test esi, esi
je 0x1003200b
mov ebx, dword [0x104f8090]
test ebx, ebx
jne 0x10032524
jmp 0x10033342
movzx eax, byte [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
jne 0x1003202d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x100338fa
mov dword [0x104f8080], eax
push 0x520
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x100338fa
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 0x100323cf
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 0x100323c9
mov esi, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
jmp 0x10032107
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 8]
nop dword [eax + eax]
lea eax, [esp + 0x3d8]
push eax
push ebx
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x100323c9
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 0x10032136
inc esi
add eax, 0xfffffffe
jne 0x10032120
mov esi, 0x104
lea edx, [esp + 0x5f8]
lea ecx, [esp + 0x68]
push esi
call fcn.10012f80
add esp, 4
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edx, edi
lea ecx, [esp + 0x2c0]
push esi
call fcn.10014120
add esp, 4
cmp dword [esp + 0x2c0], 0
je 0x100321e3
mov ecx, dword [esp + 0x2cc]
mov eax, dword [esp + 0x2c4]
mov ebx, dword [esp + 0x2c8]
cmp ecx, 0x40
mov dword [esp + 0x18], eax
jb 0x100321d0
test ebx, ebx
je 0x100321d0
movzx eax, word [ebx]
cmp eax, 0x5a4d
jne 0x100321d0
mov eax, dword [ebx + 0x3c]
mov edx, ecx
sub edx, eax
jb 0x100321d0
cmp edx, 0x78
jb 0x100321d0
cmp dword [ebx + eax], 0x4550
jne 0x100321d0
movzx edx, word [ebx + eax + 0x18]
cmp edx, 0x10b
jne 0x100321d0
movzx edx, word [ebx + eax + 0x14]
cmp dx, 0x60
jb 0x100321d0
cmp eax, 0xffffff87
jbe 0x10032205
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 0x100320f0
push edi
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
jmp 0x100320f0
movzx edx, dx
add edx, 0xffffffa0
mov dword [esp + 4], edx
mov edx, 0
adc edx, 0xffffffff
jne 0x100321d0
lea edx, [eax + 0x78]
sub ecx, edx
jb 0x100321d0
cmp dword [esp + 4], ecx
ja 0x100321d0
mov ecx, dword [ebx + eax + 0x74]
cmp ecx, 0x1fffffff
ja 0x100321d0
shl ecx, 3
cmp ecx, dword [esp + 4]
ja 0x100321d0
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 [0x104f8048]
mov ecx, 8
mov edx, 4
call fcn.10002910
test eax, eax
je 0x10033954
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 0x100320e0
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 0x10032374
lea ecx, [esp + 0xc0]
call fcn.10014880
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xc8]
jmp 0x10032378
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 0x100320f0
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 [0x104f8088]
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 0x100324dd
mov edi, dword [0x104f8090]
test edi, edi
je 0x10032483
lea ebx, [esi + 0x14]
jmp 0x10032456
add ebx, 0x20
dec edi
je 0x10032483
cmp dword [ebx], 0
je 0x1003246b
push dword [ebx - 4]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebx - 0xc], 0
je 0x10032450
push dword [ebx - 0x10]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
jmp 0x10032450
cmp dword [0x104f808c], 0
je 0x1003249a
push esi
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [0x104f809c]
mov esi, dword [0x104f8094]
inc ebx
mov edi, esi
nop dword [eax]
cmp ebx, 1
je 0x100324c6
lea ecx, [edi + 8]
add edi, 0x148
dec ebx
call fcn.10014a80
jmp 0x100324b0
cmp dword [0x104f8098], 0
je 0x100324dd
push esi
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
movq xmm2, qword [esp + 0x158]
movq xmm0, qword [esp + 0x168]
movq xmm1, qword [esp + 0x160]
movq qword [0x104f8088], xmm2
movq qword [0x104f8098], xmm0
movq qword [0x104f8090], xmm1
mov esi, dword [0x104f8088]
mov ebx, dword [0x104f8090]
test ebx, ebx
je 0x10033342
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 0x10032590
mov ebx, eax
add esi, 0xfffffff8
add eax, 8
mov ecx, dword [ebx]
add ecx, dword [esp + 8]
cmp ecx, dword [esp]
ja 0x10032560
add ecx, dword [ebx + 4]
cmp ecx, dword [esp]
jbe 0x10032560
jmp 0x1003259d
inc dword [esp + 0x18]
cmp edi, edx
jne 0x1003254b
jmp 0x10033342
mov eax, dword [0x104f809c]
mov ecx, dword [esp + 0x18]
test eax, eax
mov dword [esp + 0x14], eax
je 0x100325d4
mov ebx, dword [0x104f8094]
imul edi, dword [esp + 0x14], 0x148
xor eax, eax
xor esi, esi
cmp dword [ebx + esi], ecx
je 0x100326f4
add esi, 0x148
dec eax
cmp edi, esi
jne 0x100325c0
mov edx, dword [esp + 0x10]
cmp edx, ecx
jbe 0x10033585
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.10014120
add esp, 4
cmp dword [esp + 0x2c0], 0
je 0x10033342
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 0x100326d7
movzx edx, word [ecx]
mov ebx, eax
cmp edx, 0x5a4d
jne 0x100326d7
mov ecx, dword [ecx + 0x3c]
mov eax, ebx
sub eax, ecx
jb 0x100326d7
cmp eax, 0x78
jb 0x100326d7
mov edx, ecx
add edx, 0x78
setb byte [esp + 0x10]
cmp dword [edi + ecx], 0x4550
jne 0x100326d7
movzx eax, word [edi + ecx + 0x18]
cmp eax, 0x10b
jne 0x100326d7
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 0x100326d7
cmp ecx, 0xffffff87
jbe 0x10033424
lea ecx, [esp + 0x50]
call fcn.10014b50
push edi
call sub.KERNEL32.dll_UnmapViewOfFile
push dword [esp + 0x14]
call sub.KERNEL32.dll_CloseHandle
jmp 0x10033342
test eax, eax
je 0x1003279a
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 [0x104f809c], esi
cmp esi, dword [0x104f8098]
jne 0x10032760
mov ecx, esi
call fcn.10019890
mov ebx, dword [0x104f8094]
test esi, esi
je 0x1003277b
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 [0x104f809c], 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 0x1003284e
xor ebx, ebx
mov eax, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], edi
jmp 0x100327f0
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov dword [esp + 4], eax
sub eax, ebx
jbe 0x10032850
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 0x100327e0
movzx ecx, bl
inc eax
mov ebx, eax
cmp ecx, 0xff
jne 0x10032ee1
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x10]
sub eax, ebx
ja 0x100327f0
jmp 0x10032850
xor ebx, ebx
mov edx, dword [esp + 0xc]
cmp ebx, edx
ja 0x10032ef1
mov esi, dword [esp + 0x2c]
shl ebx, 5
lea ecx, [edi + ebx]
lea eax, [esi + 0x100]
mov dword [esp + 8], eax
mov edx, dword [esp]
test ebx, ebx
je 0x1003295e
cmp edx, dword [ecx - 0x10]
mov eax, ecx
mov ecx, 0
sbb ecx, dword [eax - 0xc]
jae 0x1003295e
add ebx, 0xffffffe0
cmp edx, dword [eax - 0x18]
mov edx, 0
lea ecx, [eax - 0x20]
sbb edx, dword [eax - 0x14]
jae 0x10032870
mov edx, dword [esp]
cmp edx, dword [eax - 0x20]
mov edx, 0
sbb edx, dword [eax - 0x1c]
jb 0x10032870
mov ecx, dword [edi + ebx + 0x18]
mov edx, dword [esi + 0x110]
cmp ecx, edx
jae 0x10033594
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.10019940
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 0x10032f02
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.10019df0
add esp, 4
mov dword [esp + 0x74], 0
jmp 0x10032fac
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 0x10032ba0
cmp eax, 2
jne 0x10032eb2
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 0x10032cdf
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 0x10032b17
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
jne 0x10032da2
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 0x10032d78
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 0x10032c64
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 0x10032c01
cmp dword [esp + 0x24], 0
je 0x10032c01
push dword [esp + 0x30]
push 0
push dword [0x104f8080]
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.10020a20
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.10033b20
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
xor ebx, ebx
mov edi, edx
jmp 0x10032a60
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x10032e24
mov ecx, dword [esp + 0xb4]
mov edi, dword [eax + 0x18]
movzx esi, word [ecx + 0x148]
cmp dword [esp + 0xc], 0
je 0x10032d17
push dword [esp + 0x30]
push 0
push dword [0x104f8080]
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 0x10032c4b
jmp 0x10032c64
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 0x10032c42
mov ecx, dword [esp + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [ecx]
mov dword [esp + 0xb8], eax
cmp ecx, 2
jne 0x10032e4a
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x3d8]
call fcn.1001d8d0
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x2c0]
push dword [esp + 0x104]
lea eax, [esp + 0x3dc]
push eax
call fcn.1001dd60
add esp, 8
mov eax, dword [esp + 0x44]
cmp dword [eax], 2
jne 0x10032e38
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 0x10032e48
mov si, 2
cmp dword [esp + 0xc], 0
jne 0x10032d06
jmp 0x10032d17
lea ecx, [esp + 0x2c0]
call fcn.10020950
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 0x10032e83
cmp byte [eax], 0x4b
mov ecx, dword [esp + 0xb8]
jne 0x10033410
mov eax, dword [eax + 4]
test eax, eax
jne 0x10032e92
jmp 0x10032b17
mov ecx, dword [esp + 0xb8]
test eax, eax
je 0x10032b17
cmp dword [eax + 4], ecx
mov edx, ecx
jbe 0x10032b17
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 0x10032b17
cmp edx, 2
jb 0x10032ecf
cmp dword [esp + 0x24], 0
je 0x10032ecf
push dword [esp + 0x30]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [esp + 0x2c]
test bl, 1
jne 0x100332f5
jmp 0x10033342
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
cmp ebx, edx
jbe 0x1003285c
mov ecx, ebx
push 0x104eea1c
call fcn.10003920
add esp, 4
ud2
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.1001d230
add esp, 4
cmp byte [esp + 0x1d0], 2
je 0x10033294
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 0x100330f9
lea ecx, [esp + 0x3f0]
call fcn.1001d830
movzx eax, byte [ebx + 0x138]
cmp eax, 0x4b
je 0x10033120
cmp eax, 0x4c
jne 0x10033160
mov byte [ebx + 0x138], 0x4b
mov dword [ebx + 0x13c], 0
jmp 0x10033140
mov esi, dword [ebx + 0x13c]
test esi, esi
je 0x10033140
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 0x100331ab
mov eax, dword [esp + 8]
mov dword [esp + 8], 0
mov ecx, dword [eax]
mov al, 0x4b
add ecx, 8
jmp 0x100331ab
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.10019df0
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.1001d230
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 0x10033050
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 0x100333ef
mov ecx, dword [esp + 0x2c]
add ecx, 0xc8
mov edx, dword [esp]
push 0
call fcn.10020a20
add esp, 4
test eax, eax
je 0x10033342
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.10033b20
cmp byte [esp + 0x23], 0
mov esi, dword [esp + 0x11c]
jne 0x100333d5
mov eax, dword [esp + 0x118]
cmp byte [eax], 0
je 0x100333d5
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.1002ff70
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 0x1003297f
cmp dword [esp + 0x24], 0
mov ebx, dword [esp + 0x4c]
jne 0x10032ebe
jmp 0x10032ecf
test eax, eax
jne 0x100326d7
mov esi, ebx
sub esi, edx
jb 0x100326d7
cmp dword [esp + 4], esi
ja 0x100326d7
mov esi, dword [edi + ecx + 0x74]
cmp esi, 0x1fffffff
ja 0x100326d7
shl esi, 3
cmp esi, dword [esp + 4]
ja 0x100326d7
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 0x100326d7
mov eax, ebx
sub eax, dword [esp + 4]
jb 0x100326d7
movzx edx, word [edi + ecx + 6]
mov dword [esp + 0x10], edx
lea edx, [edx*8]
lea edx, [edx + edx*4]
cmp edx, eax
ja 0x100326d7
mov eax, dword [edi + ecx + 0xc]
add dword [esp + 4], edi
test eax, eax
mov dword [esp + 0xc], eax
je 0x100335a3
mov eax, dword [edi + ecx + 0x10]
mov edx, 0x12
mov dword [esp + 0x28], eax
mul edx
jo 0x100326d7
mov edx, ebx
sub edx, dword [esp + 0xc]
jb 0x100326d7
cmp eax, edx
ja 0x100326d7
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 0x100326d7
cmp byte [esp + 0x1c], 0
jne 0x100326d7
cmp eax, 4
jb 0x100326d7
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 0x10033911
add dword [esp + 0xc], edi
xor edx, edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x1c], 0
jmp 0x1003385d
push 0x104ef8c0
call fcn.10003270
add esp, 4
ud2
push 0x104eea2c
call fcn.10003270
add esp, 4
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 + 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 0x100335fe
bsr ecx, edx
xor ecx, 0x1f
sub eax, ecx
mov ecx, esi
push eax
push 0
call fcn.10014c00
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.10015600
add esp, 8
movzx eax, byte [esp + 0x2c0]
cmp al, 0x17
mov byte [esp + 0x10], al
je 0x100326d7
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 [0x104f809c]
mov dword [esp + 0x290], ebx
cmp edi, 4
jne 0x100337a2
mov dword [0x104f809c], 3
mov eax, 0x3d8
add eax, dword [0x104f8094]
push 0x148
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x3e0], 0x17
je 0x1003379d
lea ecx, [esp + 0x3e0]
call fcn.10014a80
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 [0x104f8098]
mov dword [esp + 0x3d8], eax
jne 0x100337d9
mov ecx, edi
call fcn.10019890
mov ebx, dword [0x104f8094]
test edi, edi
je 0x100338dc
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 [0x104f809c], edi
jne 0x1003279a
xor ecx, ecx
xor edx, edx
push 0x104ef8d0
call fcn.10003270
add esp, 4
ud2
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 0x1003390b
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 0x10033841
mov eax, dword [esp + 0xc]
movzx esi, word [eax + ecx*2 + 0xc]
test si, si
je 0x10033841
movzx esi, si
dec esi
cmp esi, dword [esp + 0x10]
jae 0x10033933
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 0x1003382d
lea ecx, [esp + 0x68]
call fcn.10015560
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x38], eax
jmp 0x1003382d
push 0x148
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [0x104f809c], 1
jmp 0x1003279a
mov ecx, 8
mov edx, 0x520
call fcn.10002cd0
ud2
mov esi, dword [esp + 0x68]
jmp 0x10033918
mov esi, 4
xor edx, edx
mov dword [esp + 0xc], edi
mov eax, 0x20
test edx, edx
mov ecx, 0x20
jne 0x100335f8
jmp 0x100335fe
cmp dword [esp + 0x6c], 0
je 0x100326d7
push dword [esp + 0x68]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
jmp 0x100326d7
mov ecx, 4
mov edx, 8
call fcn.10002cd0
ud2