Function at 0x408c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41a3f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor esi, esi
mov edi, 1
lea ecx, [esp + 0xf8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x9c], esi
call fcn.00401080
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x110], esi
mov ecx, dword [eax + 4]
add ecx, 0xfffffff0
cmp ecx, 0x18
ja case.0x408ceb.21
xor edx, edx
mov dl, byte [ecx + 0x40a47c]
jmp dword [edx*4 + 0x40a464]
mov ecx, ebp
call fcn.00402d70
mov eax, dword [ebp + 0x34]
cmp dword [eax + 4], 2
jne case.0x408ceb.21
mov ecx, ebp
call fcn.00402d70
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.004130f2
add esp, 4
mov ecx, ebp
mov esi, eax
call fcn.004060d0
test eax, eax
je 0x408d5a
mov edx, dword [ebp + 0x34]
mov eax, 3
cmp dword [edx + 4], eax
jne 0x408d57
mov ecx, ebp
call fcn.00402d70
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + eax*4 + 0x2c]
push ecx
call fcn.004136d4
mov edx, dword [ebp + 0x24]
add esp, 4
mov dword [esp + 0x28], edi
mov dword [ebp + edx*4 + 0x2c], eax
jmp 0x408d5a
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x28]
push eax
call fcn.00413071
push esi
call fcn.004130f2
push esi
mov dword [ebp + 0x28], eax
call fcn.00413071
add esp, 0xc
jmp case.0x408ceb.21
mov ecx, ebp
call fcn.00402d70
mov ecx, dword [ebp + 0x34]
cmp dword [ecx + 4], 2
jne case.0x408ceb.21
mov ecx, ebp
call fcn.00402d70
mov ecx, ebp
call fcn.00406810
test eax, eax
je case.0x408ceb.21
mov edx, dword [ebp + 0x34]
mov eax, 3
cmp dword [edx + 4], eax
jne 0x4093c9
mov ecx, ebp
call fcn.00402d70
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x78], al
call fcn.004019b0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x110], 1
push ecx
mov ecx, ebp
call fcn.00405a20
test eax, eax
je 0x408f74
push 0x1e
call fcn.0041311d
mov edx, dword [ebp + 0x24]
add esp, 4
mov dword [ebp + edx*4 + 0x2c], eax
mov eax, dword [ebp + 0x24]
mov eax, dword [ebp + eax*4 + 0x2c]
cmp eax, esi
je 0x408f6a
mov ecx, dword [esp + 0x6c]
dec ecx
cmp ecx, 7
ja case.default.0x408e18
jmp dword [ecx*4 + 0x40a498]
mov edx, dword [esp + 0x84]
and edx, 0xff
push edx
push 0x41e16c
push eax
call fcn.004130a0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x409fa6
movsx ecx, byte [esp + 0x84]
push ecx
push 0x41e168
push eax
call fcn.004130a0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x409fa6
mov edx, dword [esp + 0x84]
and edx, 0xffff
push edx
push 0x41e164
push eax
call fcn.004130a0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x409fa6
movsx ecx, word [esp + 0x84]
push ecx
push 0x41e160
push eax
call fcn.004130a0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x409fa6
mov edx, dword [esp + 0x84]
push edx
push 0x41e15c
push eax
call fcn.004130a0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x409fa6
mov ecx, dword [esp + 0x84]
push ecx
push 0x41e158
push eax
call fcn.004130a0
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x409fa6
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push edx
push ecx
push str._I64u
push eax
call fcn.004130a0
mov eax, dword [esp + 0x88]
add esp, 0x10
mov dword [esp + 0x28], edi
jmp 0x409fa6
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
push edx
push ecx
push str._I64i
push eax
call fcn.004130a0
add esp, 0x10
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], edi
jmp 0x409fa6
mov ecx, dword [ebp + 4]
push esi
push edi
call fcn.0040d590
mov eax, dword [esp + 0x78]
jmp 0x409fa6
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, ebp
mov word [esp + 0x22], si
call fcn.00402d70
mov eax, dword [ebp + 0x34]
mov ebx, 2
cmp dword [eax + 4], ebx
jne case.0x408ceb.21
mov ecx, ebp
call fcn.00402d70
mov ecx, ebp
call fcn.00406810
test eax, eax
je case.0x408ceb.21
mov ecx, dword [ebp + 0x34]
mov eax, 3
cmp dword [ecx + 4], eax
jne 0x4093c9
mov ecx, ebp
call fcn.00402d70
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x78]
mov byte [esp + 0x78], dl
call fcn.004019b0
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
mov byte [esp + 0x114], bl
call fcn.00405a20
test eax, eax
je 0x409398
push 0x1e
call fcn.0041311d
mov ecx, dword [ebp + 0x24]
add esp, 4
mov dword [ebp + ecx*4 + 0x2c], eax
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + edx*4 + 0x2c]
cmp eax, esi
je 0x40938e
mov ecx, dword [esp + 0x6c]
dec ecx
cmp ecx, 7
ja case.default.0x40902e
jmp dword [ecx*4 + 0x40a4b8]
mov cl, byte [esp + 0x84]
test cl, cl
je 0x409188
cmp cl, 1
jmp 0x4091c2
mov cl, byte [esp + 0x84]
test cl, cl
jne 0x40908f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1a]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1a]
and ecx, 0xffff
push edx
push ecx
push str._d__d__d
push eax
call fcn.004130a0
add esp, 0x14
mov dword [esp + 0x28], edi
jmp 0x409398
cmp cl, 1
jne 0x40937d
jmp 0x4090c9
mov cx, word [esp + 0x84]
cmp cx, si
je 0x409188
cmp cx, di
jmp 0x4091c2
mov cx, word [esp + 0x84]
cmp cx, si
je 0x40913e
cmp cx, di
jne 0x40937d
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1e]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x22]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x24]
and edx, 0xffff
and ecx, 0xffff
push edx
push ecx
push str._d_d_d_d_d_d
push eax
call fcn.004130a0
add esp, 0x20
mov dword [esp + 0x28], edi
jmp 0x409398
mov ecx, dword [esp + 0x84]
cmp ecx, esi
jne 0x4091c0
jmp 0x409188
mov ecx, dword [esp + 0x84]
cmp ecx, esi
jne 0x409176
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1a]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1a]
and ecx, 0xffff
push edx
push ecx
push str._d__d__d
push eax
call fcn.004130a0
add esp, 0x14
mov dword [esp + 0x28], edi
jmp 0x409398
cmp ecx, edi
jmp 0x4090c3
mov ecx, dword [esp + 0x84]
cmp ecx, esi
jne 0x4091c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x1a]
and edx, 0xffff
push ecx
push edx
push str._d__d__d
push eax
call fcn.004130a0
add esp, 0x14
mov dword [esp + 0x28], edi
jmp 0x409398
cmp ecx, edi
jne 0x40937d
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1e]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x22]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x22]
push edx
mov edx, dword [esp + 0x24]
and ecx, 0xffff
and edx, 0xffff
push ecx
push edx
jmp 0x40910b
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ebx, ecx
or ebx, edx
jne 0x4092ae
mov ecx, 0xa
cmp word [esp + 0x16], cx
jae 0x409057
cmp word [esp + 0x1a], cx
jae 0x409276
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1a]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1a]
and ecx, 0xffff
push edx
push ecx
push str.0_d_0_d__d
push eax
call fcn.004130a0
add esp, 0x14
mov dword [esp + 0x28], edi
jmp 0x409398
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x1a]
and edx, 0xffff
push ecx
push edx
push str.0_d__d__d
push eax
call fcn.004130a0
add esp, 0x14
mov dword [esp + 0x28], edi
jmp 0x409398
cmp ecx, edi
jne 0x40937d
cmp edx, esi
jne 0x40937d
mov ecx, 0xa
cmp word [esp + 0x16], cx
jae 0x4090c9
cmp word [esp + 0x1a], cx
mov edx, dword [esp + 0x20]
jae 0x40932b
mov ecx, dword [esp + 0x1e]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x22]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x24]
and edx, 0xffff
and ecx, 0xffff
push edx
push ecx
push str._d0_d0_d_d_d_d
push eax
call fcn.004130a0
add esp, 0x20
mov dword [esp + 0x28], edi
jmp 0x409398
mov ecx, dword [esp + 0x1e]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x22]
and edx, 0xffff
and ecx, 0xffff
push edx
mov edx, dword [esp + 0x22]
push ecx
mov ecx, dword [esp + 0x24]
and edx, 0xffff
and ecx, 0xffff
push edx
push ecx
push str._d0_d_d_d_d_d
push eax
call fcn.004130a0
add esp, 0x20
mov dword [esp + 0x28], edi
jmp 0x409398
mov ecx, dword [ebp + 4]
push esi
push 5
call fcn.0040d590
mov dword [esp + 0x28], edi
jmp 0x409398
mov ecx, dword [ebp + 4]
push esi
push edi
call fcn.0040d590
mov eax, dword [esp + 0x78]
cmp eax, esi
je case.0x408ceb.21
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4093bb
cmp al, 0xff
je 0x4093bb
dec al
mov byte [ecx], al
jmp case.0x408ceb.21
push ecx
call fcn.00412670
add esp, 4
jmp case.0x408ceb.21
mov dword [ebp + 0x10], eax
jmp case.0x408ceb.21
mov eax, dword [eax]
or ecx, 0xffffffff
mov dword [esp + 0x90], eax
mov edi, eax
xor eax, eax
lea ebx, [ebp + 0x14]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x90], ecx
push ecx
mov ecx, ebx
call fcn.00401a20
test al, al
je 0x40942c
mov eax, dword [esp + 0x8c]
mov edi, dword [ebx + 4]
mov esi, dword [esp + 0x90]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
add eax, ecx
xor esi, esi
mov byte [eax], 0
mov ecx, ebp
call fcn.00402d70
mov eax, dword [ebp + 0x34]
cmp dword [eax + 4], 2
jne 0x40999a
mov edx, dword [0x41b16c]
mov cl, byte [ebx]
push edx
mov byte [esp + 0x34], cl
push esi
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa8], 1
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.0040a750
mov ecx, ebp
mov byte [esp + 0x110], 3
mov dword [esp + 0x2c], esi
call fcn.00402d70
mov ecx, ebp
call fcn.00403550
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x24]
push ecx
mov dword [esp + 0x6c], eax
call fcn.004130f2
mov edx, dword [ebp + 0x30]
mov edi, eax
push edx
mov dword [esp + 0xcc], edi
call fcn.004130f2
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x28]
push eax
call fcn.004130f2
lea ecx, [esp + 0x3c]
push 0x41e254
lea edx, [esp + 0xd8]
push ecx
push edx
mov dword [esp + 0x3c], eax
call fcn.0040ad20
add esp, 0x18
mov ecx, dword [0x41b16c]
mov byte [esp + 0x110], 4
push ecx
push esi
push eax
mov ecx, ebx
call fcn.0040a750
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x110], 3
cmp eax, esi
je 0x409528
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40951f
cmp al, 0xff
je 0x40951f
dec al
mov byte [ecx], al
jmp 0x409528
push ecx
call fcn.00412670
add esp, 4
mov ecx, ebp
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
call fcn.00405f40
test eax, eax
je 0x4098f4
lea edx, [esp + 0x94]
mov ecx, ebp
push edx
call fcn.00405bc0
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0xc4], esi
mov dword [esp + 0x9c], esi
mov byte [esp + 0x44], al
call fcn.004019b0
mov cl, byte [esp + 0x13]
mov dword [esp + 0x58], esi
mov byte [esp + 0x54], cl
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
push esi
lea edx, [esp + 0x70]
push str.__u_
push edx
mov byte [esp + 0x11c], 5
call fcn.004130a0
lea eax, [esp + 0x78]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xf8]
push ecx
push edx
call fcn.0040ad20
add esp, 0x18
mov ecx, dword [0x41b16c]
mov byte [esp + 0x110], 6
push ecx
push esi
push eax
mov ecx, ebx
call fcn.0040a750
mov eax, dword [esp + 0xec]
mov byte [esp + 0x110], 5
cmp eax, esi
je 0x409609
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x409600
cmp al, 0xff
je 0x409600
dec al
mov byte [ecx], al
jmp 0x409609
push ecx
call fcn.00412670
add esp, 4
mov dl, byte [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x41b16c]
mov dword [esp + 0x74], esp
push eax
push esi
push ebx
call fcn.0040a750
mov ecx, dword [ebp + 0x40]
add ecx, 4
call fcn.0040ab50
mov ecx, dword [0x41b16c]
mov edi, eax
push ecx
push esi
push edi
lea ecx, [esp + 0x4c]
call fcn.0040a750
mov edx, dword [edi + 0x10]
add edi, 0x14
mov dword [esp + 0x50], edx
push edi
lea ecx, [esp + 0x58]
call fcn.0040a4e0
mov edi, 0x41f320
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x48]
not ecx
dec ecx
cmp eax, eax
mov dword [esp + 0x64], ecx
mov edx, eax
jae 0x409691
cmp edx, ecx
jae 0x409697
mov ecx, edx
mov esi, dword [esp + 0x44]
mov edi, 0x41f320
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4096ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4096c4
mov esi, dword [esp + 0x64]
cmp edx, esi
jb 0x4096c4
cmp edx, esi
setne al
test eax, eax
je 0x40985e
mov eax, dword [esp + 0x8c]
mov ecx, ebp
push eax
call fcn.00403960
mov ecx, ebp
call fcn.00405f40
test eax, eax
je 0x409774
lea ecx, [esp + 0x94]
push ecx
mov ecx, ebp
call fcn.00405bc0
mov eax, dword [esp + 0x94]
xor edi, edi
cmp eax, edi
je 0x409776
mov edx, dword [esp + 0x98]
lea eax, [esp + 0xa0]
push edx
push str.__u_
push eax
call fcn.004130a0
push ecx
lea edx, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x74], esp
lea eax, [esp + 0x40]
push edx
push eax
push ecx
call fcn.0040ad20
add esp, 0xc
lea ecx, [esp + 0x10c]
call fcn.0040ab50
mov ecx, dword [0x41b16c]
mov esi, eax
push ecx
lea edx, [esp + 0x44]
push edi
push edx
mov ecx, esi
call fcn.0040a750
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], eax
call fcn.0040a4e0
inc dword [esp + 0x98]
jmp 0x409776
xor edi, edi
mov eax, dword [esp + 0xc0]
lea edx, [esp + 0x6c]
inc eax
push eax
push str.__u_
push edx
mov dword [esp + 0xcc], eax
call fcn.004130a0
lea eax, [esp + 0x78]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xe8]
push ecx
push edx
call fcn.0040ad20
add esp, 0x18
mov ecx, dword [0x41b16c]
mov byte [esp + 0x110], 7
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0040a750
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x110], 5
cmp eax, edi
je 0x4097f7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4097ee
cmp al, 0xff
je 0x4097ee
dec al
mov byte [ecx], al
jmp 0x4097f7
push ecx
call fcn.00412670
add esp, 4
mov dl, byte [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], edi
mov byte [ecx], dl
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov eax, dword [0x41b16c]
mov dword [esp + 0x74], esp
push eax
push edi
push ebx
call fcn.0040a750
mov ecx, dword [ebp + 0x40]
add ecx, 4
call fcn.0040ab50
mov ecx, dword [0x41b16c]
mov esi, eax
push ecx
push edi
push esi
lea ecx, [esp + 0x4c]
call fcn.0040a750
mov edx, dword [esi + 0x10]
add esi, 0x14
mov dword [esp + 0x50], edx
push esi
jmp 0x40966b
mov eax, dword [0x41b16c]
xor edi, edi
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
mov ecx, ebx
call fcn.0040a750
mov edx, dword [ebp + 0x34]
mov eax, 3
cmp dword [edx + 4], eax
jne 0x409891
mov ecx, ebp
call fcn.00402d70
mov dword [esp + 0x2c], 1
jmp 0x409894
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
cmp esi, eax
mov byte [esp + 0x110], 8
mov dword [esp + 0x64], eax
je 0x4098c3
push edi
mov ecx, esi
call fcn.00402550
mov eax, dword [esp + 0x64]
add esi, 0x30
cmp esi, eax
jne 0x4098ac
mov esi, dword [esp + 0x58]
push esi
call fcn.00412670
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
push 1
mov dword [esp + 0x64], edi
mov byte [esp + 0x114], 3
call fcn.004019b0
mov edi, dword [esp + 0xc4]
xor esi, esi
mov ecx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x68]
push ecx
mov dword [ebp + 0x24], eax
call fcn.00413071
push edi
mov dword [ebp + 0x2c], esi
call fcn.004130f2
mov edx, dword [ebp + 0x30]
mov dword [ebp + 0x2c], eax
push edx
call fcn.00413071
mov eax, dword [esp + 0x9c]
mov dword [ebp + 0x30], esi
push eax
call fcn.004130f2
push edi
mov dword [ebp + 0x30], eax
call fcn.00413071
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00413071
mov edx, dword [ebp + 0x28]
push edx
call fcn.00413071
mov edi, dword [esp + 0x40]
push edi
call fcn.004130f2
push edi
mov dword [ebp + 0x28], eax
call fcn.00413071
mov eax, dword [esp + 0xb0]
add esp, 0x24
mov ecx, ebp
push eax
call fcn.00403e40
mov eax, dword [esp + 0x34]
mov byte [esp + 0x110], 0
cmp eax, esi
je 0x40999a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x409991
cmp al, 0xff
je 0x409991
dec al
mov byte [ecx], al
jmp 0x40999a
push ecx
call fcn.00412670
add esp, 4
mov ecx, dword [ebp + 0x34]
cmp dword [ecx + 4], 6
jne 0x409af1
cmp dword [esp + 0x2c], esi
je 0x409af1
mov ecx, ebp
mov dword [esp + 0x2c], esi
call fcn.00402d70
mov ecx, ebp
call fcn.004069b0
test eax, eax
je 0x409b62
mov edx, dword [ebp + 0x34]
mov eax, 7
cmp dword [edx + 4], eax
jne 0x409aec
mov ecx, ebp
call fcn.00402d70
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0xac]
mov byte [esp + 0xac], al
call fcn.004019b0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x110], 9
push ecx
mov ecx, ebp
call fcn.00405a20
test eax, eax
je 0x409ab3
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
push edx
push eax
lea ecx, [esp + 0x74]
push str.__I64u_
push ecx
call fcn.004130a0
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [0x41b16c]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [ebx + 8]
sub edx, ecx
cmp edx, edi
ja 0x409a60
call fcn.00418970
cmp edi, esi
jbe 0x409aab
mov edx, dword [ebx + 8]
mov eax, edi
add eax, edx
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.00401a20
test al, al
je 0x409aab
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 4]
add eax, esi
mov ecx, edi
mov edi, eax
mov eax, ecx
lea esi, [esp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
add eax, ecx
xor esi, esi
mov byte [eax], 0
mov dword [esp + 0x2c], 1
mov eax, dword [esp + 0xac]
mov byte [esp + 0x110], 0
cmp eax, esi
je 0x409b62
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x409ae1
cmp al, 0xff
je 0x409ae1
dec al
mov byte [ecx], al
jmp 0x409b62
push ecx
call fcn.00412670
add esp, 4
jmp 0x409b62
mov dword [ebp + 0x10], eax
jmp 0x409b62
mov edi, 0x41e254
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [0x41b16c]
sub ecx, edx
cmp ecx, edi
ja 0x409b16
call fcn.00418970
cmp edi, esi
jbe 0x409b62
mov edx, dword [ebx + 8]
mov eax, edi
add eax, edx
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.00401a20
test al, al
je 0x409b62
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
add eax, ecx
mov ecx, edi
mov edx, ecx
mov esi, 0x41e254
mov edi, eax
mov eax, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
add eax, ecx
xor esi, esi
mov byte [eax], 0
mov eax, dword [ebp + 0x34]
cmp dword [eax + 4], 0x10
jne case.0x408ceb.21
cmp dword [esp + 0x2c], esi
je case.0x408ceb.21
mov ecx, ebp
call fcn.00402d70
mov eax, dword [ebp + 0x34]
cmp dword [eax + 4], 0x28
jne case.0x408ceb.21
mov eax, dword [eax]
mov cl, byte [esp + 0x13]
mov dword [esp + 0x68], eax
mov byte [esp + 0x30], cl
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x28], ecx
push ecx
lea ecx, [esp + 0x38]
call fcn.00401a20
test al, al
je 0x409bef
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x34]
mov ecx, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call fcn.00401a00
xor esi, esi
mov ecx, ebp
mov byte [esp + 0x110], 0xa
call fcn.00402d70
mov eax, dword [ebp + 0x34]
cmp dword [eax + 4], 0x11
jne 0x409c3b
mov ecx, ebp
xor edi, edi
call fcn.00402d70
mov ecx, ebp
call fcn.00408c00
test eax, eax
je 0x409c53
mov ecx, dword [ebp + 0x34]
mov eax, 0x12
cmp dword [ecx + 4], eax
jne 0x409c36
mov ecx, ebp
mov edi, 1
call fcn.00402d70
jmp 0x409c53
mov dword [ebp + 0x10], eax
jmp 0x409c53
push 0x41f320
call fcn.004130f2
mov edx, dword [ebp + 0x24]
mov edi, dword [esp + 0x30]
add esp, 4
mov dword [ebp + edx*4 + 0x2c], eax
mov eax, dword [ebp + 0x28]
push eax
call fcn.00413071
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + ecx*4 + 0x2c]
push edx
call fcn.004130f2
add esp, 8
cmp edi, esi
mov dword [ebp + 0x28], eax
je 0x409fa2
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x44], al
call fcn.004019b0
mov cl, byte [esp + 0x13]
mov dword [esp + 0x58], esi
mov byte [esp + 0x54], cl
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x110], 0xb
cmp eax, esi
je 0x409d04
mov dl, byte [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x41b16c]
push eax
push esi
push ebx
call fcn.0040a750
lea ecx, [esp + 0x10c]
call fcn.0040ab50
mov ecx, dword [0x41b16c]
mov edi, eax
push ecx
push esi
push edi
lea ecx, [esp + 0x4c]
call fcn.0040a750
mov edx, dword [edi + 0x10]
mov dword [esp + 0x50], edx
jmp 0x409d4d
mov al, byte [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
mov byte [ecx], al
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov edx, dword [0x41b16c]
push edx
push esi
push ebx
call fcn.0040a750
mov ecx, dword [ebp + 0x40]
add ecx, 4
call fcn.0040ab50
mov edi, eax
mov eax, dword [0x41b16c]
push eax
push esi
push edi
lea ecx, [esp + 0x4c]
call fcn.0040a750
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x50], ecx
add edi, 0x14
lea ecx, [esp + 0x54]
push edi
call fcn.0040a4e0
mov edi, 0x41f320
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x48]
not ecx
dec ecx
mov ebx, ecx
mov ecx, eax
cmp eax, ebx
jb 0x409d77
mov ecx, ebx
mov esi, dword [esp + 0x44]
mov edi, 0x41f320
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x409d8b
sbb edx, edx
sbb edx, 0xffffffff
xor esi, esi
cmp edx, esi
jne 0x409da4
cmp eax, ebx
jb 0x409da4
xor edx, edx
cmp eax, ebx
setne dl
cmp edx, esi
je 0x409f4e
mov dl, byte [esp + 0x30]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x41b16c]
lea edx, [esp + 0x40]
push eax
push esi
push edx
call fcn.0040a750
sub esp, 0x24
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
mov byte [esp + 0x148], 0xc
call fcn.00408a30
mov ecx, dword [ebp + 0x40]
mov byte [esp + 0x144], 0xb
call fcn.00401160
mov edi, eax
cmp edi, esi
jl 0x409f4e
mov esi, dword [esp + 0x58]
test esi, esi
je 0x409e28
mov ecx, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, edi
ja 0x409e8a
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], dl
call fcn.004019b0
mov edi, str.invalid_vector_T__subscript
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_vector_T__subscript
lea ecx, [esp + 0xa8]
call fcn.0040a980
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x6c]
push eax
mov byte [esp + 0x114], 0xd
call fcn.004088c0
lea ecx, [esp + 0x6c]
push 0x41bd68
push ecx
call fcn.00412c3a
lea ebx, [edi + edi*2]
shl ebx, 4
mov eax, dword [esi + ebx + 0x10]
test eax, eax
jne 0x409fcd
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + edx*4 + 0x2c]
push eax
call fcn.00413071
mov esi, dword [esp + 0x5c]
add esp, 4
test esi, esi
je 0x409ecf
mov ecx, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, edi
ja 0x409f31
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], dl
call fcn.004019b0
mov edi, str.invalid_vector_T__subscript
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_vector_T__subscript
lea ecx, [esp + 0xa8]
call fcn.0040a980
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x6c]
push eax
mov byte [esp + 0x114], 0xe
call fcn.004088c0
lea ecx, [esp + 0x6c]
push 0x41bd68
push ecx
call fcn.00412c3a
mov ebx, dword [esi + ebx + 0x1c]
test ebx, ebx
jne 0x409f3e
mov ebx, 0x41b168
push ebx
call fcn.004130f2
mov edx, dword [ebp + 0x24]
add esp, 4
mov dword [ebp + edx*4 + 0x2c], eax
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov byte [esp + 0x110], 0xf
cmp esi, edi
je 0x409f76
push 0
mov ecx, esi
call fcn.00402550
add esi, 0x30
cmp esi, edi
jne 0x409f62
mov esi, dword [esp + 0x58]
push esi
call fcn.00412670
add esp, 4
xor eax, eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], eax
push 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x114], 0xa
call fcn.004019b0
xor esi, esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je case.0x408ceb.21
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4093bb
cmp al, 0xff
je 0x4093bb
dec al
mov byte [ecx], al
jmp case.0x408ceb.21
mov dword [esp + 0x28], 0
jmp 0x409f52
mov ecx, ebp
call fcn.00402d70
mov eax, dword [ebp + 0x34]
cmp dword [eax + 4], 0x28
jne case.0x408ceb.21
mov eax, dword [eax]
mov cl, byte [esp + 0x13]
mov dword [esp + 0x24], eax
mov byte [esp + 0x30], cl
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x34]
push ebx
call fcn.00401a20
test al, al
je 0x40a04c
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
xor esi, esi
mov byte [ebx + eax], 0
mov ecx, ebp
mov byte [esp + 0x110], 0x10
call fcn.00402d70
mov ecx, dword [ebp + 0x34]
mov ebx, 0x12
cmp dword [ecx + 4], 0x11
jne 0x40a098
mov ecx, ebp
xor edi, edi
call fcn.00402d70
mov ecx, ebp
call fcn.00408c00
test eax, eax
je 0x40a0b0
mov edx, dword [ebp + 0x34]
cmp dword [edx + 4], ebx
jne 0x40a093
mov ecx, ebp
mov edi, 1
call fcn.00402d70
jmp 0x40a0b0
mov dword [ebp + 0x10], ebx
jmp 0x40a0b0
push 0x41f320
call fcn.004130f2
mov ecx, dword [ebp + 0x24]
mov edi, dword [esp + 0x30]
add esp, 4
mov dword [ebp + ecx*4 + 0x2c], eax
mov edx, dword [ebp + 0x28]
push edx
call fcn.00413071
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + eax*4 + 0x2c]
push ecx
call fcn.004130f2
add esp, 8
cmp edi, esi
mov dword [ebp + 0x28], eax
je 0x40a3fd
mov dl, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x44], dl
call fcn.004019b0
mov al, byte [esp + 0x13]
mov dword [esp + 0x58], esi
mov byte [esp + 0x54], al
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dl, byte [ebp + 0x14]
lea eax, [ebp + 0x14]
sub esp, 0x10
mov byte [esp + 0x120], 0x11
mov ecx, esp
mov dword [esp + 0x34], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov edx, dword [0x41b16c]
push edx
push esi
push eax
call fcn.0040a750
mov ecx, dword [ebp + 0x40]
add ecx, 4
call fcn.0040ab50
mov edi, eax
mov eax, dword [0x41b16c]
push eax
push esi
push edi
lea ecx, [esp + 0x4c]
call fcn.0040a750
mov ecx, dword [edi + 0x10]
add edi, 0x14
mov dword [esp + 0x50], ecx
push edi
lea ecx, [esp + 0x58]
call fcn.0040a4e0
mov edi, 0x41f320
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x48]
not ecx
dec ecx
mov edx, ecx
mov ecx, eax
cmp eax, edx
jb 0x40a181
mov ecx, edx
mov esi, dword [esp + 0x44]
mov edi, 0x41f320
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x40a195
sbb ebx, ebx
sbb ebx, 0xffffffff
xor esi, esi
cmp ebx, esi
jne 0x40a1ae
cmp eax, edx
jb 0x40a1ae
xor ebx, ebx
cmp eax, edx
setne bl
cmp ebx, esi
je 0x40a368
mov dl, byte [esp + 0x30]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
mov byte [ecx], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov eax, dword [0x41b16c]
lea edx, [esp + 0x40]
push eax
push esi
push edx
call fcn.0040a750
sub esp, 0x24
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
mov byte [esp + 0x148], 0x12
call fcn.00408a30
mov ecx, dword [ebp + 0x40]
mov byte [esp + 0x144], 0x11
call fcn.00401160
mov edi, eax
cmp edi, esi
jl 0x40a368
mov esi, dword [esp + 0x58]
test esi, esi
je 0x40a232
mov ecx, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, edi
ja 0x40a29c
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], dl
call fcn.004019b0
mov edi, str.invalid_vector_T__subscript
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_vector_T__subscript
lea ecx, [esp + 0xa8]
call fcn.0040a980
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x6c]
push eax
mov byte [esp + 0x114], 0x13
call fcn.00401300
lea ecx, [esp + 0x6c]
push 0x41bd68
push ecx
mov dword [esp + 0x74], vtable.std::out_of_range.0
call fcn.00412c3a
lea ebx, [edi + edi*2]
shl ebx, 4
mov eax, dword [esi + ebx + 0x10]
test eax, eax
jne 0x40a3dc
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + edx*4 + 0x2c]
push eax
call fcn.00413071
mov esi, dword [esp + 0x5c]
add esp, 4
test esi, esi
je 0x40a2e1
mov ecx, dword [esp + 0x5c]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, edi
ja 0x40a34b
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], dl
call fcn.004019b0
mov edi, str.invalid_vector_T__subscript
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.invalid_vector_T__subscript
lea ecx, [esp + 0xa8]
call fcn.0040a980
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x6c]
push eax
mov byte [esp + 0x114], 0x14
call fcn.00401300
lea ecx, [esp + 0x6c]
push 0x41bd68
push ecx
mov dword [esp + 0x74], vtable.std::out_of_range.0
call fcn.00412c3a
mov ebx, dword [esi + ebx + 0x1c]
test ebx, ebx
jne 0x40a358
mov ebx, 0x41b168
push ebx
call fcn.004130f2
mov edx, dword [ebp + 0x24]
add esp, 4
mov dword [ebp + edx*4 + 0x2c], eax
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x24], esi
cmp esi, edi
je 0x40a3a9
mov bl, 0x15
lea ecx, [esi + 0x18]
mov byte [esp + 0x110], 0x16
call fcn.00401970
push 1
mov ecx, esi
mov byte [esp + 0x114], bl
call fcn.004019b0
add esi, 0x30
cmp esi, edi
mov dword [esp + 0x24], esi
jne 0x40a37a
mov esi, dword [esp + 0x58]
push esi
call fcn.00412670
mov eax, dword [esp + 0x48]
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
je 0x40a3ef
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40a3e6
cmp al, 0xff
je 0x40a3e6
dec al
mov byte [ecx], al
jmp 0x40a3ef
mov dword [esp + 0x28], 0
jmp 0x40a36c
push ecx
call fcn.00412670
add esp, 4
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
xor esi, esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x40a422
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40a419
cmp al, 0xff
je 0x40a419
dec al
mov byte [ecx], al
jmp 0x40a422
push ecx
call fcn.00412670
add esp, 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0xf8]
mov dword [esp + 0x110], 0xffffffff
call fcn.004010c0
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret