Function at 0x46bd80
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, 0x8d0
mov eax, dword [ecx + 4]
mov dword [esp + 0x68], edx
lea ecx, [eax - 1]
test eax, eax
cmove ecx, eax
cmp dword [0x4ab050], 0x80000000
mov dword [esp + 0x10], ecx
jne 0x46c245
movzx eax, byte [0x52314c]
mov ecx, 0x520
mov edx, 8
call fcn.00404a60
test eax, eax
je 0x46d7b2
mov dword [esp + 0x218], 0
mov dword [esp + 0x21c], 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x220], 0
push 0
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x46c13b
mov esi, eax
lea eax, [esp + 0x464]
push 0x424
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x460], 0x428
lea eax, [esp + 0x460]
push eax
push esi
call sub.kernel32.dll_Module32FirstW
cmp eax, 1
jne 0x46c135
xor edi, edi
mov dword [esp + 0x1c], 4
mov dword [esp + 0x14], esi
jmp 0x46bed7
mov ecx, dword [esp + 0x21c]
mov edi, dword [esp + 0x220]
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 + 0x220], edi
mov esi, dword [esp + 0x14]
nop word [eax + eax]
lea eax, [esp + 0x460]
push eax
push esi
call sub.kernel32.dll_Module32NextW
cmp eax, 1
jne 0x46c135
mov ecx, 0x208
xor eax, eax
nop
cmp word [esp + eax*2 + 0x680], 0
je 0x46bef6
inc eax
add ecx, 0xfffffffe
jne 0x46bee0
mov eax, 0x104
lea edx, [esp + 0x680]
lea ecx, [esp + 0x320]
push eax
call fcn.0046abd0
add esp, 4
mov ebx, dword [esp + 0x324]
mov edx, ebx
lea ecx, [esp + 0xd0]
push dword [esp + 0x328]
call fcn.0046db00
add esp, 4
cmp dword [esp + 0xd0], 0
je 0x46c116
mov eax, dword [esp + 0xd4]
mov esi, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x20], eax
mov edx, esi
mov dword [esp + 8], ecx
push 0
push 0x40
push 0
push 0
call fcn.004191d0
add esp, 0x10
test eax, eax
je 0x46c100
cmp edx, 0x40
jb 0x46c100
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x46c100
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.004191d0
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], eax
je 0x46c100
xor eax, eax
add dword [esp + 4], 0x78
setb cl
cmp edx, 0x78
jb 0x46c100
mov edx, dword [esp + 0xc]
cmp dword [edx], 0x4550
jne 0x46c100
mov edx, dword [esp + 0xc]
movzx edx, word [edx + 0x18]
cmp edx, 0x10b
jne 0x46c100
mov edx, dword [esp + 0xc]
movzx edx, word [edx + 0x14]
cmp dx, 0x60
jb 0x46c100
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.004191d0
add esp, 0x10
test eax, eax
je 0x46c100
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x74]
cmp eax, 0x1fffffff
ja 0x46c100
shl eax, 3
cmp eax, edx
ja 0x46c100
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 0x34]
mov eax, dword [esp + 0x474]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x320]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x328]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x32c]
mov dword [esp + 0x38], eax
movzx eax, byte [0x52314c]
mov ecx, 8
mov edx, 4
call fcn.00404a60
test eax, eax
je 0x46d7cb
mov ecx, dword [esp + 0x478]
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 0x46beb3
cmp edi, dword [esp + 0x218]
mov ecx, dword [esp + 0x1c]
jne 0x46be63
lea ecx, [esp + 0x218]
mov edx, edi
call fcn.0046e270
jmp 0x46be55
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 + 0x320], 0
je 0x46bec0
mov ecx, ebx
mov edx, 1
call fcn.00404ac0
jmp 0x46bec0
push esi
call sub.kernel32.dll_CloseHandle
mov edi, dword [0x4ab050]
mov eax, dword [esp + 0x220]
movsd xmm0, qword [esp + 0x218]
cmp edi, 0x80000000
mov dword [esp + 0x468], eax
movsd qword [esp + 0x460], xmm0
je 0x46c20a
mov ebx, dword [0x4ab058]
mov eax, dword [0x4ab054]
test ebx, ebx
mov dword [esp + 8], eax
je 0x46c1bd
mov eax, dword [esp + 8]
lea esi, [eax + 0x14]
jmp 0x46c196
add esi, 0x20
dec ebx
je 0x46c1bd
cmp dword [esi - 0x14], 0
je 0x46c1a9
mov ecx, dword [esi - 0x10]
mov edx, 1
call fcn.00404ac0
cmp dword [esi - 4], 0
je 0x46c190
mov ecx, dword [esi]
mov edx, 4
call fcn.00404ac0
jmp 0x46c190
test edi, edi
je 0x46c1cf
mov ecx, dword [esp + 8]
mov edx, 4
call fcn.00404ac0
mov ebx, dword [0x4ab064]
mov esi, dword [0x4ab060]
lea ecx, [esi + 8]
inc ebx
nop
cmp ebx, 1
je 0x46c1f5
lea edi, [ecx + 0x148]
dec ebx
call fcn.0046e310
mov ecx, edi
jmp 0x46c1e0
cmp dword [0x4ab05c], 0
je 0x46c20a
mov ecx, esi
mov edx, 8
call fcn.00404ac0
mov eax, dword [esp + 0x468]
movq xmm0, qword [esp + 0x460]
mov ecx, dword [esp + 0x18]
mov dword [0x4ab058], eax
movq qword [0x4ab050], xmm0
mov dword [0x4ab05c], 4
mov dword [0x4ab060], ecx
mov dword [0x4ab064], 0
mov ecx, dword [0x4ab058]
test ecx, ecx
je 0x46d4bc
mov edi, dword [0x4ab054]
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 0x46c2c0
mov eax, ebx
add esi, 0xfffffff8
add ebx, 8
mov ecx, dword [eax]
add ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
ja 0x46c290
add ecx, dword [eax + 4]
cmp ecx, dword [esp + 0x10]
jbe 0x46c290
jmp 0x46c2ce
mov eax, dword [esp + 0x20]
inc eax
cmp edi, edx
jne 0x46c26a
jmp 0x46d4bc
mov esi, dword [0x4ab064]
mov ecx, dword [esp + 0x20]
test esi, esi
je 0x46c304
mov ebx, dword [0x4ab060]
imul eax, esi, 0x148
xor edx, edx
xor edi, edi
nop dword [eax]
cmp dword [ebx + edx], ecx
je 0x46c5e7
add edx, 0x148
inc edi
cmp eax, edx
jne 0x46c2f0
mov edx, dword [esp + 0x14]
cmp edx, ecx
jbe 0x46d369
mov esi, dword [esp + 4]
mov eax, ecx
shl eax, 5
mov edx, dword [esi + eax + 4]
lea ecx, [esp + 0x460]
push dword [esi + eax + 8]
call fcn.0046db00
add esp, 4
cmp dword [esp + 0x460], 0
je 0x46d4bc
mov ebx, dword [esp + 0x464]
mov esi, dword [esp + 0x468]
mov edx, dword [esp + 0x46c]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 4
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 4
mov dword [esp + 0x94], 0
mov ecx, esi
mov dword [esp + 0x14], edx
push 0
push 0x40
push 0
push 0
call fcn.004191d0
add esp, 0x10
test eax, eax
je 0x46d4a4
cmp edx, 0x40
jb 0x46d4a4
movzx ecx, word [eax]
cmp ecx, 0x5a4d
jne 0x46d4a4
mov edi, dword [eax + 0x3c]
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push 0x78
push 0
push edi
call fcn.004191d0
add esp, 0x10
test eax, eax
mov dword [esp + 4], eax
je 0x46d4a4
add edi, 0x78
setb al
cmp edx, 0x78
jb 0x46d4a4
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x4550
jne 0x46d4a4
mov ecx, dword [esp + 4]
movzx ecx, word [ecx + 0x18]
cmp ecx, 0x10b
jne 0x46d4a4
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 0x46d4a4
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.004191d0
add esp, 0x10
test eax, eax
je 0x46d4a4
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x74]
cmp eax, 0x1fffffff
ja 0x46d4a4
shl eax, 3
cmp eax, edx
ja 0x46d4a4
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.004191d0
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 0x46d4a4
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xc]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x46d373
mov eax, dword [ecx + 0x10]
mov ecx, 0x12
mov dword [esp + 0x24], eax
mul ecx
jo 0x46d4a4
mov edx, dword [esp + 0x14]
mov ecx, esi
push 0
push eax
push 0
push dword [esp + 0x38]
mov edi, eax
call fcn.004191d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x28], eax
je 0x46d4a4
add dword [esp + 0x2c], edi
setb cl
cmp edi, edx
ja 0x46d4a4
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.004191d0
add esp, 0x10
test eax, eax
je 0x46d4a4
cmp edx, 4
jb 0x46d4a4
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 + 0x44], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], eax
je 0x46d77c
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
xor edx, edx
mov eax, 4
xor ecx, ecx
jmp 0x46d4f4
test edi, edi
je 0x46c691
mov dword [esp + 0x20], esi
imul esi, edi, 0x148
lea ecx, [ebx + esi]
mov dword [esp + 0x14], ecx
lea eax, [esp + 0xd0]
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 [0x4ab064], esi
cmp esi, dword [0x4ab05c]
jne 0x46c659
mov ecx, esi
call fcn.00472f70
mov ebx, dword [0x4ab060]
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 + 0xd4]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [0x4ab064], eax
jmp 0x46c695
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 0x46c732
xor ecx, ecx
mov eax, edi
jmp 0x46c6d6
mov eax, edi
sub eax, ecx
jbe 0x46c73d
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 0x46c736
cmp edi, edx
mov edi, eax
sbb ecx, esi
jb 0x46c718
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 0x46c6d0
inc eax
mov ecx, eax
jmp 0x46c6d0
xor ecx, ecx
jmp 0x46c73d
mov ebx, dword [esp + 0x2c]
inc eax
mov ecx, eax
mov edx, dword [esp + 0x1c]
cmp ecx, edx
ja 0x46d7c1
mov edi, dword [esp + 0x10]
mov esi, 3
test ecx, ecx
je 0x46c854
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 0x46c78c
add esi, 0xffffffe0
add ecx, 0x20
je 0x46c84a
cmp edi, dword [esi + 0x10]
mov edx, 0
sbb edx, dword [esi + 0x14]
jae 0x46c84a
cmp edi, dword [esi + 8]
mov edx, 0
sbb edx, dword [esi + 0xc]
jae 0x46c780
cmp edi, dword [esi]
mov edx, 0
sbb edx, dword [esi + 4]
jb 0x46c780
mov ecx, dword [esi + 0x18]
mov edx, dword [ebx + 0x110]
cmp ecx, edx
jae 0x46d76c
imul edx, ecx, 0x150
add edx, dword [ebx + 0x10c]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x460]
push dword [esp + 8]
call fcn.00473020
add esp, 4
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x460], 0
mov ecx, dword [esp + 8]
mov dword [esp + 0x220], eax
mov dword [esp + 0x218], edi
mov dword [esp + 0x21c], 0
mov dword [esp + 0x224], ecx
je 0x46c85b
lea eax, [esp + 0x468]
lea ecx, [esp + 0x330]
lea edx, [esp + 0x218]
push eax
call fcn.00473450
add esp, 4
mov dword [esp + 0x32c], 0
jmp 0x46c914
mov esi, 3
jmp 0x46cbdf
xor eax, eax
jmp 0x46cbdf
movsd xmm0, qword [esp + 0x488]
mov eax, dword [esp + 0x46c]
movsd xmm1, qword [esp + 0x218]
movsd xmm2, qword [esp + 0x220]
movsd qword [esp + 0x358], xmm0
movsd xmm0, qword [esp + 0x480]
mov dword [esp + 0xe8], eax
movsd qword [esp + 0x350], xmm0
movsd xmm0, qword [esp + 0x478]
movsd qword [esp + 0x348], xmm0
movsd xmm0, qword [esp + 0x470]
movsd qword [esp + 0x340], xmm0
movsd xmm0, qword [esp + 0x464]
movsd qword [esp + 0x328], xmm2
movsd qword [esp + 0x320], xmm1
movsd qword [esp + 0xe0], xmm0
movsd qword [esp + 0x330], xmm0
movsd qword [esp + 0xd0], xmm1
movsd qword [esp + 0xd8], xmm2
movq xmm0, qword [esp + 0xe8]
movq qword [esp + 0x338], 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 + 0x460], xmm0
mov dword [esp + 0x474], ecx
mov dword [esp + 0x470], eax
mov dword [esp + 0x478], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x480], edx
mov dword [esp + 0x484], esi
mov dword [esp + 0x488], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48c], ecx
mov dword [esp + 0x490], edi
mov dword [esp + 0x494], 0
mov byte [esp + 0x498], 0
mov dword [esp + 0x4a0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x4a4], eax
lea eax, [esp + 0x460]
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x320]
push eax
call fcn.00476590
add esp, 4
cmp byte [esp + 0x148], 2
je 0x46cbd1
nop word cs:[eax + eax]
nop dword [eax]
movsd xmm1, qword [esp + 0xe0]
movq xmm0, qword [esp + 0xe8]
movsd xmm2, qword [esp + 0xd0]
mov ecx, 0x1a
lea edi, [esp + 0x320]
lea esi, [esp + 0xf0]
movsd qword [esp + 0x470], xmm1
movsd xmm1, qword [esp + 0xd8]
movq qword [esp + 0x478], xmm0
movsd qword [esp + 0x460], xmm2
movsd qword [esp + 0x468], xmm1
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x478]
lock dec dword [eax]
jne 0x46ca45
lea ecx, [esp + 0x478]
call fcn.00476c20
mov eax, dword [esp + 0x330]
mov edx, dword [esp + 0x338]
movzx ecx, byte [eax + 0x138]
cmp ecx, 0x4b
je 0x46ca77
cmp ecx, 0x4c
jne 0x46caa6
mov byte [eax + 0x138], 0x4b
mov dword [eax + 0x13c], 0
jmp 0x46ca95
mov esi, dword [eax + 0x13c]
test esi, esi
je 0x46ca95
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 0x46caf6
mov edx, dword [edx]
mov cl, 0x4b
mov dword [esp + 8], 0
add edx, 8
jmp 0x46caf6
movzx edx, byte [eax + 0x13b]
mov byte [esp + 0x21a], dl
movzx edx, word [eax + 0x139]
mov word [esp + 0x218], dx
movzx ebx, byte [eax + 0x140]
mov edx, dword [eax + 0x13c]
mov dword [esp + 8], ebx
mov bh, byte [eax + 0x143]
mov byte [esp + 0x9a], bh
movzx esi, word [eax + 0x141]
mov word [esp + 0x98], si
mov eax, dword [eax + 0x144]
movzx ebx, byte [esp + 0x21a]
movzx esi, word [esp + 0x218]
lea edi, [esp + 0x478]
mov byte [edi - 0x15], bl
mov word [edi - 0x17], si
movzx ebx, byte [esp + 0x9a]
movzx esi, word [esp + 0x98]
mov word [edi - 0xf], si
mov byte [edi - 0xd], bl
mov byte [esp + 0x460], cl
mov ecx, dword [esp + 8]
mov dword [esp + 0x464], edx
mov byte [esp + 0x468], cl
mov dword [esp + 0x46c], eax
lea edx, [esp + 0x320]
lea eax, [esp + 0x460]
lea ecx, [esp + 0x898]
push eax
call fcn.00473450
add esp, 4
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x218]
mov dword [esp + 0x894], 0
mov ecx, 0x12
lea esi, [esp + 0x340]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x888]
lea ecx, [esp + 0x460]
push eax
call fcn.00476590
add esp, 4
push 0x88
lea eax, [esp + 0x464]
push eax
lea eax, [esp + 0xd8]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x148], 2
jne 0x46c9d0
mov eax, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
add ebx, 8
test eax, eax
jne 0x46d2dc
mov eax, dword [esp + 0xf8]
mov ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x40], eax
lea eax, [esi - 3]
cmp eax, 2
cmovb ecx, eax
test ecx, ecx
je 0x46cd1d
mov ebx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe0]
cmp ecx, 1
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0xf0]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x100]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x104]
mov dword [esp + 0x4c], edi
lea edi, [ecx + 0x10]
mov dword [esp + 0x60], edi
lea edi, [ecx + 0x110]
mov dword [esp + 0x74], edi
mov dword [esp + 0x3c], ebx
lea ebx, [ecx + 0x108]
lea ecx, [ecx + 0x10c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], ecx
jne 0x46cd24
cmp eax, 2
jb 0x46cccc
cmp dword [esp + 0x40], 0
je 0x46cccc
mov ecx, dword [esp + 0x48]
mov edx, 4
call fcn.00404ac0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
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.00479930
add esp, 4
mov edi, eax
jmp 0x46cf05
xor ebx, ebx
jmp 0x46d2b6
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 + 0x4c]
je 0x46cdfe
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 + 0x44], edx
setne bl
test edx, edx
setne bh
or ecx, dword [esi + 4]
je 0x46cebe
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
je 0x46cebe
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
cmp eax, 2
jne 0x46ce73
mov edx, dword [esp + 0x60]
lea edi, [esp + 0x460]
mov ecx, edi
call fcn.00476c90
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xd0]
push dword [esp + 0x6c]
push edi
call fcn.00476ff0
add esp, 8
mov edi, dword [esp + 0x5c]
cmp dword [edi], 2
jne 0x46ce65
movsd xmm0, qword [esp + 0xd0]
movsd xmm1, qword [esp + 0xd8]
movsd qword [edi], xmm0
movq xmm0, qword [esp + 0xe0]
movsd qword [edi + 8], xmm1
movq qword [edi + 0x10], xmm0
jmp 0x46ce71
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x46ce19
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 0x18]
movzx esi, word [ecx + 0x148]
jmp 0x46ce1d
mov si, 2
cmp dword [esp + 0x40], 0
je 0x46ce36
mov ecx, dword [esp + 0x48]
mov ebx, edx
mov edx, 4
call fcn.00404ac0
mov edx, ebx
cmp si, 2
mov eax, dword [esp + 0x4c]
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 0x46cd04
jmp 0x46cf05
lea ecx, [esp + 0xd0]
call fcn.004798a0
mov eax, dword [edi]
mov ecx, dword [esp + 0x74]
test eax, eax
mov edx, 1
cmovne eax, edx
cmove ecx, dword [esp + 0x70]
test eax, eax
je 0x46ce9c
cmp byte [ecx], 0x4b
mov eax, dword [esp + 8]
jne 0x46d362
mov ecx, dword [ecx + 4]
jmp 0x46cea0
mov eax, dword [esp + 8]
test ecx, ecx
je 0x46cebe
cmp dword [ecx + 4], eax
mov edx, eax
jbe 0x46cebe
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 0x46cebe
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 0x46d332
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 + 0x44]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x460], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x468], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x46c], esi
mov dword [esp + 0x470], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x474], ebx
mov dword [esp + 0x478], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x47c], edi
mov dword [esp + 0x480], edx
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x460]
push ecx
push dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
call eax
add esp, 8
mov eax, dword [esp + 8]
nop word [eax + eax]
mov dword [esp + 8], eax
add eax, 0xfffffffd
cmp eax, 2
mov ecx, eax
jb 0x46cf93
mov ecx, 2
cmp ecx, 1
je 0x46d050
cmp ecx, 2
jne 0x46d2b4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
je 0x46d12f
mov edi, dword [eax - 4]
mov dword [esp + 0x64], 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 + 0x7c], edx
setne bl
test edx, edx
setne bh
or ecx, dword [edi + 4]
je 0x46cfff
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx]
xor eax, 0x2f
or eax, dword [ecx + 4]
jne 0x46d1c1
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 0x46d194
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov edi, dword [edi + 0x14]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
jmp 0x46d0bc
cmp eax, 2
jb 0x46d06a
cmp dword [esp + 0x40], 0
je 0x46d06a
mov ecx, dword [esp + 0x48]
mov edx, 4
call fcn.00404ac0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
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.00479930
add esp, 4
mov ebx, eax
mov edi, edx
mov eax, dword [esp + 8]
mov dword [esp + 0x460], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x468], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x46c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x470], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x474], esi
mov dword [esp + 0x478], eax
mov dword [esp + 0x47c], ebx
mov dword [esp + 0x480], edi
lea eax, [esp + 0x460]
push eax
push dword [esp + 0x6c]
call dword [esp + 0x4c]
add esp, 8
mov eax, dword [esp + 4]
jmp 0x46cf80
mov eax, dword [esp + 0x78]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x46d235
mov ecx, dword [esp + 0x34]
mov edi, dword [eax + 0x18]
movzx esi, word [ecx + 0x148]
cmp dword [esp + 0x40], 0
je 0x46d161
mov ecx, dword [esp + 0x48]
mov edx, 4
call fcn.00404ac0
cmp si, 2
mov eax, dword [esp + 0x4c]
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 0x46d0a6
jmp 0x46d0bc
mov esi, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
jmp 0x46d0a6
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
cmp eax, 2
jne 0x46d257
mov edx, dword [esp + 0x60]
lea esi, [esp + 0x460]
mov ecx, esi
call fcn.00476c90
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xd0]
push dword [esp + 0x6c]
push esi
call fcn.00476ff0
add esp, 8
mov esi, dword [esp + 0x5c]
cmp dword [esi], 2
jne 0x46d249
movsd xmm0, qword [esp + 0xd0]
movsd xmm1, qword [esp + 0xd8]
movsd qword [esi], xmm0
movq xmm0, qword [esp + 0xe0]
movsd qword [esi + 8], xmm1
movq qword [esi + 0x10], xmm0
jmp 0x46d255
mov si, 2
cmp dword [esp + 0x40], 0
jne 0x46d153
jmp 0x46d161
lea ecx, [esp + 0xd0]
call fcn.004798a0
mov eax, dword [esi]
mov ecx, dword [esp + 0x74]
test eax, eax
mov edx, 1
cmovne eax, edx
cmove ecx, dword [esp + 0x70]
test eax, eax
je 0x46d287
cmp byte [ecx], 0x4b
mov eax, dword [esp + 4]
jne 0x46d35b
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x46d293
jmp 0x46cfff
mov eax, dword [esp + 4]
test ecx, ecx
je 0x46cfff
cmp dword [ecx + 4], eax
mov edx, eax
jbe 0x46cfff
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 + 0x64], edx
jmp 0x46cfff
mov bl, 1
cmp eax, 2
jb 0x46d2d0
cmp dword [esp + 0x40], 0
je 0x46d2d0
mov ecx, dword [esp + 0x48]
mov edx, 4
call fcn.00404ac0
test bl, bl
mov ebx, dword [esp + 0x2c]
jne 0x46d4bc
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 0
call fcn.00479930
add esp, 4
test eax, eax
je 0x46d4bc
mov dword [esp + 0x460], 3
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x468], edx
mov dword [esp + 0x46c], eax
lea eax, [esp + 0x460]
push eax
push dword [esp + 0x6c]
mov eax, dword [ebp + 8]
call dword [eax + 0x10]
add esp, 8
jmp 0x46d4bc
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 + 0x44]
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], ecx
jmp 0x46cd04
mov bl, 1
jmp 0x46d2bb
xor ebx, ebx
jmp 0x46d2bb
push 0x504b80
call fcn.0040cf20
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 4
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
mov ecx, 4
mov dword [esp + 0x44], 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 0x46d3c8
bsr esi, edx
xor esi, 0x1f
sub eax, esi
push eax
push 0
call fcn.0046e3a0
add esp, 8
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0xc]
cmp eax, 0x80000000
je 0x46d4a4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x98], esi
mov dword [esp + 0x8b0], 0x80000000
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x888]
lea edx, [esp + 0x98]
lea ecx, [esp + 0x460]
push eax
push eax
call fcn.0046ec90
add esp, 8
mov edi, dword [esp + 0x488]
cmp edi, 0x80000000
jne 0x46d576
lea ecx, [esp + 0x80]
call fcn.00472ec0
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 + 0x54]
mov edx, dword [esp + 0x58]
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 + 0x58], edx
mov esi, dword [esp + 0x38]
lea ecx, [ecx + esi + 1]
cmp ecx, edi
jae 0x46d776
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 0x46d56d
movzx edi, word [ebx + ecx*2 + 0xe]
and edi, 0x30
cmp di, 0x20
jne 0x46d569
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 0x46d790
test ebx, ebx
je 0x46d790
mov esi, dword [esp + 0x28]
lea esi, [esi + ecx*2]
mov edi, dword [esi + 8]
add edi, dword [esp + 0x4c]
add edi, dword [ebx + 0xc]
cmp edx, dword [esp + 0x50]
jne 0x46d4cc
lea ecx, [esp + 0x50]
call fcn.0046ebf0
jmp 0x46d4c4
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 4]
jmp 0x46d4e4
movsd xmm2, qword [esp + 0x478]
movsd xmm1, qword [esp + 0x470]
movsd xmm0, qword [esp + 0x480]
lea eax, [esp + 0x48c]
movsd qword [esp + 0x338], xmm2
movsd qword [esp + 0x330], xmm1
movsd xmm2, qword [esp + 0x460]
movsd xmm1, qword [esp + 0x468]
movsd qword [esp + 0x340], xmm0
movsd qword [esp + 0x328], xmm1
movsd qword [esp + 0x320], xmm2
lea ecx, [esp + 0x218]
push 0xec
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0x88]
movq xmm0, qword [esp + 0x80]
lea eax, [esp + 0x34c]
movsd qword [esp + 0x30c], xmm1
movsd xmm1, qword [esp + 0x90]
movq qword [esp + 0x304], xmm0
movsd qword [esp + 0x314], xmm1
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x348], edi
mov edi, dword [0x4ab064]
mov dword [esp + 0x450], ebx
mov dword [esp + 0x454], esi
mov eax, dword [esp + 0x14]
mov esi, dword [0x4ab05c]
cmp edi, 4
mov dword [esp + 0x458], eax
jne 0x46d6ba
mov dword [0x4ab064], 3
mov eax, 0x3d8
add eax, dword [0x4ab060]
push 0x148
push eax
lea eax, [esp + 0x468]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x490], 0x80000000
je 0x46d6b5
lea ecx, [esp + 0x468]
call fcn.0046e310
mov edi, 3
lea ebx, [esp + 0x468]
lea eax, [esp + 0x320]
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 + 0x460], eax
jne 0x46d6ed
mov ecx, esi
call fcn.00472f70
mov ebx, dword [0x4ab060]
test edi, edi
je 0x46d743
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 + 0x464]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
inc edi
mov dword [0x4ab064], edi
mov edi, dword [esp + 0x10]
jne 0x46c695
xor ecx, ecx
xor edx, edx
push 0x504b90
call fcn.0040cf20
push 0x148
lea eax, [esp + 0x464]
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edi, dword [esp + 0x10]
mov dword [0x4ab064], 1
jmp 0x46c695
push 0x502efc
call fcn.0040cf20
mov ecx, dword [esp + 0x54]
jmp 0x46d783
mov ecx, 4
xor edx, edx
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
jmp 0x46d3b4
cmp dword [esp + 0x50], 0
je 0x46d7a5
mov ecx, dword [esp + 0x54]
mov edx, 4
call fcn.00404ac0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
jmp 0x46d4a4
mov ecx, 8
mov edx, 0x520
call fcn.00404f40
push 0x502eec
call fcn.0040d890
mov esi, dword [esp + 4]
mov ecx, 4
mov edx, 8
call fcn.00404f40
ud2