Function at 0x5241f0
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, 0x8f8
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], edx
lea ecx, [eax - 1]
test eax, eax
cmove ecx, eax
cmp dword [0x592070], 0x80000000
mov dword [esp + 0x10], ecx
jne 0x5246b5
movzx eax, byte [0x706188]
mov ecx, 0x520
mov edx, 8
call fcn.00425680
test eax, eax
je 0x525c41
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x250], 0
push 0
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x5245ab
mov esi, eax
lea eax, [esp + 0x4cc]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x4c8], 0x428
lea eax, [esp + 0x4c8]
push eax
push esi
call sub.KERNEL32.DLL_Module32FirstW
cmp eax, 1
jne 0x5245a5
xor edi, edi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x14], esi
jmp 0x524347
mov ecx, dword [esp + 0x24c]
mov edi, dword [esp + 0x250]
mov edx, dword [esp + 4]
mov eax, edi
mov esi, dword [esp + 0xc]
inc edi
mov dword [esp + 0x1c], ecx
shl eax, 5
mov dword [ecx + eax], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + eax + 4], ebx
sub esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [ecx + eax + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax + 8], edx
mov dword [ecx + eax + 0x10], 1
mov dword [ecx + eax + 0x14], ebx
mov dword [ecx + eax + 0x18], 1
mov dword [ecx + eax + 0x1c], esi
mov dword [esp + 0x250], edi
mov esi, dword [esp + 0x14]
nop word [eax + eax]
lea eax, [esp + 0x4c8]
push eax
push esi
call sub.KERNEL32.DLL_Module32NextW
cmp eax, 1
jne 0x5245a5
mov ecx, 0x208
xor eax, eax
nop
cmp word [esp + eax*2 + 0x6e8], 0
je 0x524366
inc eax
add ecx, 0xfffffffe
jne 0x524350
mov eax, 0x104
lea edx, [esp + 0x6e8]
lea ecx, [esp + 0x350]
push eax
call fcn.00522900
add esp, 4
mov ebx, dword [esp + 0x354]
mov edx, ebx
lea ecx, [esp + 0x100]
push dword [esp + 0x358]
call fcn.00525f10
add esp, 4
cmp dword [esp + 0x100], 0
je 0x524586
mov eax, dword [esp + 0x104]
mov esi, dword [esp + 0x10c]
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x20], eax
mov edx, esi
mov dword [esp + 8], ecx
push 0
push 0x40
push 0
push 0
call fcn.00481800
add esp, 0x10
test eax, eax
je 0x524570
cmp edx, 0x40
jb 0x524570
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x524570
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 8]
mov edx, esi
push 0
push 0x78
push 0
mov dword [esp + 0x10], eax
push eax
call fcn.00481800
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], eax
je 0x524570
xor eax, eax
add dword [esp + 4], 0x78
setb cl
cmp edx, 0x78
jb 0x524570
mov edx, dword [esp + 0xc]
cmp dword [edx], 0x4550
jne 0x524570
mov edx, dword [esp + 0xc]
movzx edx, word [edx + 0x18]
cmp edx, 0x10b
jne 0x524570
mov edx, dword [esp + 0xc]
movzx edx, word [edx + 0x14]
cmp dx, 0x60
jb 0x524570
mov al, cl
movzx ecx, dx
add ecx, 0xffffffa0
mov dword [esp + 0x2c], ecx
mov ecx, 0
adc ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 8]
mov edx, esi
push dword [esp + 0x38]
push dword [esp + 0x30]
push eax
push dword [esp + 0x10]
call fcn.00481800
add esp, 0x10
test eax, eax
je 0x524570
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x74]
cmp eax, 0x1fffffff
ja 0x524570
shl eax, 3
cmp eax, edx
ja 0x524570
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x34]
mov eax, dword [esp + 0x4dc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x358]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x35c]
mov dword [esp + 0x38], eax
movzx eax, byte [0x706188]
mov ecx, 8
mov edx, 4
call fcn.00425680
test eax, eax
je 0x525c5a
mov ecx, dword [esp + 0x4e0]
mov dword [eax], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
mov dword [eax + 4], ecx
push dword [esp + 8]
call sub.KERNEL32.DLL_UnmapViewOfFile
push dword [esp + 0x20]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esp + 4]
cmp eax, 0x80000000
je 0x524323
cmp edi, dword [esp + 0x248]
mov ecx, dword [esp + 0x1c]
jne 0x5242d3
lea ecx, [esp + 0x248]
mov edx, edi
call fcn.00526160
jmp 0x5242c5
push dword [esp + 8]
call sub.KERNEL32.DLL_UnmapViewOfFile
push dword [esp + 0x20]
call sub.KERNEL32.DLL_CloseHandle
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x350], 0
je 0x524330
mov ecx, ebx
mov edx, 1
call fcn.004256e0
jmp 0x524330
push esi
call sub.KERNEL32.DLL_CloseHandle
mov edi, dword [0x592070]
mov eax, dword [esp + 0x250]
movsd xmm0, qword [esp + 0x248]
cmp edi, 0x80000000
mov dword [esp + 0x4d0], eax
movsd qword [esp + 0x4c8], xmm0
je 0x52467a
mov ebx, dword [0x592078]
mov eax, dword [0x592074]
test ebx, ebx
mov dword [esp + 8], eax
je 0x52462d
mov eax, dword [esp + 8]
lea esi, [eax + 0x14]
jmp 0x524606
add esi, 0x20
dec ebx
je 0x52462d
cmp dword [esi - 0x14], 0
je 0x524619
mov ecx, dword [esi - 0x10]
mov edx, 1
call fcn.004256e0
cmp dword [esi - 4], 0
je 0x524600
mov ecx, dword [esi]
mov edx, 4
call fcn.004256e0
jmp 0x524600
test edi, edi
je 0x52463f
mov ecx, dword [esp + 8]
mov edx, 4
call fcn.004256e0
mov ebx, dword [0x592084]
mov esi, dword [0x592080]
lea ecx, [esi + 8]
inc ebx
nop
cmp ebx, 1
je 0x524665
lea edi, [ecx + 0x148]
dec ebx
call fcn.00526200
mov ecx, edi
jmp 0x524650
cmp dword [0x59207c], 0
je 0x52467a
mov ecx, esi
mov edx, 8
call fcn.004256e0
mov eax, dword [esp + 0x4d0]
movq xmm0, qword [esp + 0x4c8]
mov ecx, dword [esp + 0x18]
mov dword [0x592078], eax
movq qword [0x592070], xmm0
mov dword [0x59207c], 4
mov dword [0x592080], ecx
mov dword [0x592084], 0
mov ecx, dword [0x592078]
test ecx, ecx
je 0x525939
mov edi, dword [0x592074]
mov edx, ecx
xor eax, eax
mov dword [esp + 0x14], ecx
shl edx, 5
add edx, edi
mov dword [esp + 4], edi
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov ebx, dword [edi + 0x14]
add edi, 0x20
mov dword [esp + 0x20], eax
shl esi, 3
mov dword [esp + 8], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
test esi, esi
je 0x524730
mov eax, ebx
add esi, 0xfffffff8
add ebx, 8
mov ecx, dword [eax]
add ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
ja 0x524700
add ecx, dword [eax + 4]
cmp ecx, dword [esp + 0x10]
jbe 0x524700
jmp 0x52473e
mov eax, dword [esp + 0x20]
inc eax
cmp edi, edx
jne 0x5246da
jmp 0x525939
mov esi, dword [0x592084]
mov ecx, dword [esp + 0x20]
test esi, esi
je 0x524774
mov ebx, dword [0x592080]
imul eax, esi, 0x148
xor edx, edx
xor edi, edi
nop dword [eax]
cmp dword [ebx + edx], ecx
je 0x524a54
add edx, 0x148
inc edi
cmp eax, edx
jne 0x524760
mov edx, dword [esp + 0x14]
cmp edx, ecx
jbe 0x5257c1
mov esi, dword [esp + 4]
mov eax, ecx
shl eax, 5
mov edx, dword [esi + eax + 4]
lea ecx, [esp + 0x4c8]
push dword [esi + eax + 8]
call fcn.00525f10
add esp, 4
cmp dword [esp + 0x4c8], 0
je 0x525939
mov ebx, dword [esp + 0x4cc]
mov esi, dword [esp + 0x4d0]
mov edx, dword [esp + 0x4d4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 4
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 4
mov dword [esp + 0x84], 0
mov ecx, esi
mov dword [esp + 0x14], edx
push 0
push 0x40
push 0
push 0
call fcn.00481800
add esp, 0x10
test eax, eax
je 0x525924
cmp edx, 0x40
jb 0x525924
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x525924
mov edi, dword [eax + 0x3c]
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push 0x78
push 0
push edi
call fcn.00481800
add esp, 0x10
test eax, eax
mov dword [esp + 4], eax
je 0x525924
add edi, 0x78
setb al
cmp edx, 0x78
jb 0x525924
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x4550
jne 0x525924
mov ecx, dword [esp + 4]
movzx ecx, word [ecx + 0x18]
cmp ecx, 0x10b
jne 0x525924
mov ecx, dword [esp + 4]
movzx ecx, word [ecx + 0x14]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov edx, dword [esp + 0xc]
add edx, 0xffffffa0
adc ecx, 0xffffffff
cmp dword [esp + 0xc], 0x60
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jb 0x525924
xor ecx, ecx
mov cl, al
mov eax, ecx
mov edx, dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
mov dword [esp + 0x14], eax
push eax
push edi
call fcn.00481800
add esp, 0x10
test eax, eax
je 0x525924
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x74]
cmp eax, 0x1fffffff
ja 0x525924
shl eax, 3
cmp eax, edx
ja 0x525924
mov eax, dword [esp + 4]
add dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
movzx eax, word [eax + 6]
adc edi, dword [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], eax
lea eax, [eax*8]
lea esi, [eax + eax*4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0
push esi
push edi
push dword [esp + 0x24]
call fcn.00481800
add esp, 0x10
test eax, eax
sete cl
cmp esi, edx
mov esi, dword [esp + 0xc]
seta dl
xor edi, edi
or dl, cl
mov edx, 0x1f
cmove edx, dword [esp + 0x1c]
cmove edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
jne 0x525924
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x5257cb
mov eax, dword [ecx + 0x10]
mov ecx, 0x12
mov dword [esp + 0x24], eax
mul ecx
jo 0x525924
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push eax
push 0
push dword [esp + 0x38]
mov edi, eax
call fcn.00481800
add esp, 0x10
test eax, eax
mov dword [esp + 0x28], eax
je 0x525924
add dword [esp + 0x2c], edi
setb cl
cmp edi, edx
ja 0x525924
xor eax, eax
mov al, cl
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push 4
mov dword [esp + 0x38], eax
push eax
push dword [esp + 0x38]
call fcn.00481800
add esp, 0x10
test eax, eax
je 0x525924
cmp edx, 4
jb 0x525924
mov eax, dword [eax]
mov dword [esp + 0x34], ebx
add eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
adc eax, 0
cmp dword [esp + 0x24], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 4
mov dword [esp + 0x90], 0
mov dword [esp + 0x40], eax
je 0x525c05
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
xor edx, edx
mov eax, 4
xor ecx, ecx
jmp 0x52597a
test edi, edi
je 0x524afe
mov dword [esp + 0x20], esi
imul esi, edi, 0x148
lea ecx, [ebx + esi]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x100]
push 0x148
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [ebx + esi + 0x148]
mov esi, dword [esp + 0x20]
not edi
add edi, esi
imul ecx, edi, 0x148
push ecx
push eax
push dword [esp + 0x1c]
call sub.msvcrt.dll_memmove
add esp, 0xc
dec esi
mov edi, dword [esp + 0x10]
mov dword [0x592084], esi
cmp esi, dword [0x59207c]
jne 0x524ac6
mov ecx, esi
call fcn.0052af10
mov ebx, dword [0x592080]
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 + 0x104]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [0x592084], eax
jmp 0x524b02
mov edi, dword [esp + 0x10]
sub edi, dword [esp + 8]
xor eax, eax
mov ecx, dword [ebx + 0x104]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], edi
inc edi
mov dword [esp + 4], ecx
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x108]
sete al
mov dword [esp + 0x18], eax
test edi, edi
mov dword [esp + 0x1c], edi
je 0x524ba2
xor ecx, ecx
mov eax, edi
jmp 0x524b46
mov eax, edi
sub eax, ecx
jbe 0x524bad
shr eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
add eax, ecx
mov ecx, dword [esp + 4]
mov esi, eax
shl esi, 5
mov edx, dword [ecx + esi]
mov esi, dword [ecx + esi + 4]
mov ecx, dword [esp + 0x18]
mov edi, esi
mov ebx, edx
xor edi, ecx
mov dword [esp + 8], edi
mov edi, dword [esp + 0xc]
xor ebx, edi
or ebx, dword [esp + 8]
je 0x524ba6
cmp edi, edx
mov edi, eax
sbb ecx, esi
jb 0x524b88
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x10], edx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, 0
sbb edx, esi
jb 0x524b40
inc eax
mov ecx, eax
jmp 0x524b40
xor ecx, ecx
jmp 0x524bad
mov ebx, dword [esp + 0x2c]
inc eax
mov ecx, eax
mov edx, dword [esp + 0x1c]
cmp ecx, edx
ja 0x525c50
mov edi, dword [esp + 0x10]
mov esi, 3
test ecx, ecx
je 0x524cc4
lea eax, [ebx + 0x100]
shl ecx, 5
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
lea esi, [ecx + eax - 0x20]
neg ecx
xor eax, eax
jmp 0x524bfc
add esi, 0xffffffe0
add ecx, 0x20
je 0x524cba
cmp edi, dword [esi + 0x10]
mov edx, 0
sbb edx, dword [esi + 0x14]
jae 0x524cba
cmp edi, dword [esi + 8]
mov edx, 0
sbb edx, dword [esi + 0xc]
jae 0x524bf0
cmp edi, dword [esi]
mov edx, 0
sbb edx, dword [esi + 4]
jb 0x524bf0
mov ecx, dword [esi + 0x18]
mov edx, dword [ebx + 0x110]
cmp ecx, edx
jae 0x525bf2
imul edx, ecx, 0x150
add edx, dword [ebx + 0x10c]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x4c8]
push dword [esp + 8]
call fcn.0052afc0
add esp, 4
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x4c8], 0
mov ecx, dword [esp + 8]
mov dword [esp + 0x250], eax
mov dword [esp + 0x248], edi
mov dword [esp + 0x24c], 0
mov dword [esp + 0x254], ecx
je 0x524ccb
lea eax, [esp + 0x4d0]
lea ecx, [esp + 0x360]
lea edx, [esp + 0x248]
push eax
call fcn.0052b3f0
add esp, 4
mov dword [esp + 0x35c], 0
jmp 0x524d84
mov esi, 3
jmp 0x52504f
xor eax, eax
jmp 0x52504f
movsd xmm0, qword [esp + 0x4f0]
mov eax, dword [esp + 0x4d4]
movsd xmm1, qword [esp + 0x248]
movsd xmm2, qword [esp + 0x250]
movsd qword [esp + 0x388], xmm0
movsd xmm0, qword [esp + 0x4e8]
mov dword [esp + 0x118], eax
movsd qword [esp + 0x380], xmm0
movsd xmm0, qword [esp + 0x4e0]
movsd qword [esp + 0x378], xmm0
movsd xmm0, qword [esp + 0x4d8]
movsd qword [esp + 0x370], xmm0
movsd xmm0, qword [esp + 0x4cc]
movsd qword [esp + 0x358], xmm2
movsd qword [esp + 0x350], xmm1
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0x360], xmm0
movsd qword [esp + 0x100], xmm1
movsd qword [esp + 0x108], xmm2
movq xmm0, qword [esp + 0x118]
movq qword [esp + 0x368], xmm0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
movd xmm0, edi
pshufd xmm0, xmm0, 0x44
movdqu xmmword [esp + 0x4c8], xmm0
mov dword [esp + 0x4dc], ecx
mov dword [esp + 0x4d8], eax
mov dword [esp + 0x4e0], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x4e8], edx
mov dword [esp + 0x4ec], esi
mov dword [esp + 0x4f0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4f4], ecx
mov dword [esp + 0x4f8], edi
mov dword [esp + 0x4fc], 0
mov byte [esp + 0x500], 0
mov dword [esp + 0x508], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x50c], eax
lea eax, [esp + 0x4c8]
lea ecx, [esp + 0x100]
lea edx, [esp + 0x350]
push eax
call fcn.0052e6d0
add esp, 4
cmp byte [esp + 0x178], 2
je 0x525041
nop word cs:[eax + eax]
nop dword [eax]
movsd xmm1, qword [esp + 0x110]
movq xmm0, qword [esp + 0x118]
movsd xmm2, qword [esp + 0x100]
mov ecx, 0x1a
lea edi, [esp + 0x350]
lea esi, [esp + 0x120]
movsd qword [esp + 0x4d8], xmm1
movsd xmm1, qword [esp + 0x108]
movq qword [esp + 0x4e0], xmm0
movsd qword [esp + 0x4c8], xmm2
movsd qword [esp + 0x4d0], xmm1
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x4e0]
lock dec dword [eax]
jne 0x524eb5
lea ecx, [esp + 0x4e0]
call fcn.0052ed60
mov eax, dword [esp + 0x360]
mov edx, dword [esp + 0x368]
movzx ecx, byte [eax + 0x138]
cmp ecx, 0x4b
je 0x524ee7
cmp ecx, 0x4c
jne 0x524f16
mov byte [eax + 0x138], 0x4b
mov dword [eax + 0x13c], 0
jmp 0x524f05
mov esi, dword [eax + 0x13c]
test esi, esi
je 0x524f05
mov edx, dword [esi]
mov al, 2
add esi, 8
mov cl, 0x4b
mov dword [esp + 8], eax
mov eax, esi
add edx, 8
jmp 0x524f66
mov edx, dword [edx]
mov cl, 0x4b
mov dword [esp + 8], 0
add edx, 8
jmp 0x524f66
movzx edx, byte [eax + 0x13b]
mov byte [esp + 0x24a], dl
movzx edx, word [eax + 0x139]
mov word [esp + 0x248], dx
movzx ebx, byte [eax + 0x140]
mov edx, dword [eax + 0x13c]
mov dword [esp + 8], ebx
mov bh, byte [eax + 0x143]
mov byte [esp + 0x492], bh
movzx esi, word [eax + 0x141]
mov word [esp + 0x490], si
mov eax, dword [eax + 0x144]
movzx ebx, byte [esp + 0x24a]
movzx esi, word [esp + 0x248]
lea edi, [esp + 0x4e0]
mov byte [edi - 0x15], bl
mov word [edi - 0x17], si
movzx ebx, byte [esp + 0x492]
movzx esi, word [esp + 0x490]
mov word [edi - 0xf], si
mov byte [edi - 0xd], bl
mov byte [esp + 0x4c8], cl
mov ecx, dword [esp + 8]
mov dword [esp + 0x4cc], edx
mov byte [esp + 0x4d0], cl
mov dword [esp + 0x4d4], eax
lea edx, [esp + 0x350]
lea eax, [esp + 0x4c8]
lea ecx, [esp + 0x98]
push eax
call fcn.0052b3f0
add esp, 4
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x248]
mov dword [esp + 0x94], 0
mov ecx, 0x12
lea esi, [esp + 0x370]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x88]
lea ecx, [esp + 0x4c8]
push eax
call fcn.0052e6d0
add esp, 4
push 0x88
lea eax, [esp + 0x4cc]
push eax
lea eax, [esp + 0x108]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x178], 2
jne 0x524e40
mov eax, dword [esp + 0x100]
mov esi, dword [esp + 0x104]
add ebx, 8
test eax, eax
jne 0x525739
mov eax, dword [esp + 0x128]
mov ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x44], eax
lea eax, [esi - 3]
cmp eax, 2
cmovb ecx, eax
test ecx, ecx
je 0x52518d
mov ebx, dword [esp + 0x10c]
mov edi, dword [esp + 0x110]
cmp ecx, 1
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x108]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x120]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x130]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x48], edi
lea edi, [ecx + 0x10]
mov dword [esp + 0x54], edi
lea edi, [ecx + 0x110]
mov dword [esp + 0x64], edi
mov dword [esp + 0x3c], ebx
lea ebx, [ecx + 0x108]
lea ecx, [ecx + 0x10c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ecx
jne 0x525194
cmp eax, 2
jb 0x52513c
cmp dword [esp + 0x44], 0
je 0x52513c
mov ecx, dword [esp + 0x4c]
mov edx, 4
call fcn.004256e0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], 3
mov dword [esp + 0x1c], 2
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push 0
call fcn.00531af0
add esp, 4
mov edi, eax
jmp 0x525375
xor ebx, ebx
jmp 0x525713
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x48]
je 0x52526e
mov esi, dword [eax - 4]
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi]
test eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edx
setne bl
test edx, edx
setne bh
or ecx, dword [esi + 4]
je 0x52532e
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
je 0x52532e
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
cmp eax, 2
jne 0x5252e3
mov edx, dword [esp + 0x54]
lea edi, [esp + 0x4c8]
mov ecx, edi
call fcn.0052edd0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x100]
push dword [esp + 0x5c]
push edi
call fcn.0052f130
add esp, 8
mov edi, dword [esp + 0x50]
cmp dword [edi], 2
jne 0x5252d5
movsd xmm0, qword [esp + 0x100]
movsd xmm1, qword [esp + 0x108]
movsd qword [edi], xmm0
movq xmm0, qword [esp + 0x110]
movsd qword [edi + 8], xmm1
movq qword [edi + 0x10], xmm0
jmp 0x5252e1
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x525289
mov ecx, dword [esp + 0x40]
mov edx, dword [eax + 0x18]
movzx esi, word [ecx + 0x148]
jmp 0x52528d
mov si, 2
cmp dword [esp + 0x44], 0
je 0x5252a6
mov ecx, dword [esp + 0x4c]
mov ebx, edx
mov edx, 4
call fcn.004256e0
mov edx, ebx
cmp si, 2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [esp + 8], 3
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], ecx
je 0x525174
jmp 0x525375
lea ecx, [esp + 0x100]
call fcn.00531a60
mov eax, dword [edi]
mov ecx, dword [esp + 0x64]
test eax, eax
mov edx, 1
cmovne eax, edx
cmove ecx, dword [esp + 0x60]
test eax, eax
je 0x52530c
cmp byte [ecx], 0x4b
mov eax, dword [esp + 8]
jne 0x5257ba
mov ecx, dword [ecx + 4]
jmp 0x525310
mov eax, dword [esp + 8]
test ecx, ecx
je 0x52532e
cmp dword [ecx + 4], eax
mov edx, eax
jbe 0x52532e
mov eax, dword [ecx]
lea ecx, [edx + edx*2]
mov edx, dword [eax + ecx*4 + 4]
mov eax, dword [eax + ecx*4 + 8]
mov dword [esp + 0x18], edx
jmp 0x52532e
mov edi, dword [esi + 0x10]
add dword [esp + 0x3c], 0xfffffffc
xor ecx, ecx
mov cl, bl
mov dword [esp + 8], ecx
xor ecx, ecx
mov cl, bh
mov dword [esp + 0x38], ecx
test edi, edi
je 0x52578a
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c8], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x4cc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4d0], eax
mov dword [esp + 0x4d4], esi
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4d8], eax
mov dword [esp + 0x4dc], ebx
mov dword [esp + 0x4e0], esi
mov dword [esp + 0x4e4], edi
mov dword [esp + 0x4e8], edx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x4c8]
call fcn.005533d0
mov eax, dword [esp + 8]
nop dword [eax]
mov dword [esp + 8], eax
add eax, 0xfffffffd
cmp eax, 2
mov ecx, eax
jb 0x5253f3
mov ecx, 2
cmp ecx, 1
je 0x5254b0
cmp ecx, 2
jne 0x525711
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
je 0x52558c
mov edi, dword [eax - 4]
mov dword [esp + 0x34], 0
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi]
test eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x6c], edx
setne bl
test edx, edx
setne bh
or ecx, dword [edi + 4]
je 0x52545f
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
jne 0x52561e
xor ecx, ecx
mov cl, bl
add dword [esp + 0x3c], 0xfffffffc
mov dword [esp + 4], ecx
xor ecx, ecx
mov cl, bh
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x38], ecx
test ebx, ebx
je 0x5255f1
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edi, dword [edi + 0x14]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
jmp 0x52551c
cmp eax, 2
jb 0x5254ca
cmp dword [esp + 0x44], 0
je 0x5254ca
mov ecx, dword [esp + 0x4c]
mov edx, 4
call fcn.004256e0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x40]
mov dword [esp + 4], 3
mov dword [esp + 0x1c], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push 0
call fcn.00531af0
add esp, 4
mov ebx, eax
mov edi, edx
mov eax, dword [esp + 8]
mov dword [esp + 0x4c8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4cc], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4d0], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4d4], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4d8], eax
mov dword [esp + 0x4dc], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4e0], esi
mov dword [esp + 0x4e4], ebx
mov dword [esp + 0x4e8], edi
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x4c8]
call fcn.005533d0
mov eax, dword [esp + 4]
jmp 0x5253e0
mov eax, dword [esp + 0x68]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x525692
mov ecx, dword [esp + 0x40]
mov edi, dword [eax + 0x18]
movzx esi, word [ecx + 0x148]
cmp dword [esp + 0x44], 0
je 0x5255be
mov ecx, dword [esp + 0x4c]
mov edx, 4
call fcn.004256e0
cmp si, 2
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [esp + 4], 3
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
je 0x525506
jmp 0x52551c
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
jmp 0x525506
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
cmp eax, 2
jne 0x5256b4
mov edx, dword [esp + 0x54]
lea esi, [esp + 0x4c8]
mov ecx, esi
call fcn.0052edd0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x100]
push dword [esp + 0x5c]
push esi
call fcn.0052f130
add esp, 8
mov esi, dword [esp + 0x50]
cmp dword [esi], 2
jne 0x5256a6
movsd xmm0, qword [esp + 0x100]
movsd xmm1, qword [esp + 0x108]
movsd qword [esi], xmm0
movq xmm0, qword [esp + 0x110]
movsd qword [esi + 8], xmm1
movq qword [esi + 0x10], xmm0
jmp 0x5256b2
mov si, 2
cmp dword [esp + 0x44], 0
jne 0x5255b0
jmp 0x5255be
lea ecx, [esp + 0x100]
call fcn.00531a60
mov eax, dword [esi]
mov ecx, dword [esp + 0x64]
test eax, eax
mov edx, 1
cmovne eax, edx
cmove ecx, dword [esp + 0x60]
test eax, eax
je 0x5256e4
cmp byte [ecx], 0x4b
mov eax, dword [esp + 4]
jne 0x5257b3
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x5256f0
jmp 0x52545f
mov eax, dword [esp + 4]
test ecx, ecx
je 0x52545f
cmp dword [ecx + 4], eax
mov edx, eax
jbe 0x52545f
mov eax, dword [ecx]
lea ecx, [edx + edx*2]
mov edx, dword [eax + ecx*4 + 4]
mov eax, dword [eax + ecx*4 + 8]
mov dword [esp + 0x34], edx
jmp 0x52545f
mov bl, 1
cmp eax, 2
jb 0x52572d
cmp dword [esp + 0x44], 0
je 0x52572d
mov ecx, dword [esp + 0x4c]
mov edx, 4
call fcn.004256e0
test bl, bl
mov ebx, dword [esp + 0x2c]
jne 0x525939
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0
call fcn.00531af0
add esp, 4
test eax, eax
je 0x525939
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4c8], 3
mov dword [esp + 0x4cc], eax
mov dword [esp + 0x4d0], edx
mov dword [esp + 0x4d4], esi
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x4c8]
call fcn.005533d0
jmp 0x525939
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ecx
jmp 0x525174
mov bl, 1
jmp 0x525718
xor ebx, ebx
jmp 0x525718
push 0x69e4e8
call fcn.0043a050
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 4
mov dword [esp + 0x90], 0
mov dword [esp + 0x3c], 0
mov ecx, 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
xor edi, edi
xor edx, edx
mov eax, 0x20
test edx, edx
mov esi, 0x20
je 0x525829
bsr esi, edx
xor esi, 0x1f
sub eax, esi
push eax
push 0
call fcn.00526290
add esp, 8
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0xc]
cmp eax, 0x80000000
je 0x525924
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc8], esi
mov dword [esp + 0x4b8], 0x80000000
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb0], 0x80000000
mov dword [esp + 0xf8], eax
lea eax, [esp + 0x88]
lea edx, [esp + 0xc8]
lea esi, [esp + 0x490]
lea ecx, [esp + 0x4c8]
push eax
push esi
call fcn.00526ba0
add esp, 8
mov edi, dword [esp + 0x4f0]
mov esi, dword [esp + 0xc]
cmp edi, 0x80000000
jne 0x525a02
lea ecx, [esp + 0x70]
call fcn.0052ae60
push esi
call sub.KERNEL32.DLL_UnmapViewOfFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov dword [eax + edx*8], edi
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x24]
mov dword [eax + edx*8 + 4], esi
inc edx
mov dword [esp + 0x90], edx
mov esi, dword [esp + 0x38]
lea ecx, [ecx + esi + 1]
cmp ecx, edi
jae 0x525bfc
mov dword [esp + 4], ecx
lea ecx, [ecx + ecx*8]
movzx esi, byte [ebx + ecx*2 + 0x11]
mov dword [esp + 0x38], esi
movzx esi, word [ebx + ecx*2 + 0xc]
test esi, esi
je 0x5259f9
movzx edi, word [ebx + ecx*2 + 0xe]
and edi, 0x30
cmp di, 0x20
jne 0x5259f5
dec esi
mov edi, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
lea esi, [esi + esi*4]
lea ebx, [edi + esi*8]
mov edi, 0x1d
cmovae ebx, edi
jae 0x525c19
test ebx, ebx
je 0x525c19
mov esi, dword [esp + 0x28]
lea esi, [esi + ecx*2]
mov edi, dword [esi + 8]
add edi, dword [esp + 0x40]
add edi, dword [ebx + 0xc]
cmp edx, dword [esp + 0x88]
jne 0x52594f
lea ecx, [esp + 0x88]
call fcn.00526b00
jmp 0x525941
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 4]
jmp 0x52596a
movsd xmm2, qword [esp + 0x4e0]
movsd xmm1, qword [esp + 0x4d8]
movsd xmm0, qword [esp + 0x4e8]
lea eax, [esp + 0x4f4]
movsd qword [esp + 0x368], xmm2
movsd qword [esp + 0x360], xmm1
movsd xmm2, qword [esp + 0x4c8]
movsd xmm1, qword [esp + 0x4d0]
movsd qword [esp + 0x370], xmm0
movsd qword [esp + 0x358], xmm1
movsd qword [esp + 0x350], xmm2
lea ecx, [esp + 0x248]
push 0xec
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0x78]
movq xmm0, qword [esp + 0x70]
lea eax, [esp + 0x37c]
movsd qword [esp + 0x33c], xmm1
movsd xmm1, qword [esp + 0x80]
movq qword [esp + 0x334], xmm0
movsd qword [esp + 0x344], xmm1
push 0x104
lea ecx, [esp + 0x24c]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x378], edi
mov edi, dword [0x592084]
mov dword [esp + 0x480], ebx
mov dword [esp + 0x484], esi
mov eax, dword [esp + 0x14]
mov esi, dword [0x59207c]
cmp edi, 4
mov dword [esp + 0x488], eax
jne 0x525b40
mov dword [0x592084], 3
mov eax, 0x3d8
add eax, dword [0x592080]
push 0x148
push eax
lea eax, [esp + 0x4d0]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x4f8], 0x80000000
je 0x525b3b
lea ecx, [esp + 0x4d0]
call fcn.00526200
mov edi, 3
lea ebx, [esp + 0x4d0]
lea eax, [esp + 0x350]
push 0x140
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
cmp edi, esi
mov dword [esp + 0x4c8], eax
jne 0x525b73
mov ecx, esi
call fcn.0052af10
mov ebx, dword [0x592080]
test edi, edi
je 0x525bc9
lea eax, [ebx + 0x148]
imul ecx, edi, 0x148
push ecx
push ebx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
push 0x148
lea eax, [esp + 0x4cc]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc edi
mov dword [0x592084], edi
mov edi, dword [esp + 0x10]
jne 0x524b02
xor ecx, ecx
xor edx, edx
push 0x69e4f8
call fcn.0043a050
push 0x148
lea eax, [esp + 0x4cc]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edi, dword [esp + 0x10]
mov dword [0x592084], 1
jmp 0x524b02
push 0x69c1b0
call fcn.0043a050
mov ecx, dword [esp + 0x8c]
jmp 0x525c0c
mov ecx, 4
xor edx, edx
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
jmp 0x525815
cmp dword [esp + 0x88], 0
je 0x525c34
mov ecx, dword [esp + 0x8c]
mov edx, 4
call fcn.004256e0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
jmp 0x525924
mov ecx, 8
mov edx, 0x520
call fcn.00434230
push 0x69c1a0
call fcn.0043a6f0
mov esi, dword [esp + 4]
mov ecx, 4
mov edx, 8
call fcn.00434230
ud2