Function at 0x476ff0
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x200
mov eax, dword [ebp + 8]
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 8
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 8
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 0
lea edi, [esp + 0xa8]
mov ecx, 0x12
movsd xmm0, qword [eax + 0x38]
movsd xmm1, qword [eax + 8]
lea esi, [eax + 0x48]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x70], xmm0
movsd xmm0, qword [eax]
movsd qword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x4ac8b0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x94]
mov dword [esp + 0xf4], ecx
mov ecx, dword [eax + 0x91]
movzx eax, byte [eax + 0x90]
mov dword [esp + 0xf1], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebx
mov byte [esp + 0xf0], al
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
movups xmmword [esp + 0x108], xmm0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov byte [esp + 0x130], 0
mov byte [esp + 0x131], al
call 0x47717e
pop eax
mov dword [esp + 0x132], 0
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x160]
mov dword [esp + 0x1a8], eax
xor eax, eax
jmp 0x4771ef
mov eax, dword [esp + 0x4c]
lea ecx, [edx + edx*2]
mov edi, dword [esp + 8]
inc edx
mov dword [eax + ecx*8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*8 + 4], esi
mov dword [eax + ecx*8 + 8], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*8 + 0xc], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x10], edi
mov dword [eax + ecx*8 + 0x14], ebx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x28]
movzx eax, byte [esp + 0x133]
test al, al
je 0x477266
movzx eax, byte [esp + 0xf0]
movaps xmm0, xmmword [0x4ac8b0]
lea ecx, [esp + 0xf8]
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
lea ecx, [esp + 0xa8]
movups xmmword [esp + 0x108], xmm0
mov byte [esp + 0x130], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x78], 0
mov byte [esp + 0x131], al
mov byte [esp + 0x133], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov byte [esp + 0x132], 0
mov word [esp + 0x134], 0
mov ecx, dword [esp + 0x13c]
test ecx, ecx
je 0x478997
mov dword [esp + 0x28], edx
jmp 0x4772ec
mov edx, dword [esp + 0x138]
lea edi, [ecx - 1]
lea ebx, [edx + 1]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], edi
movzx eax, byte [edx]
test eax, eax
je 0x4773f0
cmp al, byte [esp + 0xf5]
mov dword [esp + 0x14], ebx
mov ebx, eax
jae 0x477470
dec eax
mov dword [esp + 8], ebx
mov dword [esp + 0x24], ecx
cmp eax, 0xb
ja 0x477b60
mov eax, dword [eax*4 + 0x4797e0]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
xor ebx, ebx
mov ecx, 0x2f
xor esi, esi
add eax, dword [esp + 0x44]
jmp eax
test edi, edi
je 0x478709
lea eax, [ecx - 2]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], eax
nop dword [eax]
movzx eax, byte [ebx]
cmp ecx, 0x3f
jne 0x477420
cmp al, 2
jae 0x4785b0
mov esi, ebx
mov ebx, eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x14], edi
mov edi, 0
and bl, 0x7f
movzx ebx, bl
shld eax, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne eax, ebx
cmovne ebx, edi
mov edi, dword [esp + 0x14]
or edx, eax
mov eax, dword [esp + 8]
or edi, ebx
lea ebx, [esi + 1]
test al, al
jns 0x477484
add ecx, 7
add dword [esp + 0x1c], 0xffffffff
jb 0x477410
jmp 0x4785c0
mov dword [esp + 0x10], 0
mov ecx, 0x2e
mov eax, ebx
jmp 0x4777a0
test edx, edx
mov dword [esp + 0x14], edi
jne 0x478663
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub edx, ecx
jb 0x478670
lea eax, [ebx + ecx]
test ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], edx
je 0x478684
lea edx, [esi + 2]
lea ebx, [ecx - 1]
mov dword [esp + 0x1ac], edx
movzx ecx, byte [esi + 1]
lea eax, [ecx - 1]
cmp eax, 3
ja 0x477d20
mov eax, dword [eax*4 + 0x479810]
mov edi, dword [esp + 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, 0x3e
xor esi, esi
add eax, dword [esp + 0x44]
jmp eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x20], 0
xor ebx, ebx
xor esi, esi
mov eax, ecx
mov dword [esp + 0x1c], edi
mov edi, ecx
mov ecx, esi
movsd xmm1, qword [esp + 0x150]
movsd xmm0, qword [esp + 0x158]
movsd xmm2, qword [esp + 0x140]
mov edx, dword [esp + 0x28]
add eax, 0xffffffd2
adc ecx, 0xffffffff
cmp eax, 0x15
sbb ecx, 0
mov ecx, 0x12
cmovae eax, ecx
movsd qword [esp + 0x1d0], xmm1
movsd xmm1, qword [esp + 0x148]
movsd qword [esp + 0x1d8], xmm0
movsd qword [esp + 0x1c0], xmm2
mov eax, dword [eax*4 + 0x479840]
movsd qword [esp + 0x1c8], xmm1
add eax, dword [esp + 0x44]
jmp eax
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov ecx, dword [esp + 8]
dec cl
mov dword [esp + 0x1c], edi
movzx ecx, cl
cmp eax, ecx
jb 0x4786d9
add ebx, ecx
cmp eax, ecx
je 0x4786d9
movzx ebx, byte [ebx]
test ebx, ebx
je 0x478293
mov eax, dword [esp + 0x1c]
cmp ebx, 1
jne 0x4782b9
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x478710
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edx
add edx, 2
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
xor ecx, ecx
lea esi, [eax - 2]
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ebx, byte [edx - 1]
cmp ecx, 0x3f
mov dword [esp + 0x1c], esi
jne 0x477bf6
cmp bl, 2
jae 0x4785b0
mov eax, ebx
mov edi, 0
and al, 0x7f
movzx esi, al
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
cmovne eax, esi
cmovne esi, edi
or dword [esp + 0x18], eax
or dword [esp + 0xc], esi
mov eax, ebx
test al, al
jns 0x47856f
mov esi, dword [esp + 0x1c]
add ecx, 7
inc edx
add esi, 0xffffffff
jb 0x477be0
jmp 0x4785c0
mov eax, edx
mov dword [esp + 8], ecx
mov ecx, edx
mov dword [esp + 0x24], 0
and eax, 0xff00
and ecx, 0xffff0000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov ecx, 0x42
jmp 0x4783fc
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0
mov ecx, 0x3b
mov dword [esp + 0x20], ebx
jmp 0x4777b2
mov esi, dword [esp + 0x14]
mov edx, ebx
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], esi
xor esi, esi
test eax, eax
je 0x478705
mov edi, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], eax
lea esi, [eax - 1]
xor edx, edx
mov dword [esp + 0x10], 0
xor ecx, ecx
inc edi
nop word cs:[eax + eax]
nop dword [eax]
mov dword [esp + 0xc], edx
movzx edx, byte [edi - 1]
cmp ecx, 0x3f
jne 0x478316
cmp dl, 2
jae 0x478676
mov eax, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], esi
xor edi, edi
and al, 0x7f
movzx esi, al
mov eax, 0
shld edi, esi, cl
shl esi, cl
test cl, 0x20
cmovne edi, esi
cmovne esi, eax
mov eax, edx
mov edx, dword [esp + 0xc]
or dword [esp + 0x10], edi
or edx, esi
test al, al
jns 0x478360
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
add ecx, 7
inc edi
add esi, 0xffffffff
jb 0x478300
jmp 0x478692
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ebx, edx
mov dword [esp + 0x138], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
inc esi
mov dword [esp + 0x13c], edi
cmp esi, eax
mov eax, edi
jne 0x4782cb
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub eax, ebx
cmp dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
jb 0x4786d9
mov eax, ebx
mov ecx, 0x3d
xor esi, esi
and eax, 0xff00
mov dword [esp + 0x10], eax
mov eax, ebx
and eax, 0xffff0000
mov dword [esp + 0x20], eax
mov eax, ebx
xor ebx, ebx
mov dword [esp + 0xc], eax
jmp 0x4777b4
mov edi, dword [esp + 0x1c]
xor esi, esi
jmp 0x478480
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
jmp 0x4777b4
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x138], edx
xor ebx, ebx
xor esi, esi
mov ecx, eax
and eax, 0xffff0000
mov dword [esp + 0x13c], edi
and ecx, 0xff00
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
mov ecx, 0x3c
jmp 0x4777b4
mov edx, 6
xor edi, edi
xor esi, esi
jmp 0x478719
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x24]
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], 0
jmp 0x478710
mov ebx, dword [esp + 0x14]
mov edi, edx
mov edx, 0x35
jmp 0x47867f
mov dword [esp + 0x18], ebx
jmp 0x478684
mov edi, dword [esp + 0x40]
mov edx, 6
jmp 0x4785b7
mov edx, 0x13
xor edi, edi
xor esi, esi
jmp 0x478719
mov ebx, dword [esp + 0x30]
add ebx, dword [esp + 0x2c]
jmp 0x4785c8
xor esi, esi
mov edx, 0x13
jmp 0x478717
mov ebx, dword [esp + 0x30]
nop dword [eax]
xor esi, esi
mov edx, 0x13
xor edi, edi
movzx eax, al
movzx ecx, dl
shl esi, 0x10
mov dword [esp + 0x138], str.combase.dll
mov dword [esp + 0x13c], 0
shl eax, 8
or ecx, eax
or esi, ecx
mov edx, esi
cmp dl, 0x4b
jne 0x479486
cmp dword [esp + 0x18], 0
je 0x478997
cmp byte [ebx + 0x3b], 0
mov dword [esp + 0x5c], edi
je 0x4787f0
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x4771e7
mov edi, dword [esp + 0x38]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], edx
mov eax, dword [edi]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
cmp eax, esi
mov eax, dword [ebx]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], eax
jbe 0x4788bd
lea eax, [esi*8]
lea eax, [eax + eax*2]
mov dword [esp + 0x18], eax
push eax
push edi
push 0
push dword [0x5230f8]
call sub.kernel32.dll_HeapReAlloc
mov ebx, eax
test eax, eax
jne 0x4788bf
jmp 0x4796e3
mov eax, dword [ebx]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x3c]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x14]
mov ecx, edx
sub ecx, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
jb 0x478870
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x18], esi
mov esi, dword [eax + ecx*8]
mov ebx, dword [eax + ecx*8 + 4]
xor esi, dword [esp + 8]
xor ebx, edi
or esi, ebx
mov esi, dword [esp + 0x18]
jne 0x478870
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*8 + 0xc], edx
mov dword [eax + ecx*8 + 8], edi
mov dword [eax + ecx*8 + 0x10], esi
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x14], esi
jmp 0x4771e3
mov ebx, edi
mov edi, dword [esp + 8]
cmp edx, dword [esp + 0x34]
jne 0x47888d
lea ecx, [esp + 0x34]
call fcn.00479f60
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea ecx, [edx + edx*2]
inc edx
mov dword [eax + ecx*8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*8 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*8 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0xc], ebx
mov dword [eax + ecx*8 + 0x10], esi
mov dword [eax + ecx*8 + 0x14], edi
mov dword [esp + 0x3c], edx
jmp 0x4771e3
mov ebx, edi
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x48]
jne 0x4771b0
lea ecx, [esp + 0x48]
call fcn.00479f60
mov edx, dword [esp + 0x50]
jmp 0x4771b0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
cmp edx, 0x15
mov dword [esp + 0x30], eax
jae 0x4789c4
cmp edx, 1
jbe 0x479042
mov ecx, dword [esp + 0x30]
push 1
call fcn.00479e30
add esp, 4
jmp 0x479042
lea eax, [edx*4]
mov esi, edx
and eax, 0xfffffff8
lea ecx, [eax + eax*2]
movzx eax, byte [0x52314c]
mov edx, 8
call fcn.00404a60
test eax, eax
mov dword [esp + 8], eax
je 0x4796f3
movzx eax, byte [0x52314c]
mov ecx, pe_nt_image_headers32
mov edx, 4
call fcn.00404a60
test eax, eax
mov dword [esp + 0x14], eax
je 0x479707
mov eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x1a4], 0x10
mov dword [esp + 0x10], esi
lea ecx, [eax + 0x38]
add eax, 0xffffffe8
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x19c], ecx
jmp 0x478a52
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
cmp eax, edx
mov esi, edx
jae 0x479026
mov ecx, dword [esp + 0x30]
sub esi, eax
lea ebx, [eax + eax*2]
mov edx, eax
mov dword [esp + 0x20], edi
cmp esi, 2
mov dword [esp + 0xc], edx
lea ecx, [ecx + ebx*8]
mov dword [esp + 0x18], ecx
jae 0x478b40
mov eax, esi
mov edi, dword [esp + 0x20]
lea ecx, [eax + edx]
mov esi, ecx
sub esi, edx
jb 0x47967c
cmp ecx, dword [esp + 0x10]
ja 0x47967c
jae 0x478be0
cmp eax, 0xa
jae 0x478be0
mov ecx, dword [esp + 0x10]
lea esi, [edx + 0xa]
cmp esi, ecx
cmovae esi, ecx
mov dword [esp + 0x2c], esi
sub esi, edx
jb 0x479698
cmp eax, 1
adc eax, 0
mov ecx, dword [esp + 0x18]
mov edx, esi
push eax
call fcn.00479e30
add esp, 4
mov edx, dword [esp + 0xc]
cmp edi, dword [esp + 0x1a4]
jne 0x478bf1
movzx eax, byte [0x52314c]
mov ecx, edi
shl ecx, 4
mov edx, 4
call fcn.00404a60
test eax, eax
je 0x47969f
mov ecx, eax
lea eax, [edi + edi]
mov dword [esp + 0x1a4], eax
lea eax, [edi*8]
push eax
mov ebx, dword [esp + 0x18]
push ebx
push ecx
mov dword [esp + 0x28], ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, ebx
mov edx, 4
call fcn.00404ac0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
jmp 0x478bf5
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x20]
mov edi, dword [ecx + 0x24]
cmp esi, dword [ecx + 8]
mov eax, edi
sbb eax, dword [ecx + 0xc]
jae 0x478f20
cmp dword [esp + 0x1c], 2
mov eax, 2
je 0x478ba3
mov eax, dword [esp + 0x19c]
lea ebx, [eax + ebx*8]
mov eax, 2
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, edi
mov edx, esi
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, edx
mov edx, edi
sbb edx, ecx
jae 0x478b9f
inc eax
add ebx, 0x18
cmp dword [esp + 0x1c], eax
jne 0x478b80
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov esi, eax
add esi, edx
jb 0x4796c7
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov ecx, esi
cmp esi, edx
ja 0x4796b8
cmp eax, 2
jae 0x478f6c
mov edx, dword [esp + 0xc]
jmp 0x478a7e
mov dword [esp + 0x2c], ecx
cmp edi, dword [esp + 0x1a4]
je 0x478adf
mov eax, dword [esp + 0x14]
mov dword [eax + edi*8], esi
mov dword [eax + edi*8 + 4], edx
inc edi
mov dword [esp + 0x14], eax
cmp edi, 2
jb 0x478a40
mov edx, dword [esp + 0x10]
mov esi, eax
jmp 0x478c84
mov ecx, esi
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
sub ebx, eax
lea edx, [edi - 1]
mov dword [esp + 0x1c], edx
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
add eax, dword [esp + 0x18]
mov dword [esi + ecx*8 + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esi + ecx*8 + 0xc], eax
not ecx
lea eax, [edx + 8]
add ecx, edi
shl ecx, 3
push ecx
push eax
push edx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp edi, 1
jbe 0x478f10
mov eax, dword [esi + edi*8 - 8]
mov ecx, dword [esi + edi*8 - 4]
add ecx, eax
cmp ecx, edx
je 0x478ce0
mov edx, dword [esi + edi*8 - 0x10]
cmp edx, eax
jbe 0x478ce0
cmp edi, 2
jbe 0x479004
lea ecx, [edi - 3]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + edi*8 - 0x18]
lea esi, [edx + eax]
cmp ecx, esi
jbe 0x478ef9
cmp edi, 3
jbe 0x479014
mov esi, dword [esp + 0x14]
add edx, ecx
cmp dword [esi + edi*8 - 0x20], edx
mov esi, dword [esp + 0xc]
jbe 0x478cf0
jmp 0x479019
cmp edi, 3
jb 0x478cf4
mov ecx, dword [esp + 0x14]
lea esi, [edi - 3]
mov ecx, dword [ecx + edi*8 - 0x18]
cmp ecx, eax
jb 0x478cf7
lea esi, [edi - 2]
cmp edi, esi
jbe 0x479617
lea eax, [esi + 1]
cmp edi, eax
jbe 0x479605
mov edx, dword [esp + 0x14]
mov eax, dword [edx + esi*8 + 8]
mov ebx, dword [edx + esi*8 + 0xc]
mov ecx, dword [edx + esi*8 + 4]
add ebx, eax
mov edx, ebx
sub edx, ecx
mov dword [esp + 0x28], edx
jb 0x479654
mov edx, dword [esp + 0x10]
cmp ebx, edx
ja 0x479668
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], esi
mov edi, dword [edx + esi*8]
lea ecx, [ecx + eax*8]
mov dword [esp + 0x1c], ecx
lea eax, [edi + edi*2]
mov dword [esp + 0x18], edi
lea esi, [ecx + eax*8]
lea eax, [ebx + ebx*2]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xc]
sub ebx, edi
cmp ebx, edi
lea eax, [edx + eax*8]
mov dword [esp + 0x5c], eax
jae 0x478e40
lea eax, [ebx*8]
mov dword [esp + 0x28], ebx
lea ebx, [eax + eax*2]
push ebx
push esi
mov edi, dword [esp + 0x10]
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, edi
cmp dword [esp + 0x18], 0
jle 0x478c20
cmp dword [esp + 0x28], 0
jle 0x478c20
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
lea eax, [eax + ecx*8]
nop word cs:[eax + eax]
nop
mov ecx, dword [ebx - 0x10]
mov edx, dword [ebx - 0xc]
mov edi, 0
cmp ecx, dword [esi - 0x10]
sbb edx, dword [esi - 0xc]
setb dl
setb cl
adc edi, 0xffffffff
movzx edx, dl
neg edx
test cl, cl
lea edx, [edx + edx*2]
lea esi, [esi + edx*8]
lea edx, [edi + edi*2]
lea ebx, [ebx + edx*8]
mov ecx, ebx
cmovne ecx, esi
cmp esi, dword [esp + 0x1c]
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax], xmm0
movsd qword [eax + 0x10], xmm1
jbe 0x478c20
add eax, 0xffffffe8
cmp ebx, dword [esp + 8]
ja 0x478dd0
jmp 0x478c20
lea eax, [edi*8]
lea ebx, [eax + eax*2]
push ebx
mov eax, dword [esp + 0x20]
mov edi, eax
push eax
push dword [esp + 0x10]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
add ebx, dword [esp + 8]
test eax, eax
jle 0x478eea
cmp dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
jle 0x478ee2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 8]
nop word [eax + eax]
mov edx, dword [esi + 8]
cmp edx, dword [eax + 8]
mov edx, dword [esi + 0xc]
sbb edx, dword [eax + 0xc]
mov edx, eax
cmovb edx, esi
movsd xmm1, qword [edx + 8]
movsd xmm0, qword [edx]
movsd qword [edi + 8], xmm1
movsd xmm1, qword [edx + 0x10]
setae dl
movsd qword [edi], xmm0
movzx edx, dl
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
setb dl
movsd qword [edi + 0x10], xmm1
add edi, 0x18
cmp eax, ebx
jae 0x478eee
movzx edx, dl
lea edx, [edx + edx*2]
lea esi, [esi + edx*8]
cmp esi, ecx
jb 0x478e90
jmp 0x478eee
mov eax, dword [esp + 8]
mov esi, ecx
jmp 0x478ef2
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x14]
mov ecx, edi
jmp 0x478c2a
mov esi, dword [esp + 0xc]
cmp ecx, eax
jae 0x478cf4
jmp 0x478cf7
mov edi, 1
jmp 0x478a44
cmp dword [esp + 0x1c], 2
mov eax, 2
je 0x478a77
mov eax, dword [esp + 0x19c]
lea ebx, [eax + ebx*8]
mov eax, 2
nop
mov edx, edi
mov ecx, esi
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, ecx
mov ecx, edi
sbb ecx, edx
jb 0x47900b
inc eax
add ebx, 0x18
cmp dword [esp + 0x1c], eax
jne 0x478f40
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
jmp 0x478a77
mov esi, dword [esp + 0x58]
lea edi, [ecx + ecx*2]
mov edx, eax
shr edx, 1
lea esi, [esi + edi*8]
mov edi, dword [esp + 0x18]
nop
movsd xmm0, qword [edi + 0x10]
movsd qword [esp + 0x170], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0x168], xmm1
movsd qword [esp + 0x160], xmm0
movsd xmm0, qword [esi + 0x10]
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
add edi, 0x18
movsd xmm0, qword [esp + 0x170]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [esp + 0x160]
movsd xmm1, qword [esp + 0x168]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
add esi, 0xffffffe8
dec edx
jne 0x478f80
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
jmp 0x478a7e
mov edi, 2
jmp 0x479019
mov edx, dword [esp + 0xc]
jmp 0x478a77
mov edi, 3
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
jmp 0x478a48
mov ecx, dword [esp + 0x14]
mov edx, 4
call fcn.00404ac0
mov ecx, dword [esp + 8]
mov edx, 8
call fcn.00404ac0
cmp word [esp + 0xe2], 5
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 4
mov dword [esp + 0x148], 0
jae 0x479085
mov eax, dword [esp + 0x60]
xor eax, 0x2e
or eax, dword [esp + 0x64]
je 0x479119
lea eax, [esp + 0x60]
jmp 0x47909a
cmp dword [esp + 0xdc], 0
je 0x479119
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0x1a0]
lea esi, [esp + 0x60]
lea ecx, [esp + 0x160]
push dword [ebp + 0xc]
push esi
push eax
call fcn.0047a060
add esp, 0xc
movzx eax, byte [esp + 0x160]
cmp al, 0x4b
jne 0x47942c
mov eax, dword [esp + 0x164]
mov ebx, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov dword [esp + 8], eax
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x140]
xor edx, edx
call fcn.0047a310
mov esi, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
mov edi, dword [esp + 8]
lea ecx, [esi + esi*2]
mov dword [esp + 0x18], edx
mov dword [edx + ecx*4], edi
mov edi, dword [esp + 0x1c]
lea eax, [edx + ecx*4]
jmp 0x47914d
lea ecx, [esp + 0x140]
xor edx, edx
xor edi, edi
call fcn.0047a310
mov esi, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
mov ebx, 1
lea ecx, [esi + esi*2]
mov dword [esp + 0x18], edx
lea eax, [edx + ecx*4]
mov dword [edx + ecx*4], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
inc esi
xor edi, edi
mov ebx, 1
mov dword [esp + 8], esi
mov dword [esp + 0x148], esi
jmp 0x4791a4
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [edx + edx*2]
inc edx
mov dword [esp + 0x18], ecx
mov dword [ecx + eax*4], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 8], edx
mov dword [ecx + eax*4 + 4], esi
mov dword [ecx + eax*4 + 8], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x148], edx
add ebx, 1
adc edi, 0
cmp word [esp + 0xe2], 5
jae 0x4791d0
mov eax, ebx
or eax, edi
je 0x479267
lea eax, [ebx - 1]
cmp eax, dword [esp + 0xdc]
jae 0x47927c
imul eax, eax, 0x38
jmp 0x4791e0
cmp dword [esp + 0xdc], ebx
jbe 0x47927c
imul eax, ebx, 0x38
add eax, dword [esp + 0xd8]
mov edx, dword [esp + 0x1a0]
lea ecx, [esp + 0x160]
push dword [ebp + 0xc]
lea esi, [esp + 0x64]
push esi
push eax
call fcn.0047a060
add esp, 0xc
movzx eax, byte [esp + 0x160]
cmp al, 0x4b
jne 0x4792d0
mov edx, dword [esp + 8]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x168]
mov edi, dword [esp + 0x164]
mov ebx, dword [esp + 0x16c]
cmp edx, dword [esp + 0x140]
mov dword [esp + 0x1c], eax
jne 0x479170
lea ecx, [esp + 0x140]
call fcn.0047a310
mov ecx, dword [esp + 0x144]
mov edx, dword [esp + 0x148]
jmp 0x479174
mov eax, dword [esp + 0x60]
xor eax, 0x2e
or eax, dword [esp + 0x64]
lea eax, [esp + 0x60]
jne 0x4791e7
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x144]
cmp dword [esp + 0x140], eax
jbe 0x4794d3
test eax, eax
je 0x4794c2
lea eax, [eax*4]
lea ebx, [eax + eax*2]
push ebx
push edi
push 0
push dword [0x5230f8]
call sub.kernel32.dll_HeapReAlloc
mov edi, eax
test eax, eax
jne 0x4794d3
mov ecx, 4
mov edx, ebx
call fcn.00404f40
jmp 0x47971e
movzx ecx, word [esp + 0x161]
mov edx, dword [esp + 0x54]
cmp dword [esp + 8], 0
mov esi, dword [esp + 0x168]
mov word [edx + 9], cx
movzx ecx, byte [esp + 0x163]
mov byte [edx + 0xb], cl
mov ecx, dword [esp + 0x164]
mov byte [edx + 8], al
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x16c]
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], ecx
mov dword [edx], 1
je 0x47934d
mov eax, dword [esp + 0x18]
lea edi, [eax + 4]
jmp 0x479339
add edi, 0xc
dec dword [esp + 8]
je 0x47934d
cmp dword [edi - 4], 0
je 0x479330
mov ecx, dword [edi]
mov edx, 1
call fcn.00404ac0
jmp 0x479330
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x140], 0
je 0x479365
mov edx, 4
call fcn.00404ac0
cmp dword [esp + 0xb0], 0
je 0x479380
mov ecx, dword [esp + 0xb4]
mov edx, 2
call fcn.00404ac0
cmp dword [esp + 0xbc], 0
je 0x47939b
mov ecx, dword [esp + 0xc0]
mov edx, 8
call fcn.00404ac0
cmp dword [esp + 0xc8], 0
je 0x4793b6
mov ecx, dword [esp + 0xcc]
mov edx, 2
call fcn.00404ac0
cmp dword [esp + 0xd4], 0
je 0x4793d1
mov ecx, dword [esp + 0xd8]
mov edx, 8
call fcn.00404ac0
cmp dword [esp + 0x34], 0
je 0x4793e6
mov ecx, dword [esp + 0x38]
mov edx, 8
call fcn.00404ac0
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
test edi, edi
je 0x47941a
lea ebx, [esi + 4]
jmp 0x479406
add ebx, 0x18
dec edi
je 0x47941a
cmp dword [ebx], 0
je 0x479400
mov ecx, dword [ebx - 4]
mov edx, 8
call fcn.00404ac0
jmp 0x479400
cmp dword [esp + 0x48], 0
je 0x4795bf
mov ecx, esi
jmp 0x4795b5
movzx ecx, byte [esp + 0x163]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
mov byte [edi + 0xb], cl
movzx ecx, word [esp + 0x161]
mov word [edi + 9], cx
mov ecx, dword [esp + 0x164]
mov byte [edi + 8], al
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], esi
mov dword [edi], 1
mov ecx, 4
cmp dword [esp + 0x140], 0
jne 0x47935b
jmp 0x479365
mov ecx, dword [esp + 0x54]
mov eax, edx
shr eax, 8
mov byte [ecx + 8], dl
shr edx, 0x18
mov word [ecx + 9], ax
mov byte [ecx + 0xb], dl
mov edx, dword [esp + 0x18]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
mov dword [ecx], 1
cmp dword [esp + 0xb0], 0
jne 0x47936f
jmp 0x479380
mov ecx, edi
mov edx, 4
call fcn.00404ac0
mov edi, 4
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], ebx
jbe 0x479524
test ebx, ebx
je 0x479513
lea ecx, [ebx*8]
lea esi, [ecx + ecx*2]
push esi
push eax
push 0
push dword [0x5230f8]
call sub.kernel32.dll_HeapReAlloc
test eax, eax
jne 0x479524
mov ecx, 8
mov edx, esi
call fcn.00404f40
jmp 0x47971e
mov ecx, eax
mov edx, 8
call fcn.00404ac0
mov eax, 8
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0xb0], 0
mov edx, dword [esp + 8]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx], 0
je 0x479559
mov ecx, dword [esp + 0xb4]
mov edx, 2
call fcn.00404ac0
cmp dword [esp + 0xbc], 0
je 0x479574
mov ecx, dword [esp + 0xc0]
mov edx, 8
call fcn.00404ac0
cmp dword [esp + 0xc8], 0
je 0x47958f
mov ecx, dword [esp + 0xcc]
mov edx, 2
call fcn.00404ac0
cmp dword [esp + 0xd4], 0
je 0x4795aa
mov ecx, dword [esp + 0xd8]
mov edx, 8
call fcn.00404ac0
cmp dword [esp + 0x34], 0
je 0x4795bf
mov ecx, dword [esp + 0x38]
mov edx, 8
call fcn.00404ac0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
push eax
call fcn.0040db80
add esp, 4
jmp 0x47971e
mov edx, 0x502774
mov dword [esp + 0x160], 0x502538
jmp 0x479627
mov dword [esp + 0x160], 0x502538
mov edx, 0x502764
mov ecx, dword [esp + 0x1a8]
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], str.combase.dll
mov dword [ecx + 0xc], 0
call fcn.0040cbc0
jmp 0x47971e
mov edx, ebx
push 0x502784
call fcn.004105c0
add esp, 4
jmp 0x47971e
mov ecx, ebx
push 0x502784
call fcn.0040d890
add esp, 4
jmp 0x47971e
mov edx, 0x2c
mov ecx, str.assertion_failed:_end___start__end___len
push 0x502800
call fcn.0040db80
add esp, 4
jmp 0x47971e
mov eax, 0x502810
jmp 0x4796d0
mov edx, 0x2b
mov ecx, 0x5063db
push 0x5027b4
call fcn.0040db80
add esp, 4
jmp 0x47971e
push 0x502754
call fcn.0040d890
add esp, 4
jmp 0x47971e
mov dword [esp + 0x2c], esi
mov eax, 0x502754
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
push eax
call fcn.004105c0
add esp, 4
jmp 0x47971e
mov edx, dword [esp + 0x18]
mov ecx, 8
call fcn.00404f40
jmp 0x47971e
mov eax, 0x502794
mov esi, 0x2b
mov ecx, 0x5063db
jmp 0x4795f5
mov edx, 0x2b
mov ecx, 0x5063db
push 0x5027a4
call fcn.0040db80
add esp, 4
ud2