Function at 0x46c8f0
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, 0x908
mov eax, dword [ecx + 4]
mov dword [esp + 0x58], edx
lea ecx, [eax - 1]
test eax, eax
cmove ecx, eax
mov dword [esp], ecx
mov ecx, dword [0x4e4120]
test ecx, ecx
jne 0x46cd7d
movzx eax, byte [0x4e4158]
mov ecx, 0x520
mov edx, 8
call fcn.00413060
test eax, eax
je 0x46e1c4
mov dword [esp + 0x248], 4
mov dword [esp + 0x24c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x250], 0
push 0
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x46cc73
mov ebx, eax
lea eax, [esp + 0x4dc]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x4d8], 0x428
lea eax, [esp + 0x4d8]
push eax
push ebx
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x46cc6d
xor edi, edi
mov dword [esp + 4], 4
jmp 0x46ca37
mov ecx, dword [esp + 0x248]
mov edi, dword [esp + 0x250]
mov edx, dword [esp + 8]
mov eax, edi
mov esi, dword [esp + 0x28]
inc edi
shl eax, 5
mov dword [ecx + eax], edx
mov edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], edx
mov dword [edx + eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + eax + 8], 1
mov dword [edx + eax + 0xc], 1
mov dword [edx + eax + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + eax + 0x14], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + eax + 0x18], esi
mov dword [edx + eax + 0x1c], ecx
mov dword [esp + 0x250], edi
lea eax, [esp + 0x4d8]
push eax
push ebx
call sub.kernel32.dll_Module32NextW
cmp eax, 1
jne 0x46cc6d
mov ecx, 0x208
xor eax, eax
nop
cmp word [esp + eax*2 + 0x6f8], 0
je 0x46ca56
inc eax
add ecx, 0xfffffffe
jne 0x46ca40
mov eax, 0x104
lea edx, [esp + 0x6f8]
lea ecx, [esp + 0x398]
push eax
call fcn.0046b4e0
add esp, 4
mov esi, dword [esp + 0x398]
mov edx, esi
lea ecx, [esp + 0x100]
push dword [esp + 0x3a0]
call fcn.0046e4d0
add esp, 4
cmp dword [esp + 0x100], 0
je 0x46cb32
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x14], eax
cmp ecx, 0x40
jb 0x46cb20
cmp dword [esp + 0xc], 0
je 0x46cb20
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x46cb20
mov eax, dword [esp + 0xc]
mov edx, ecx
mov eax, dword [eax + 0x3c]
sub edx, eax
jb 0x46cb20
cmp edx, 0x78
jb 0x46cb20
mov edx, dword [esp + 0xc]
cmp dword [edx + eax], 0x4550
jne 0x46cb20
mov edx, dword [esp + 0xc]
movzx edx, word [edx + eax + 0x18]
cmp edx, 0x10b
jne 0x46cb20
mov edx, dword [esp + 0xc]
movzx edx, word [edx + eax + 0x14]
cmp dx, 0x60
jb 0x46cb20
cmp eax, 0xffffff87
jbe 0x46cb8d
nop word cs:[eax + eax]
nop
push dword [esp + 0xc]
call sub.kernel32.dll_UnmapViewOfFile
push dword [esp + 0x14]
call sub.kernel32.dll_CloseHandle
cmp dword [esp + 0x39c], 0
je 0x46cb4a
push esi
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x18]
mov ecx, 2
and eax, 0xffffff00
or eax, ecx
mov dword [esp + 0x18], eax
movzx eax, al
xor eax, ecx
je 0x46ca20
cmp edi, dword [esp + 0x24c]
mov ecx, dword [esp + 4]
jne 0x46c9ce
lea ecx, [esp + 0x248]
mov edx, edi
call fcn.0046e790
jmp 0x46c9c0
movzx edx, dx
add edx, 0xffffffa0
mov dword [esp + 0x1c], edx
mov edx, 0
adc edx, 0xffffffff
jne 0x46cb20
lea edx, [eax + 0x78]
sub ecx, edx
jb 0x46cb20
cmp dword [esp + 0x1c], ecx
ja 0x46cb20
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + eax + 0x74]
cmp ecx, 0x1fffffff
ja 0x46cb20
shl ecx, 3
cmp ecx, dword [esp + 0x1c]
ja 0x46cb20
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + eax + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4ec]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x39c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3a0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3a4]
mov dword [esp + 0x18], eax
movzx eax, byte [0x4e4158]
mov ecx, 8
mov edx, 4
call fcn.00413060
test eax, eax
je 0x46e21b
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4f0]
mov dword [esp + 0x24], eax
sub dword [esp + 8], edx
mov dword [eax], edx
mov dword [eax + 4], ecx
push dword [esp + 0xc]
call sub.kernel32.dll_UnmapViewOfFile
push dword [esp + 0x14]
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp + 0x18]
mov ecx, 2
mov dword [esp + 0x2c], esi
jmp 0x46cb5a
push ebx
call sub.kernel32.dll_CloseHandle
mov esi, dword [0x4e4120]
mov eax, dword [esp + 0x250]
movsd xmm0, qword [esp + 0x248]
test esi, esi
mov dword [esp + 0x4e0], eax
movsd qword [esp + 0x4d8], xmm0
je 0x46cd3c
mov edi, dword [0x4e4128]
test edi, edi
je 0x46cce3
lea ebx, [esi + 0x14]
jmp 0x46ccb6
add ebx, 0x20
dec edi
je 0x46cce3
cmp dword [ebx], 0
je 0x46cccb
push dword [ebx - 4]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
cmp dword [ebx - 0xc], 0
je 0x46ccb0
push dword [ebx - 0x10]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
jmp 0x46ccb0
cmp dword [0x4e4124], 0
je 0x46ccfa
push esi
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov ebx, dword [0x4e4134]
mov edi, dword [0x4e412c]
lea ecx, [edi + 8]
inc ebx
nop word [eax + eax]
cmp ebx, 1
je 0x46cd25
lea esi, [ecx + 0x148]
dec ebx
call fcn.0046e830
mov ecx, esi
jmp 0x46cd10
cmp dword [0x4e4130], 0
je 0x46cd3c
push edi
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov eax, dword [esp + 0x4e0]
movq xmm0, qword [esp + 0x4d8]
mov ecx, dword [esp + 0x20]
mov dword [0x4e4128], eax
movq qword [0x4e4120], xmm0
mov dword [0x4e412c], ecx
mov dword [0x4e4130], 4
mov dword [0x4e4134], 0
mov ecx, dword [0x4e4120]
mov esi, dword [0x4e4128]
test esi, esi
je 0x46dc75
mov edx, esi
xor eax, eax
mov ebx, ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x14], esi
shl edx, 5
add edx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
add ebx, 0x20
shl esi, 3
nop word cs:[eax + eax]
nop
test esi, esi
je 0x46cdf0
mov edi, eax
add esi, 0xfffffff8
add eax, 8
mov ecx, dword [edi]
add ecx, dword [esp + 0x18]
cmp ecx, dword [esp]
ja 0x46cdc0
add ecx, dword [edi + 4]
cmp ecx, dword [esp]
jbe 0x46cdc0
jmp 0x46cdfe
mov eax, dword [esp + 0xc]
inc eax
cmp ebx, edx
jne 0x46cd9e
jmp 0x46dc75
mov edi, dword [0x4e4134]
mov ecx, dword [esp + 0xc]
test edi, edi
je 0x46ce33
mov edx, dword [0x4e412c]
imul esi, edi, 0x148
xor eax, eax
xor ebx, ebx
nop dword [eax]
cmp dword [edx + eax], ecx
je 0x46cf41
add eax, 0x148
inc ebx
cmp esi, eax
jne 0x46ce20
mov edx, dword [esp + 0x14]
cmp edx, ecx
jbe 0x46de2f
mov esi, dword [esp + 4]
mov eax, ecx
shl eax, 5
mov edx, dword [esi + eax + 0x10]
lea ecx, [esp + 0x248]
push dword [esi + eax + 0x18]
call fcn.0046e4d0
add esp, 4
cmp dword [esp + 0x248], 0
je 0x46dc75
mov edx, dword [esp + 0x254]
mov ecx, dword [esp + 0x250]
mov edi, dword [esp + 0x24c]
xor eax, eax
mov dword [esp + 0x70], 4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 4
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
cmp edx, 0x40
mov ebx, ecx
mov dword [esp + 0x14], edx
cmovae eax, ecx
jb 0x46cf27
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x46cf27
mov ecx, dword [eax + 0x3c]
mov eax, dword [esp + 0x14]
sub eax, ecx
jb 0x46cf27
cmp eax, 0x78
jb 0x46cf27
mov edx, ecx
add edx, 0x78
setb byte [esp + 4]
cmp dword [ebx + ecx], 0x4550
jne 0x46cf27
movzx esi, word [ebx + ecx + 0x18]
cmp esi, 0x10b
jne 0x46cf27
movzx esi, word [ebx + ecx + 0x14]
mov eax, esi
add eax, 0xffffffa0
mov dword [esp + 8], eax
mov eax, 0
adc eax, 0xffffffff
cmp esi, 0x60
jb 0x46cf27
cmp ecx, 0xffffff87
jbe 0x46dcb8
lea ecx, [esp + 0x70]
call fcn.004734e0
push ebx
call sub.kernel32.dll_UnmapViewOfFile
push edi
call sub.kernel32.dll_CloseHandle
jmp 0x46dc75
test ebx, ebx
je 0x46cfee
mov dword [esp + 0xc], edi
imul edi, ebx, 0x148
mov esi, edx
lea ecx, [edx + edi]
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, [esi + edi + 0x148]
mov edi, dword [esp + 0xc]
not ebx
add ebx, edi
imul ecx, ebx, 0x148
push ecx
push eax
push dword [esp + 0x1c]
call sub.msvcrt.dll_memmove
mov ecx, esi
add esp, 0xc
lea esi, [edi - 1]
mov ebx, edi
mov dword [0x4e4134], esi
cmp esi, dword [0x4e4130]
jne 0x46cfb7
mov ecx, esi
call fcn.00473590
mov ecx, dword [0x4e412c]
mov edi, ecx
lea eax, [ecx + 0x148]
imul ecx, esi, 0x148
push ecx
push edi
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
push 0x148
lea eax, [esp + 0x104]
push eax
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [0x4e4134], ebx
jmp 0x46cff0
mov edi, edx
mov eax, dword [esp]
xor ecx, ecx
mov edx, dword [edi + 0x108]
mov dword [esp + 0x50], edi
sub eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp], eax
inc eax
sete cl
test edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 4], ecx
mov ecx, dword [edi + 0x104]
mov dword [esp + 0xc], ecx
je 0x46d096
xor ebx, ebx
mov eax, edx
mov dword [esp + 8], edx
jmp 0x46d03c
mov ebx, dword [esp + 0x18]
mov dword [esp + 8], eax
sub eax, ebx
jbe 0x46d098
shr eax, 1
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], ebx
add eax, ebx
mov ebx, eax
shl ebx, 5
mov ecx, dword [edx + ebx]
mov edx, dword [edx + ebx + 4]
xor ebx, ebx
mov edi, edx
mov esi, ecx
xor edi, dword [esp + 4]
xor esi, dword [esp + 0x14]
or esi, edi
setne bl
cmp dword [esp], ecx
mov ecx, 0
sbb ecx, edx
mov ecx, 0xff
cmovae ebx, ecx
cmp bl, 1
je 0x46d030
movzx ecx, bl
inc eax
mov ebx, eax
cmp ecx, 0xff
jne 0x46d098
mov eax, dword [esp + 8]
sub eax, ebx
ja 0x46d03c
jmp 0x46d098
xor ebx, ebx
mov edx, dword [esp + 0x10]
cmp ebx, edx
ja 0x46e20a
mov eax, dword [esp + 0x50]
mov edi, 3
test ebx, ebx
je 0x46d1b3
add eax, 0x100
mov edx, dword [esp]
shl ebx, 5
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
lea esi, [ebx + eax - 0x20]
neg ebx
xor eax, eax
jmp 0x46d0ec
add esi, 0xffffffe0
add ebx, 0x20
je 0x46d1b5
cmp edx, dword [esi + 0x10]
mov ecx, 0
sbb ecx, dword [esi + 0x14]
jae 0x46d1b5
cmp edx, dword [esi + 8]
mov ecx, 0
sbb ecx, dword [esi + 0xc]
jae 0x46d0e0
mov ecx, dword [esp]
cmp ecx, dword [esi]
mov ecx, 0
sbb ecx, dword [esi + 4]
jb 0x46d0e0
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x18]
mov edx, dword [eax + 0x110]
cmp ecx, edx
jae 0x46de3e
imul ebx, ecx, 0x150
add ebx, dword [eax + 0x10c]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x4d8]
mov edx, ebx
push edi
call fcn.00473640
add esp, 4
cmp dword [esp + 0x4d8], 0
mov eax, dword [esp]
mov dword [esp + 0x250], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x24c], 0
mov dword [esp + 0x248], eax
mov dword [esp + 0x254], edi
je 0x46d407
lea eax, [esp + 0x4e0]
lea ecx, [esp + 0x3a8]
lea edx, [esp + 0x248]
push eax
call fcn.00473a70
add esp, 4
mov dword [esp + 0x3a4], 0
jmp 0x46d4c0
xor eax, eax
test eax, eax
jne 0x46dc27
mov eax, dword [esp + 0x128]
mov ecx, 2
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x3c], eax
lea eax, [edi - 3]
cmp eax, 2
cmovb ecx, eax
test ecx, ecx
je 0x46d2fd
mov ebx, dword [esp + 0x10c]
mov esi, dword [esp + 0x110]
cmp ecx, 1
mov ecx, dword [esp + 0x118]
mov edx, dword [esp + 0x108]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x120]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x124]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x130]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x40], esi
lea esi, [ecx + 0x10]
mov dword [esp + 0x54], esi
lea esi, [ecx + 0x110]
mov dword [esp + 0x64], esi
mov dword [esp + 0x34], ebx
lea ebx, [ecx + 0x108]
lea ecx, [ecx + 0x10c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], ebx
lea ecx, [ecx + 0xc8]
mov dword [esp + 0x48], ecx
jne 0x46d304
cmp eax, 2
jb 0x46d2ac
cmp dword [esp + 0x3c], 0
je 0x46d2ac
push dword [esp + 0x44]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov esi, 3
mov dword [esp + 0x24], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov edx, dword [esp]
mov ecx, dword [esp + 0x48]
push 0
call fcn.0047a0a0
add esp, 4
mov edi, eax
jmp 0x46d86a
xor ebx, ebx
jmp 0x46dc06
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edi
cmp eax, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
je 0x46d3e1
mov ebx, dword [eax - 4]
mov dword [esp + 0x10], 0
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx]
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
setne byte [esp + 4]
test edx, edx
setne byte [esp + 8]
or ecx, dword [ebx + 4]
je 0x46d818
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
je 0x46d818
mov eax, dword [esp + 0x4c]
mov esi, dword [ebx + 8]
mov eax, dword [eax]
cmp eax, 2
jne 0x46d7da
mov edx, dword [esp + 0x54]
lea edi, [esp + 0x4d8]
mov ecx, edi
call fcn.00477360
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x100]
push dword [esp + 0x5c]
push edi
call fcn.00477720
add esp, 8
mov edi, dword [esp + 0x4c]
cmp dword [edi], 2
jne 0x46d7cc
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 0x46d7d8
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x46d77c
mov ecx, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
movzx ebx, word [ecx + 0x148]
mov dword [esp + 0x10], eax
jmp 0x46d780
movsd xmm0, qword [esp + 0x500]
mov eax, dword [esp + 0x4e4]
movsd xmm1, qword [esp + 0x248]
movsd xmm2, qword [esp + 0x250]
movsd qword [esp + 0x3d0], xmm0
movsd xmm0, qword [esp + 0x4f8]
mov dword [esp + 0x118], eax
movsd qword [esp + 0x3c8], xmm0
movsd xmm0, qword [esp + 0x4f0]
movsd qword [esp + 0x3c0], xmm0
movsd xmm0, qword [esp + 0x4e8]
movsd qword [esp + 0x3b8], xmm0
movsd xmm0, qword [esp + 0x4dc]
movsd qword [esp + 0x3a0], xmm2
movsd qword [esp + 0x398], xmm1
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0x3a8], xmm0
movsd qword [esp + 0x100], xmm1
movsd qword [esp + 0x108], xmm2
movq xmm0, qword [esp + 0x118]
movq qword [esp + 0x3b0], xmm0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
movd xmm0, eax
pshufd xmm0, xmm0, 0x44
movdqu xmmword [esp + 0x4d8], xmm0
mov dword [esp + 0x4ec], edx
mov dword [esp + 0x4e8], ecx
mov dword [esp + 0x4f0], edi
mov dword [esp + 0x4f8], ebx
mov dword [esp + 0x4fc], esi
mov dword [esp + 0x504], edx
mov dword [esp + 0x500], ecx
mov dword [esp + 0x508], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x50c], 0
mov byte [esp + 0x510], 0
mov dword [esp + 0x518], eax
mov dword [esp + 0x51c], edi
lea eax, [esp + 0x4d8]
lea ecx, [esp + 0x100]
lea edx, [esp + 0x398]
push eax
call fcn.00476c40
add esp, 4
cmp byte [esp + 0x178], 2
je 0x46d761
nop
movsd xmm1, qword [esp + 0x110]
movq xmm0, qword [esp + 0x118]
movsd xmm2, qword [esp + 0x100]
mov ecx, 0x1a
lea edi, [esp + 0x398]
lea esi, [esp + 0x120]
movsd qword [esp + 0x4e8], xmm1
movsd xmm1, qword [esp + 0x108]
movq qword [esp + 0x4f0], xmm0
movsd qword [esp + 0x4d8], xmm2
movsd qword [esp + 0x4e0], xmm1
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x4f0]
lock dec dword [eax]
jne 0x46d5e5
lea ecx, [esp + 0x4f0]
call fcn.004772f0
mov eax, dword [esp + 0x3a8]
mov edx, dword [esp + 0x3b0]
movzx ecx, byte [eax + 0x138]
cmp ecx, 0x4b
je 0x46d617
cmp ecx, 0x4c
jne 0x46d646
mov byte [eax + 0x138], 0x4b
mov dword [eax + 0x13c], 0
jmp 0x46d635
mov esi, dword [eax + 0x13c]
test esi, esi
je 0x46d635
mov edx, dword [esi]
mov al, 2
add esi, 8
mov cl, 0x4b
mov dword [esp + 0x18], eax
mov eax, esi
add edx, 8
jmp 0x46d696
mov edx, dword [edx]
mov cl, 0x4b
mov dword [esp + 0x18], 0
add edx, 8
jmp 0x46d696
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 + 0x18], ebx
mov bh, byte [eax + 0x143]
mov byte [esp + 0x362], bh
movzx esi, word [eax + 0x141]
mov word [esp + 0x360], si
mov eax, dword [eax + 0x144]
movzx ebx, byte [esp + 0x24a]
movzx esi, word [esp + 0x248]
lea edi, [esp + 0x4f0]
mov byte [edi - 0x15], bl
mov word [edi - 0x17], si
movzx ebx, byte [esp + 0x362]
movzx esi, word [esp + 0x360]
mov word [edi - 0xf], si
mov byte [edi - 0xd], bl
mov byte [esp + 0x4d8], cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4dc], edx
mov byte [esp + 0x4e0], cl
mov dword [esp + 0x4e4], eax
lea edx, [esp + 0x398]
lea ebx, [esp + 0x4d8]
lea ecx, [esp + 0x98]
push ebx
call fcn.00473a70
add esp, 4
lea eax, [esp + 0x248]
mov dword [esp + 0x94], 0
mov ecx, 0x12
lea esi, [esp + 0x3b8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x88]
mov ecx, ebx
push eax
call fcn.00476c40
add esp, 4
push 0x88
push ebx
lea eax, [esp + 0x108]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x178], 2
jne 0x46d570
mov eax, dword [esp + 0x100]
mov edi, dword [esp + 0x104]
test eax, eax
jne 0x46dc27
jmp 0x46d1bd
mov bx, 2
cmp dword [esp + 0x3c], 0
je 0x46d798
push dword [esp + 0x44]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov edx, dword [esp + 0x28]
cmp bx, 2
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov esi, 3
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 4], ecx
je 0x46d2e5
jmp 0x46d86a
lea ecx, [esp + 0x100]
call fcn.0047a000
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 0x46d7fd
cmp byte [ecx], 0x4b
jne 0x46dcb1
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x46d818
cmp dword [ecx + 4], esi
jbe 0x46d818
mov eax, dword [ecx]
lea ecx, [esi + esi*2]
mov edx, dword [eax + ecx*4]
mov eax, dword [eax + ecx*4 + 8]
mov dword [esp + 0x10], edx
jmp 0x46d818
movzx edx, byte [esp + 4]
mov dh, byte [esp + 8]
mov edi, dword [ebx + 0x10]
add dword [esp + 0x34], 0xfffffffc
xor ecx, ecx
mov cl, dl
mov esi, ecx
xor ecx, ecx
mov cl, dh
test edi, edi
mov dword [esp + 0x2c], ecx
je 0x46dc7d
mov edx, dword [ebx + 0x14]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4d8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4dc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4e0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x4e4], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x4e8], eax
mov dword [esp + 0x4ec], ebx
mov ebx, dword [esp]
mov dword [esp + 0x4f0], ebx
mov dword [esp + 0x4f4], edi
mov dword [esp + 0x4f8], edx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x4d8]
call fcn.00499c60
lea eax, [esi - 3]
mov dword [esp + 0x18], esi
cmp eax, 2
mov ecx, eax
jb 0x46d8e3
mov ecx, 2
cmp ecx, 1
je 0x46d9a0
cmp ecx, 2
jne 0x46dc04
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
cmp eax, dword [esp + 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
je 0x46da7d
mov edi, dword [eax - 4]
mov dword [esp + 0x38], 0
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi]
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x6c], edx
setne bl
test edx, edx
setne bh
or ecx, dword [edi + 4]
je 0x46d94f
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
jne 0x46db12
mov esi, dword [edi + 0x10]
add dword [esp + 0x34], 0xfffffffc
xor ecx, ecx
mov cl, bl
mov dword [esp + 4], ecx
xor ecx, ecx
mov cl, bh
mov dword [esp + 0x2c], ecx
test esi, esi
je 0x46dae5
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edi, dword [edi + 0x14]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
jmp 0x46da0e
cmp eax, 2
jb 0x46d9bd
cmp dword [esp + 0x3c], 0
je 0x46d9bd
push dword [esp + 0x44]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], 3
mov dword [esp + 0x24], 2
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov edx, dword [esp]
mov ecx, dword [esp + 0x48]
push 0
call fcn.0047a0a0
add esp, 4
mov esi, eax
mov edi, edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4d8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4dc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4e0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4e4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x4e8], eax
mov dword [esp + 0x4ec], ebx
mov ebx, dword [esp]
mov dword [esp + 0x4f0], ebx
mov dword [esp + 0x4f4], esi
mov dword [esp + 0x4f8], edi
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x4d8]
call fcn.00499c60
mov esi, dword [esp + 4]
jmp 0x46d8d0
mov eax, dword [esp + 0x68]
mov esi, dword [eax + 0x14]
test esi, esi
je 0x46db86
mov ecx, dword [esp + 0x30]
mov edi, dword [eax + 0x18]
movzx ebx, word [ecx + 0x148]
cmp dword [esp + 0x3c], 0
je 0x46dab2
push dword [esp + 0x44]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
cmp bx, 2
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], 3
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
je 0x46d9f9
jmp 0x46da0e
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
jmp 0x46d9f9
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
cmp eax, 2
jne 0x46dba8
mov edx, dword [esp + 0x54]
lea esi, [esp + 0x4d8]
mov ecx, esi
call fcn.00477360
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x100]
push dword [esp + 0x5c]
push esi
call fcn.00477720
add esp, 8
mov esi, dword [esp + 0x4c]
cmp dword [esi], 2
jne 0x46db9a
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 0x46dba6
mov bx, 2
cmp dword [esp + 0x3c], 0
jne 0x46daa1
jmp 0x46dab2
lea ecx, [esp + 0x100]
call fcn.0047a000
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 0x46dbd8
cmp byte [ecx], 0x4b
mov eax, dword [esp + 4]
jne 0x46dcaa
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x46dbe4
jmp 0x46d94f
mov eax, dword [esp + 4]
test ecx, ecx
je 0x46d94f
cmp dword [ecx + 4], eax
mov edx, eax
jbe 0x46d94f
mov eax, dword [ecx]
lea ecx, [edx + edx*2]
mov edx, dword [eax + ecx*4]
mov eax, dword [eax + ecx*4 + 8]
mov dword [esp + 0x38], edx
jmp 0x46d94f
mov bl, 1
cmp eax, 2
jb 0x46dc23
cmp dword [esp + 0x3c], 0
je 0x46dc23
push dword [esp + 0x44]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
test bl, bl
jne 0x46dc75
mov ecx, dword [esp + 0x50]
add ecx, 0xc8
mov edx, dword [esp]
push 0
call fcn.0047a0a0
add esp, 4
test eax, eax
je 0x46dc75
mov esi, dword [esp]
mov dword [esp + 0x4d8], 3
mov dword [esp + 0x4dc], eax
mov dword [esp + 0x4e0], edx
mov dword [esp + 0x4e4], esi
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x4d8]
call fcn.00499c60
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x28], eax
jmp 0x46d2e5
mov bl, 1
jmp 0x46dc0b
xor ebx, ebx
jmp 0x46dc0b
test eax, eax
jne 0x46cf27
mov esi, dword [esp + 0x14]
sub esi, edx
jb 0x46cf27
cmp dword [esp + 8], esi
ja 0x46cf27
mov esi, dword [ebx + ecx + 0x74]
cmp esi, 0x1fffffff
ja 0x46cf27
shl esi, 3
cmp esi, dword [esp + 8]
ja 0x46cf27
mov esi, eax
movzx eax, byte [esp + 4]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, al
mov eax, edx
mov edx, dword [esp + 0x10]
add dword [esp + 8], edx
adc esi, eax
jne 0x46cf27
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 8]
jb 0x46cf27
movzx edx, word [ebx + ecx + 6]
mov dword [esp + 4], edx
lea edx, [edx*8]
lea edx, [edx + edx*4]
cmp edx, eax
ja 0x46cf27
mov eax, ebx
mov eax, dword [ebx + ecx + 0xc]
add dword [esp + 8], ebx
mov dword [esp + 0x24], edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x46de45
mov eax, dword [ebx + ecx + 0x10]
mov edi, dword [esp + 0x24]
mov edx, 0x12
mov dword [esp + 0x28], eax
mul edx
jo 0x46cf27
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x10]
jb 0x46cf27
cmp eax, edx
ja 0x46cf27
mov edx, dword [esp + 0x10]
mov esi, eax
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x2c]
setb byte [esp + 0x2c]
add esi, edx
setb dl
mov dword [esp + 0x1c], esi
jb 0x46cf27
cmp byte [esp + 0x2c], 0
jne 0x46cf27
cmp eax, 4
jb 0x46cf27
xor eax, eax
mov al, dl
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + ecx + 0x34]
mov esi, ebx
mov dword [esp + 0x34], eax
mov edi, dword [ebx + edx]
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x90], 0
add edi, edx
adc eax, 0
cmp dword [esp + 0x28], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], eax
je 0x46e1d5
add dword [esp + 0x10], ebx
xor edx, edx
mov dword [esp + 0x30], 4
mov dword [esp + 0x2c], 0
jmp 0x46e096
push 0x4ca710
call fcn.00446c40
add esp, 4
ud2
push 0x4c849c
jmp 0x46de34
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x48], 0
mov ecx, 4
mov dword [esp + 0x40], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], 0
xor edi, edi
xor edx, edx
mov eax, 0x20
test edx, edx
mov esi, 0x20
je 0x46dea3
bsr esi, edx
xor esi, 0x1f
sub eax, esi
push eax
push 0
call fcn.0046e8e0
add esp, 8
mov eax, dword [esp + 0x90]
movq xmm0, qword [esp + 0x88]
mov ecx, dword [esp + 8]
mov dword [esp + 0x360], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x14]
movq qword [esp + 0xf0], xmm0
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xec], eax
lea eax, [esp + 0x88]
lea edx, [esp + 0xc8]
lea esi, [esp + 0x360]
lea ecx, [esp + 0x248]
push eax
push esi
call fcn.0046f250
add esp, 8
movzx eax, byte [esp + 0x248]
mov edi, dword [esp + 0x24]
cmp al, 0x17
mov byte [esp + 4], al
je 0x46cf27
lea eax, [esp + 0x249]
lea esi, [esp + 0x4d8]
push 0x117
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0x78]
movq xmm0, qword [esp + 0x70]
lea eax, [esp + 0x399]
movsd qword [esp + 0x5f7], xmm1
movsd xmm1, qword [esp + 0x80]
movq qword [esp + 0x5ef], xmm0
movsd qword [esp + 0x5ff], xmm1
push 0x12f
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x398], al
mov dword [esp + 0x4c8], edi
mov dword [esp + 0x4cc], ebx
mov ebx, dword [0x4e4134]
mov dword [esp + 0x4d0], ecx
cmp ebx, 4
jne 0x46e119
mov dword [0x4e4134], 3
mov eax, 0x3d8
mov edi, dword [0x4e4130]
add eax, dword [0x4e412c]
push 0x148
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x4e0], 0x17
je 0x46e05d
lea ecx, [esp + 0x4e0]
call fcn.0046e830
mov ebx, 3
jmp 0x46e11f
mov eax, dword [esp + 0x30]
mov dword [eax + edx*8], esi
mov dword [eax + edx*8 + 4], edi
inc edx
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
lea ecx, [ecx + eax + 1]
cmp ecx, dword [esp + 0x28]
mov eax, ecx
mov dword [esp + 0x2c], ecx
jae 0x46e1bb
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
lea ecx, [eax + eax*8]
movzx esi, byte [edi + ecx*2 + 0x11]
mov dword [esp + 0x20], esi
movzx esi, word [edi + ecx*2 + 0xc]
test esi, esi
je 0x46e07a
mov eax, dword [esp + 0x10]
movzx edi, word [eax + ecx*2 + 0xe]
and edi, 0x30
cmp di, 0x20
jne 0x46e07a
dec esi
cmp esi, dword [esp + 4]
jae 0x46e1e3
mov eax, dword [esp + 0x10]
lea edi, [eax + ecx*2]
lea ecx, [esi + esi*4]
mov eax, dword [esp + 8]
mov esi, dword [edi + 8]
add esi, dword [esp + 0x38]
add esi, dword [eax + ecx*8 + 0xc]
cmp edx, dword [esp + 0x8c]
jne 0x46e067
lea ecx, [esp + 0x88]
call fcn.0046f1b0
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x30], eax
jmp 0x46e067
mov edi, dword [0x4e4130]
lea ecx, [esp + 0x4e0]
lea eax, [esp + 0x398]
push 0x140
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0xc]
cmp ebx, edi
mov dword [esp + 0x4d8], eax
jne 0x46e152
mov ecx, edi
call fcn.00473590
mov edi, dword [0x4e412c]
test ebx, ebx
je 0x46e19d
lea eax, [edi + 0x148]
imul ecx, ebx, 0x148
push ecx
push edi
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
push 0x148
push esi
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc ebx
mov dword [0x4e4134], ebx
jne 0x46cff0
xor ecx, ecx
xor edx, edx
push 0x4ca720
jmp 0x46de34
push 0x148
push esi
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [0x4e4134], 1
jmp 0x46cff0
mov ecx, dword [esp + 0x88]
jmp 0x46e1dc
mov ecx, 8
mov edx, 0x520
call fcn.00413450
ud2
mov ecx, 4
xor edx, edx
mov edi, ebx
jmp 0x46de8f
cmp dword [esp + 0x8c], 0
je 0x46e201
push dword [esp + 0x88]
push 0
push dword [0x4e4100]
call sub.kernel32.dll_HeapFree
mov edi, dword [esp + 0x24]
jmp 0x46cf27
mov ecx, ebx
push 0x4c848c
call fcn.004475b0
add esp, 4
ud2
mov ebx, dword [esp + 0xc]
mov ecx, 4
mov edx, 8
call fcn.00413450
ud2