Function at 0x415dc0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x1bc]
push ebx
sub esp, 0x22c
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x194], esp
mov dword [ebp - 0x1a4], 0x4776b4
mov dword [ebp - 0x1a0], 0x4797c0
mov dword [ebp - 0x19c], ebp
mov dword [ebp - 0x198], 0x4175af
mov dword [esp], eax
call fcn.00407283
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x1b8], 0xffffffff
mov dword [ebp - 0x1e8], eax
call eax
sub esp, 4
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x41753d
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [esp + 8], str.gO3E
mov dword [esp + 4], 0x11f6
mov dword [esp], eax
mov dword [ebp - 0x1f0], edi
mov dword [ebp - 0x1b8], 0xffffffff
call edi
sub esp, 0xc
test eax, eax
je 0x41753d
mov dword [ebp - 0x1c4], eax
mov edx, dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
mov dword [ebp - 0x1f4], edx
call edx
mov ecx, dword [ebp - 0x1d8]
mov edi, dword [ebp - 0x1c4]
sub esp, 8
mov dword [ecx + 0x38], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1f8], eax
call eax
sub esp, 8
test eax, eax
je 0x41753d
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1fc], eax
call eax
sub esp, 4
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x41753d
lea edi, [ebp - 0x170]
mov dword [ebp - 0x178], edi
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0xe8], eax
cmp eax, 0xf
ja 0x41738c
cmp eax, 1
je 0x416e0d
mov edx, dword [ebp - 0x1c0]
test edx, edx
jne 0x41747f
lea edx, [ebp - 0x170]
mov dword [ebp - 0x174], eax
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 0x38]
cmp eax, dword [ebp - 0x174]
jae 0x417360
mov edx, dword [ebp - 0x178]
mov byte [edx + eax], 0
mov dword [esp], 4
mov dword [ebp - 0x1b8], 1
call fcn.00476ef0
mov edi, dword [ebp - 0x1d8]
lea edx, [eax + 4]
mov dword [eax], 0x3479656b
mov ecx, dword [edi + 0x24]
mov ebx, dword [edi + 0x2c]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], edx
test ecx, ecx
je 0x415fa8
sub ebx, ecx
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00476e68
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x178]
mov edi, dword [eax + 0x38]
mov dword [ebp - 0x1c4], ecx
mov dword [eax + 0x30], 0
mov dword [ebp - 0x204], edi
test edi, edi
js 0x417527
je 0x4173ea
mov dword [esp], edi
mov dword [ebp - 0x1b8], 1
call fcn.00476ef0
mov dword [ebp - 0x200], eax
mov edi, eax
mov byte [eax], 0
mov eax, dword [ebp - 0x204]
sub eax, 1
je 0x416017
lea edx, [edi + 1]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x1d8]
mov esi, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x200]
mov edi, dword [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x1e0], ecx
sub edx, edi
mov dword [ebp - 0x1c0], edx
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x204]
add eax, esi
mov dword [ebp - 0x1c4], eax
jmp 0x416080
movzx ebx, byte [edi + edx]
lea eax, [edx + 1]
xor edx, edx
xor bl, byte [esi]
div dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1d8]
mov byte [ecx], bl
add esi, 1
add ecx, 1
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x1c4]
cmp esi, eax
jne 0x416080
mov eax, dword [ebp - 0x1d8]
mov edi, dword [ebp - 0x200]
mov dword [ebp - 0x15c], 0
lea ecx, [ebp - 0x160]
mov eax, dword [eax + 0x38]
add edi, eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1c4], edi
lea edi, [ebp - 0x158]
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x160], edi
mov dword [ebp - 0xe8], eax
cmp eax, 0xf
ja 0x41731e
mov edx, edi
lea edi, [ebp - 0xe8]
mov dword [ebp - 0x1dc], edi
mov esi, dword [ebp - 0x200]
cmp dword [ebp - 0x1c4], esi
je 0x4161fd
mov edi, dword [ebp - 0x1c0]
lea eax, [edi - 1]
cmp eax, 2
jbe 0x41742c
lea ebx, [esi + 1]
mov ecx, edx
sub ecx, ebx
cmp ecx, 0xe
jbe 0x41742c
cmp eax, 0xe
jbe 0x4174a4
and edi, 0xfffffff0
mov eax, edx
lea ecx, [esi + edi]
mov esi, dword [ebp - 0x1e0]
mov ebx, edi
lea esi, [esi]
lea esi, [esi]
movdqu xmm0, xmmword [esi]
add esi, 0x10
add eax, 0x10
movups xmmword [eax - 0x10], xmm0
cmp ecx, esi
jne 0x416160
mov edi, dword [ebp - 0x1c0]
lea esi, [edx + ebx]
mov eax, ecx
mov edx, esi
cmp edi, ebx
je 0x4161f1
sub edi, ebx
lea ebx, [edi - 1]
mov dword [ebp - 0x1c0], edi
cmp ebx, 2
jbe 0x4161ca
mov ebx, dword [ebp - 0x1c0]
mov edi, dword [ecx]
shr ebx, 2
mov dword [esi], edi
cmp ebx, 1
je 0x4161b6
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
cmp ebx, 2
je 0x4161b6
mov ecx, dword [ecx + 8]
mov dword [esi + 8], ecx
mov edi, dword [ebp - 0x1c0]
mov ecx, edi
and ecx, 0xfffffffc
add edx, ecx
add eax, ecx
and edi, 3
je 0x4161f1
movzx ecx, byte [eax]
mov edi, dword [ebp - 0x1c4]
mov byte [edx], cl
lea ecx, [eax + 1]
cmp edi, ecx
je 0x4161f1
movzx ecx, byte [eax + 1]
mov byte [edx + 1], cl
lea ecx, [eax + 2]
cmp edi, ecx
je 0x4161f1
movzx eax, byte [eax + 2]
mov byte [edx + 2], al
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x15c], eax
mov byte [edx + eax], 0
lea eax, [ebp - 0xa4]
mov ecx, eax
mov dword [ebp - 0x208], eax
call fcn.00470a7c
xor eax, eax
pxor xmm0, xmm0
mov edi, dword [0x485a78]
mov word [ebp - 0x30], ax
mov eax, dword [0x485a74]
movups xmmword [ebp - 0x2c], xmm0
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0xe8], eax
mov eax, dword [eax - 0xc]
mov dword [ebp - 0xa4], 0x4874f4
mov dword [ebp - 0x34], 0
mov dword [ebp + eax - 0xe8], edi
mov eax, dword [0x485a74]
mov dword [ebp - 0xe4], 0
add ecx, dword [eax - 0xc]
mov dword [esp], 0
mov dword [ebp - 0x1b8], 5
call fcn.00471c7c
lea eax, [ebp - 0xc4]
sub esp, 4
lea edi, [ebp - 0xb4]
mov dword [ebp - 0xe8], 0x4864e0
mov ecx, eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0xa4], 0x4864f4
mov dword [ebp - 0xe0], vtable.c_streambufIwSt11char_traitsIwEE.0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
call fcn.004629e4
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xe0], 0x48623c
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x1c0], edx
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0xbc], edi
test eax, eax
jne 0x41633c
test edx, edx
jne 0x4175d1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x100], eax
cmp eax, 0xf
ja 0x4172b0
cmp dword [ebp - 0x1c0], 1
je 0x41729c
mov edi, dword [ebp - 0x1c0]
test edi, edi
jne 0x41748a
mov eax, dword [ebp - 0x20c]
mov edi, dword [ebp - 0x1c0]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xb8], edi
mov byte [eax + edi], 0
mov dword [ebp - 0xc0], 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xbc]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 8
call fcn.00468900
sub esp, 0xc
lea eax, [ebp - 0xe0]
mov dword [esp], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x1b8], 6
call fcn.00471c7c
lea eax, [ebp - 0x140]
sub esp, 4
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x128], 0
mov eax, dword [eax - 0xc]
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x4175a0
cmp byte [eax + 0x1c], 0
je 0x417248
movsx eax, byte [eax + 0x27]
mov dword [esp + 8], eax
lea eax, [ebp - 0x148]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 2
call fcn.00474df8
mov edx, dword [eax]
mov edx, dword [edx - 0xc]
test byte [eax + edx + 0x14], 5
jne 0x41654e
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1c4], eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
mov dword [ebp - 0x1c0], eax
call eax
mov edi, dword [eax]
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e0], edi
mov dword [ebp - 0x100], edi
call eax
mov dword [eax], 0
lea eax, [ebp - 0x118]
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [ebp - 0x118]
je 0x4174c5
mov dword [ebp - 0x1b8], 9
mov eax, dword [ebp - 0x1c0]
call eax
cmp dword [eax], 0x22
je 0x4174db
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1c0]
call eax
mov ebx, dword [eax]
test ebx, ebx
je 0x41746a
mov edi, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x1c8]
mov dword [edi + 0x34], eax
mov dword [esp], eax
mov dword [ebp - 0x1b8], 2
call fcn.00476e70
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax - 0xc]
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x4174e7
cmp byte [eax + 0x1c], 0
je 0x417201
movsx eax, byte [eax + 0x27]
mov dword [esp + 8], eax
lea eax, [ebp - 0x130]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 2
call fcn.00474df8
mov edx, dword [eax]
mov edx, dword [edx - 0xc]
test byte [eax + edx + 0x14], 5
jne 0x4165cf
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x4165cf
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x130]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c8]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1c4], eax
test eax, eax
js 0x4174af
je 0x417419
mov dword [esp], eax
mov dword [ebp - 0x1b8], 2
call fcn.00476ef0
mov ecx, eax
mov eax, dword [ebp - 0x1c0]
lea edi, [ecx + eax]
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x1e0], edi
mov edi, eax
cmp eax, 0xf
jle 0x417495
and edi, 0xfffffff0
mov ebx, dword [ebp - 0x1c8]
mov eax, ecx
mov edx, edi
lea esi, [ecx + edi]
lea esi, [esi]
lea esi, [esi]
movdqu xmm0, xmmword [ebx]
add eax, 0x10
add ebx, 0x10
movups xmmword [eax - 0x10], xmm0
cmp eax, esi
jne 0x416640
mov ebx, dword [ebp - 0x1c0]
mov edi, ebx
sub edi, edx
mov dword [ebp - 0x1c4], edi
mov edi, eax
mov eax, dword [ebp - 0x1c8]
lea esi, [eax + edx]
cmp ebx, edx
je 0x4166fa
mov eax, dword [ebp - 0x1c0]
sub eax, edx
lea ebx, [eax - 1]
cmp ebx, 2
jbe 0x4166d7
mov ebx, eax
shr ebx, 2
mov dword [ebp - 0x1c0], ebx
mov ebx, dword [ebp - 0x1c8]
add ebx, edx
add edx, ecx
cmp dword [ebp - 0x1c0], 1
movd xmm0, dword [ebx]
movd dword [edx], xmm0
je 0x4166c4
movd xmm0, dword [ebx + 4]
cmp dword [ebp - 0x1c0], 2
movd dword [edx + 4], xmm0
je 0x4166c4
mov ebx, dword [ebx + 8]
mov dword [edx + 8], ebx
mov edx, eax
and edx, 0xfffffffc
sub dword [ebp - 0x1c4], edx
add edi, edx
add esi, edx
test al, 3
je 0x4166fa
movzx eax, byte [esi]
mov edx, dword [ebp - 0x1c4]
mov byte [edi], al
cmp edx, 1
je 0x4166fa
movzx eax, byte [esi + 1]
mov byte [edi + 1], al
cmp edx, 2
je 0x4166fa
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
mov eax, dword [ebp - 0x1e4]
mov edi, dword [ebp - 0x1d8]
mov edx, dword [edi + 0x24]
mov ebx, dword [edi + 0x2c]
mov dword [edi + 0x28], eax
mov eax, edi
mov dword [edi + 0x24], ecx
mov edi, dword [ebp - 0x1e0]
mov dword [eax + 0x2c], edi
test edx, edx
je 0x41672f
sub ebx, edx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00476e68
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xe8]
mov byte [ebp - 0x110], 0
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0xf8], 0
mov eax, dword [eax - 0xc]
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x1d8], eax
test eax, eax
je 0x417502
cmp byte [eax + 0x1c], 0
je 0x4171ba
movsx eax, byte [eax + 0x27]
mov dword [esp + 8], eax
lea eax, [ebp - 0x100]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 3
call fcn.00474df8
mov edx, dword [eax]
mov edx, dword [edx - 0xc]
test byte [eax + edx + 0x14], 5
jne 0x41689a
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1d8], eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
mov dword [ebp - 0x1c0], eax
call eax
mov edi, dword [eax]
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], edi
mov dword [ebp - 0x17c], edi
call eax
mov dword [eax], 0
lea eax, [ebp - 0x180]
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1d8]
cmp eax, dword [ebp - 0x180]
je 0x417511
mov dword [ebp - 0x1b8], 0xa
mov eax, dword [ebp - 0x1c0]
call eax
cmp dword [eax], 0x22
je 0x4174f6
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1c0]
call eax
mov ecx, dword [eax]
test ecx, ecx
je 0x417455
mov eax, dword [ebp - 0x1c4]
mov dword [0x489024], eax
mov dword [esp], eax
mov dword [ebp - 0x1b8], 3
call fcn.00476e70
mov dword [0x489028], eax
mov dword [esp], str.Got_size_n
mov dword [ebp - 0x1b8], 3
call fcn.004148b0
mov dword [ebp - 0x1ec], 0
mov eax, 0x4040404
movd xmm3, eax
pshufd xmm2, xmm3, 0
movaps xmmword [ebp - 0x1d8], xmm2
nop
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax - 0xc]
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x41756a
cmp byte [eax + 0x1c], 0
je 0x416e28
movsx eax, byte [eax + 0x27]
mov dword [esp + 8], eax
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 3
call fcn.00474df8
mov edx, dword [eax]
mov edx, dword [edx - 0xc]
test byte [eax + edx + 0x14], 5
jne 0x416fd0
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax - 0xc]
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x417579
cmp byte [eax + 0x1c], 0
je 0x416e70
movsx eax, byte [eax + 0x27]
mov dword [esp + 8], eax
lea eax, [ebp - 0x100]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1dc]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 3
call fcn.00474df8
mov edx, dword [eax]
mov edx, dword [edx - 0xc]
mov eax, dword [eax + edx + 0x14]
and eax, 5
mov dword [ebp - 0x1c0], eax
jne 0x416fd0
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x416fd0
mov edx, dword [ebp - 0xfc]
test edx, edx
je 0x416fd0
add eax, 1
mov dword [esp], eax
mov dword [ebp - 0x1b8], 3
call fcn.00476e70
mov dword [ebp - 0x1c4], eax
mov esi, eax
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x4171a8
lea edx, [eax - 1]
mov edi, dword [ebp - 0x118]
cmp edx, 2
jbe 0x416ed8
lea ebx, [edi + 1]
mov ecx, esi
sub ecx, ebx
cmp ecx, 0xe
jbe 0x416ed8
cmp edx, 0xe
jbe 0x4171af
mov ecx, eax
mov ebx, edi
and ecx, 0xfffffff0
lea edx, [edi + ecx]
lea esi, [esi]
lea esi, [esi]
movdqu xmm0, xmmword [ebx]
paddb xmm0, xmmword [ebp - 0x1d8]
add ebx, 0x10
add esi, 0x10
movups xmmword [esi - 0x10], xmm0
cmp ebx, edx
jne 0x416a20
mov dword [ebp - 0x1c0], ecx
cmp eax, ecx
je 0x416aff
mov ebx, eax
sub ebx, ecx
lea esi, [ebx - 1]
cmp esi, 2
jbe 0x416abb
movd xmm1, dword [0x47e0ec]
movd xmm0, dword [edx]
mov esi, ebx
shr esi, 2
mov dword [ebp - 0x1c8], esi
paddb xmm0, xmm1
mov esi, dword [ebp - 0x1c4]
add esi, ecx
cmp dword [ebp - 0x1c8], 1
movd dword [esi], xmm0
je 0x416aa9
movd xmm0, dword [edx + 4]
cmp dword [ebp - 0x1c8], 2
paddb xmm0, xmm1
movd dword [esi + 4], xmm0
je 0x416aa9
movd xmm0, dword [edx + 8]
paddb xmm0, xmm1
movd dword [esi + 8], xmm0
mov edx, ebx
and edx, 0xfffffffc
add dword [ebp - 0x1c0], edx
add ecx, edx
and ebx, 3
je 0x416aff
movzx esi, byte [edi + ecx]
mov ebx, dword [ebp - 0x1c4]
lea edx, [esi + 4]
mov esi, dword [ebp - 0x1c0]
mov byte [ebx + ecx], dl
lea edx, [esi + 1]
cmp edx, eax
jae 0x416aff
movzx ecx, byte [edi + esi + 1]
mov edx, ecx
mov byte [ebp - 0x1c0], cl
add edx, 4
mov byte [ebx + esi + 1], dl
lea edx, [esi + 2]
cmp edx, eax
jae 0x416aff
movzx edx, byte [edi + esi + 2]
add edx, 4
mov byte [ebx + esi + 2], dl
mov edi, dword [ebp - 0x1c4]
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1b8], 4
mov dword [ebp - 0x1c8], eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
mov dword [ebp - 0x1c0], eax
call eax
mov edi, dword [eax]
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e4], edi
mov dword [ebp - 0x17c], edi
call eax
mov dword [eax], 0
lea eax, [ebp - 0x180]
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c8]
mov dword [esp], eax
call sub.msvcrt.dll_strtol
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1c8]
cmp eax, dword [ebp - 0x180]
je 0x41757e
mov dword [ebp - 0x1b8], 0xb
mov eax, dword [ebp - 0x1c0]
call eax
cmp dword [eax], 0x22
je 0x417594
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1c0]
call eax
mov eax, dword [eax]
test eax, eax
je 0x416ec0
mov dword [esp], 0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1b8], 4
call eax
sub esp, 4
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x416da0
mov eax, dword [ebp - 0x1c4]
mov dword [esp + 8], eax
movzx eax, word [ebp - 0x1e0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
mov ebx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1b8], 4
call ebx
sub esp, 0xc
test eax, eax
je 0x416da0
mov dword [ebp - 0x1c8], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1b8], 4
call edx
mov esi, dword [ebp - 0x1c8]
sub esp, 8
mov dword [ebp - 0x1c4], eax
mov dword [esp + 4], esi
mov edi, dword [ebp - 0x1c0]
mov dword [esp], edi
mov esi, dword [ebp - 0x1f8]
call esi
sub esp, 8
test eax, eax
je 0x416da0
mov dword [esp], eax
mov edx, dword [ebp - 0x1fc]
call edx
sub esp, 4
test eax, eax
je 0x416da0
mov esi, dword [0x489028]
mov edi, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c0], esi
test edi, edi
je 0x416d92
lea edx, [edi - 1]
mov ecx, dword [ebp - 0x1ec]
mov edi, esi
cmp edx, 2
jbe 0x417176
add edi, ecx
lea ebx, [eax + 1]
mov ecx, edi
sub ecx, ebx
cmp ecx, 0xe
jbe 0x417178
cmp edx, 0xe
jbe 0x41728f
mov edx, dword [ebp - 0x1c4]
mov ecx, edi
mov ebx, eax
and edx, 0xfffffff0
lea esi, [edi + edx]
movdqu xmm0, xmmword [ebx]
add ecx, 0x10
add ebx, 0x10
movups xmmword [ecx - 0x10], xmm0
cmp ecx, esi
jne 0x416ce0
mov ecx, dword [ebp - 0x1c4]
cmp edx, ecx
je 0x416d92
sub ecx, edx
lea ebx, [ecx - 1]
cmp ebx, 2
jbe 0x416d7a
lea ebx, [eax + edx]
mov esi, ecx
mov dword [ebp - 0x1c8], ebx
shr esi, 2
mov ebx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1e0], esi
mov esi, dword [ebp - 0x1c0]
add ebx, edx
add esi, ebx
mov ebx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1c0], esi
movd xmm0, dword [ebx]
movd dword [esi], xmm0
mov esi, dword [ebp - 0x1e0]
cmp esi, 1
je 0x416d6e
movd xmm0, dword [ebx + 4]
mov ebx, dword [ebp - 0x1c0]
movd dword [ebx + 4], xmm0
cmp esi, 2
je 0x416d6e
mov esi, dword [ebp - 0x1c8]
mov esi, dword [esi + 8]
mov dword [ebx + 8], esi
mov ebx, ecx
and ebx, 0xfffffffc
add edx, ebx
and ecx, 3
je 0x416d92
movzx ecx, byte [eax + edx]
mov esi, dword [ebp - 0x1c4]
lea ebx, [edx + 1]
mov byte [edi + edx], cl
cmp ebx, esi
jb 0x416f20
mov edi, dword [ebp - 0x1c4]
add dword [ebp - 0x1ec], edi
nop
mov dword [esp + 0xc], 0
lea ecx, [ebp - 0x118]
mov dword [esp + 8], 0x47e084
mov eax, dword [ebp - 0x114]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [ebp - 0x1b8], 3
call fcn.00463e5c
sub esp, 0x10
lea ecx, [ebp - 0x100]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x47e084
mov eax, dword [ebp - 0xfc]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00463e5c
sub esp, 0x10
jmp 0x4168d0
mov edi, dword [ebp - 0x1c4]
movzx edx, byte [edi]
mov byte [ebp - 0x170], dl
jmp 0x415f33
mov dword [ebp - 0x1b8], 3
mov ecx, eax
call fcn.0041f4e0
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov eax, 0xa
cmp edx, 0x41f790
je 0x4168f9
mov dword [esp], 0xa
mov ecx, dword [ebp - 0x1c0]
call edx
sub esp, 4
movsx eax, al
jmp 0x4168f9
mov dword [ebp - 0x1b8], 3
mov ecx, eax
call fcn.0041f4e0
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov eax, 0xa
cmp edx, 0x41f790
je 0x416958
mov dword [esp], 0xa
mov ecx, dword [ebp - 0x1c0]
call edx
sub esp, 4
movsx eax, al
jmp 0x416958
mov eax, dword [ebp - 0x1c0]
call eax
mov edi, dword [ebp - 0x1e4]
mov dword [eax], edi
jmp 0x416bb8
mov ebx, dword [ebp - 0x1c4]
mov edx, edi
lea esi, [edi + eax]
jmp 0x416f00
movzx edi, byte [edx]
add edx, 1
add ebx, 1
lea ecx, [edi + 4]
mov byte [ebx - 1], cl
cmp edx, esi
jne 0x416f00
jmp 0x416aff
movzx ecx, byte [eax + edx + 1]
mov byte [edx + edi + 1], cl
lea ecx, [edx + 2]
cmp ecx, esi
jae 0x416d92
movzx eax, byte [eax + edx + 2]
mov byte [edx + edi + 2], al
jmp 0x416d92
lea ecx, [ebp - 0x17c]
call fcn.00476cc0
mov eax, dword [ebp - 0x1d8]
mov dword [esp], eax
call fcn.00476fd8
mov dword [ebp - 0x1b8], 3
call fcn.004771cc
lea eax, [ebp - 0x158]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x224], eax
lea esi, [esi]
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x224]
cmp edx, eax
je 0x416ff5
mov eax, dword [ebp - 0xf8]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.00476e68
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x218]
cmp edx, eax
je 0x41701a
mov eax, dword [ebp - 0x110]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.00476e68
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x214]
cmp edx, eax
je 0x41703f
mov eax, dword [ebp - 0x128]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.00476e68
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x220]
cmp edx, eax
je 0x417064
mov eax, dword [ebp - 0x140]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.00476e68
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0xe8], 0x4864e0
mov dword [ebp - 0xa4], 0x4864f4
mov dword [ebp - 0xe0], 0x48623c
cmp edx, eax
je 0x4170a7
mov eax, dword [ebp - 0xb4]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.00476e68
mov dword [ebp - 0xe0], vtable.c_streambufIwSt11char_traitsIwEE.0
mov ecx, dword [ebp - 0x21c]
call fcn.00462a90
mov eax, dword [0x485a74]
mov edi, dword [0x485a78]
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0xe8], eax
mov eax, dword [eax - 0xc]
mov dword [ebp + eax - 0xe8], edi
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xa4], 0x4874f4
call fcn.00470aec
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 0x210]
cmp edx, eax
je 0x41711b
mov eax, dword [ebp - 0x158]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.00476e68
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x417137
mov edi, dword [ebp - 0x204]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00476e68
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 0x170]
cmp edx, eax
je 0x41715c
mov eax, dword [ebp - 0x170]
mov dword [esp], edx
add eax, 1
mov dword [esp + 4], eax
call fcn.00476e68
lea eax, [ebp - 0x1bc]
mov dword [esp], eax
call fcn.004072d9
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
add edi, ecx
mov edx, edi
mov edi, dword [ebp - 0x1c4]
lea ebx, [eax + edi]
lea esi, [esi]
lea esi, [esi]
movzx ecx, byte [eax]
add eax, 1
add edx, 1
mov byte [edx - 1], cl
cmp eax, ebx
jne 0x417190
jmp 0x416d92
mov eax, esi
jmp 0x416b07
mov ebx, eax
xor ecx, ecx
mov edx, edi
jmp 0x416a54
mov dword [ebp - 0x1b8], 3
mov ecx, eax
call fcn.0041f4e0
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov eax, 0xa
cmp edx, 0x41f790
je 0x41679e
mov dword [esp], 0xa
mov ecx, dword [ebp - 0x1d8]
call edx
sub esp, 4
movsx eax, al
jmp 0x41679e
mov dword [ebp - 0x1b8], 2
mov ecx, eax
call fcn.0041f4e0
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov eax, 0xa
cmp edx, 0x41f790
je 0x416577
mov dword [esp], 0xa
mov ecx, dword [ebp - 0x1c0]
call edx
sub esp, 4
movsx eax, al
jmp 0x416577
mov dword [ebp - 0x1b8], 2
mov ecx, eax
call fcn.0041f4e0
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
mov eax, 0xa
cmp edx, 0x41f790
je 0x41644d
mov dword [esp], 0xa
mov ecx, dword [ebp - 0x1c0]
call edx
sub esp, 4
movsx eax, al
jmp 0x41644d
mov ecx, dword [ebp - 0x1c4]
xor edx, edx
jmp 0x416d0a
mov eax, dword [ebp - 0x1c4]
movzx eax, byte [eax]
mov byte [ebp - 0xb4], al
jmp 0x41636c
lea eax, [ebp - 0x100]
mov dword [esp + 4], 0
lea ecx, [ebp - 0xbc]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 7
call fcn.00465628
mov edx, dword [ebp - 0x100]
sub esp, 8
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], edx
mov edi, dword [ebp - 0x1c0]
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x1c4]
mov dword [esp], eax
mov dword [esp + 4], edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0xbc]
jmp 0x416372
lea eax, [ebp - 0xe8]
mov dword [esp + 4], 0
mov dword [ebp - 0x1dc], eax
mov dword [esp], eax
mov dword [ebp - 0x1b8], 0xc
call fcn.00465628
sub esp, 8
mov edx, eax
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x158], eax
jmp 0x416108
mov dword [esp + 4], 0
lea ecx, [ebp - 0x178]
mov dword [esp], 0x47e073
mov dword [ebp - 0x1b8], 1
call fcn.00465540
sub esp, 8
jmp 0x415f62
lea eax, [ebp - 0xe8]
mov dword [esp + 4], 0
lea ecx, [ebp - 0x178]
mov dword [esp], eax
call fcn.00465628
mov edx, dword [ebp - 0xe8]
sub esp, 8
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x170], edx
mov edi, dword [ebp - 0x1c0]
mov dword [esp + 8], edi
mov edi, dword [ebp - 0x1c4]
mov dword [esp], eax
mov dword [esp + 4], edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0x178]
jmp 0x415f39
lea edx, [ebp - 0x158]
lea edi, [ebp - 0xe8]
xor eax, eax
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x1dc], edi
jmp 0x4161fd
mov dword [ebp - 0x1e0], 0
xor ecx, ecx
xor eax, eax
jmp 0x416700
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1e0]
add eax, edx
lea esi, [esi]
movzx ebx, byte [ecx]
add edx, 1
add ecx, 1
mov byte [edx - 1], bl
cmp edx, eax
jne 0x417440
jmp 0x4161f1
mov eax, dword [ebp - 0x1c0]
call eax
mov edi, dword [ebp - 0x1c8]
mov dword [eax], edi
jmp 0x416878
mov eax, dword [ebp - 0x1c0]
call eax
mov edi, dword [ebp - 0x1e0]
mov dword [eax], edi
jmp 0x416527
lea eax, [ebp - 0x170]
jmp 0x4173bd
mov eax, dword [ebp - 0x20c]
jmp 0x4172eb
mov esi, dword [ebp - 0x1c8]
mov edi, ecx
xor edx, edx
jmp 0x416675
mov ecx, esi
mov eax, esi
mov esi, edx
jmp 0x416193
mov dword [esp], str.cannot_create_std::vector_larger_than_max_size__
mov dword [ebp - 0x1b8], 2
call fcn.004787a4
mov dword [esp], str.stoi
mov dword [ebp - 0x1b8], 9
call fcn.0047870c
mov dword [esp], str.stoi
call fcn.0047883c
mov dword [ebp - 0x1b8], 2
call fcn.0047857c
mov dword [esp], str.stoi
call fcn.0047883c
mov dword [ebp - 0x1b8], 3
call fcn.0047857c
mov dword [esp], str.stoi
mov dword [ebp - 0x1b8], 0xa
call fcn.0047870c
mov dword [esp], str.cannot_create_std::vector_larger_than_max_size__
mov dword [ebp - 0x1b8], 1
call fcn.004787a4
mov eax, dword [ebp - 0x1d8]
xor ecx, ecx
mov dword [eax + 0x38], ecx
lea eax, [ebp - 0x170]
mov dword [ebp - 0x178], eax
mov dword [esp], 0x47e03c
mov dword [ebp - 0x1b8], 0xffffffff
call fcn.004785dc
mov dword [ebp - 0x1b8], 3
call fcn.0047857c
call fcn.0047857c
mov dword [esp], str.stoi
mov dword [ebp - 0x1b8], 0xb
call fcn.0047870c
mov dword [esp], str.stoi
call fcn.0047883c
mov dword [ebp - 0x1b8], 2
call fcn.0047857c
mov eax, dword [ebp - 0x1b4]
cmp dword [ebp - 0x1b8], 0xb
mov dword [ebp - 0x1d8], eax
ja case.default.0x4175ca
mov eax, dword [ebp - 0x1b8]
jmp dword [eax*4 + 0x47e088]
mov dword [esp], 0x47e03c
mov dword [ebp - 0x1b8], 7
call fcn.004785dc
ud2
lea ecx, [ebp - 0x17c]
call fcn.00476cc0
lea ecx, [ebp - 0x100]
call fcn.00463e38
lea ecx, [ebp - 0x118]
call fcn.00463e38
lea ecx, [ebp - 0x130]
call fcn.00463e38
lea ecx, [ebp - 0x148]
call fcn.00463e38
lea ecx, [ebp - 0xe8]
call fcn.0046c9dc
lea ecx, [ebp - 0x160]
call fcn.00463e38
cmp dword [ebp - 0x200], 0
je case.0x4175ca.0
mov eax, dword [ebp - 0x204]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x200]
mov dword [esp], eax
call fcn.00476e68
lea ecx, [ebp - 0x178]
call fcn.00463e38
mov eax, dword [ebp - 0x1d8]
mov dword [esp], eax
mov dword [ebp - 0x1b8], 0xffffffff
call fcn.0040754c
mov dword [ebp - 0xe0], fcn.004692a8
lea ecx, [ebp - 0xbc]
call fcn.00463e38
lea ecx, [ebp - 0xc4]
xor esi, esi
mov dword [ebp - 0xe0], vtable.c_streambufIwSt11char_traitsIwEE.0
call fcn.00462a90
mov eax, dword [0x485a74]
mov edi, dword [0x485a78]
mov dword [ebp - 0xe8], eax
mov eax, dword [eax - 0xc]
mov dword [ebp + eax - 0xe8], edi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xa4], fcn.00472210
lea ecx, [ebp - 0xa4]
call fcn.00470aec
jmp 0x41762b
lea ecx, [ebp - 0x100]
call fcn.00476cc0
jmp case.0x4175ca.1