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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10038684
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1004b034]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x1004b034]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov dword [esp + 0x1c], ebx
push 0x10019ec0
mov byte [0x1015ec56], 1
call dword [0x1003b4d0]
lea eax, [esp + 0x1a4]
push eax
mov esi, str.CZZU______CZZU_____
call fcn.1001f010
mov dword [esp + 0x288], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x54], bl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x60], bl
mov byte [esp + 0x288], 1
mov eax, dword [0x1015d640]
mov edi, 0x10
cmp dword [0x1015d654], edi
jae 0x1001aac5
mov eax, 0x1015d640
mov esi, eax
jmp 0x1001aad0
mov eax, dword [0x1015d640]
cmp dword [0x1015d654], edi
jae 0x1001aae2
mov eax, 0x1015d640
add eax, dword [0x1015d650]
push esi
lea edx, [esp + 0x1a8]
push edx
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.10020170
add esp, 0x10
test al, al
je 0x1001b5ad
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
lea eax, [esp + 0x58]
jbe 0x1001ab2d
lea eax, [esi + 0xc]
lea ecx, [esp + 0x240]
call fcn.1001f150
mov byte [esp + 0x288], 2
lea ecx, [esp + 0x240]
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
push ecx
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x1cc], 0xf
call fcn.100031f0
mov byte [esp + 0x288], 4
cmp dword [esp + 0x254], edi
jb 0x1001ab95
mov edx, dword [esp + 0x240]
push edx
call dword [0x1003b3bc]
add esp, 4
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
mov edi, 0xf
cmp eax, 2
mov dword [esp + 0x254], edi
mov dword [esp + 0x250], ebx
mov byte [esp + 0x240], bl
lea eax, [esp + 0x58]
jbe 0x1001abd7
lea eax, [esi + 0x18]
lea ecx, [esp + 0x25c]
call fcn.1001f150
mov byte [esp + 0x288], 5
lea ecx, [esp + 0x25c]
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
push ecx
or eax, 0xffffffff
xor ebx, ebx
lea ecx, [esp + 0x20c]
mov dword [esp + 0x220], edi
call fcn.100031f0
mov esi, 0x10
mov byte [esp + 0x288], 7
cmp dword [esp + 0x270], esi
jb 0x1001ac40
mov edx, dword [esp + 0x25c]
push edx
call dword [0x1003b3bc]
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x21c], esi
mov esi, dword [esp + 0x208]
mov edi, 0xf
mov dword [esp + 0x270], edi
mov dword [esp + 0x26c], ebx
mov byte [esp + 0x25c], bl
jae 0x1001ac73
lea esi, [esp + 0x208]
lea eax, [esp + 0x14]
push eax
push 0xa
lea ecx, [esp + 0x30]
push ecx
push esi
mov dword [esp + 0x24], ebx
call dword [0x1003b1dc]
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x28]
je 0x1001b2a2
cmp dword [esp + 0x14], ebx
jne 0x1001b5a2
xor edx, edx
cmp eax, 0x7fffffff
setg dl
xor ecx, ecx
cmp eax, 0x80000000
setl cl
cmp ecx, edx
jne 0x1001b5a2
mov eax, dword [esp + 0x1b4]
mov esi, 0x10
cmp dword [esp + 0x1c8], esi
jae 0x1001acdd
lea eax, [esp + 0x1b4]
mov edx, dword [esp + 0x1c4]
push edx
push eax
push 0x1015d608
call fcn.10007b90
cmp eax, 0xffffffff
je 0x1001b22c
lea ecx, [esp + 0xbc]
mov dword [esp + 0x64], 0x10042280
call dword [0x1003b2d0]
push ebx
push ebx
lea eax, [esp + 0x7c]
mov byte [esp + 0x290], 8
or dword [esp + 0x20], 1
push eax
lea ecx, [esp + 0x70]
call dword [0x1003b2c8]
mov dword [esp + 0x288], 9
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x74]
mov ecx, eax
mov dword [esp + edx + 0x64], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x14], eax
call dword [0x1003b2c0]
mov byte [esp + 0x288], 0xa
mov ecx, dword [0x1015d608]
mov dword [esp + 0x74], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
cmp dword [0x1015d61c], esi
jae 0x1001ad79
mov ecx, 0x1015d608
mov eax, dword [0x1015d618]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 2
cmp eax, ebx
je 0x1001adaa
push ecx
mov ebx, eax
lea esi, [esp + 0x78]
call fcn.10013be0
xor ebx, ebx
mov edi, 0xf
lea esi, [ebx + 0x10]
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
mov byte [esp + 0x288], 0xc
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 4]
push 0xa
lea ecx, [esp + ecx + 0x68]
call dword [0x1003b2b0]
movzx edx, al
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x1d8]
call fcn.10008590
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 8
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x1001b13c
jmp 0x1001ae20
mov eax, dword [esp + 0x1b4]
cmp dword [esp + 0x1c8], esi
jae 0x1001ae37
lea eax, [esp + 0x1b4]
mov ecx, dword [esp + 0x1c4]
push ecx
push eax
lea edx, [esp + 0x1d8]
push edx
call fcn.10007b90
cmp eax, 0xffffffff
je 0x1001b0f4
lea ecx, [esp + 0x15c]
mov dword [esp + 0x104], 0x10042280
call dword [0x1003b2d0]
push ebx
push ebx
lea eax, [esp + 0x11c]
mov byte [esp + 0x290], 0xd
or dword [esp + 0x20], 2
push eax
lea ecx, [esp + 0x110]
call dword [0x1003b2c8]
mov dword [esp + 0x288], 0xe
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x114]
mov ecx, eax
mov dword [esp + edx + method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x14], eax
call dword [0x1003b2c0]
mov byte [esp + 0x288], 0xf
mov ecx, dword [esp + 0x1d0]
mov dword [esp + method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
cmp dword [esp + 0x1e4], esi
jae 0x1001aeef
lea ecx, [esp + 0x1d0]
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], 2
cmp eax, ebx
je 0x1001af22
push ecx
mov ebx, eax
lea esi, [esp + 0x118]
call fcn.10013be0
xor ebx, ebx
mov edi, 0xf
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov byte [esp + 0x224], bl
mov dword [esp + 0x200], edi
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
lea ecx, [esp + 0x24]
push ecx
push ecx
lea edx, [esp + 0x10c]
push edx
lea ecx, [esp + 0x230]
mov byte [esp + 0x294], 0x12
call fcn.100202e0
add esp, 8
mov ecx, eax
call dword [0x1003b18c]
mov eax, dword [0x1003b1d8]
push eax
lea ecx, [esp + 0x108]
call dword [0x1003b188]
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
push 0xa
add ecx, esi
call dword [0x1003b2b0]
movzx edx, al
push edx
push esi
lea ecx, [esp + 0x1f4]
call fcn.10008590
mov eax, dword [esp + 0x24]
add esp, 8
cmp eax, dword [esp + 0x24]
je 0x1001b2ad
cmp dword [esp + 0x200], 0x10
mov esi, dword [0x1003b3bc]
jb 0x1001afdc
mov ecx, dword [esp + 0x1ec]
push ecx
call esi
add esp, 4
cmp dword [esp + 0x238], 0x10
mov dword [esp + 0x200], edi
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
jb 0x1001b008
mov edx, dword [esp + 0x224]
push edx
call esi
add esp, 4
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov byte [esp + 0x224], bl
mov edx, dword [ecx + 4]
lea eax, [esp + 0x15c]
mov dword [esp + 0x14], eax
mov dword [esp + edx + method.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea eax, [esp + 0x114]
mov dword [esp + 0x20], eax
mov dword [esp + method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x288], 0x18
test byte [esp + 0x154], 1
je 0x1001b074
mov ecx, dword [esp + 0x124]
mov eax, dword [ecx]
push eax
call esi
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [esp + 0x120]
call dword [0x1003b2b8]
mov edx, dword [esp + 0x128]
mov dword [edx], ebx
mov eax, dword [esp + 0x138]
mov dword [eax], ebx
mov ecx, dword [esp + 0x148]
mov dword [ecx], ebx
and dword [esp + 0x154], 0xfffffffe
lea ecx, [esp + 0x114]
mov dword [esp + 0x150], ebx
mov byte [esp + 0x288], 0x17
call dword [0x1003b258]
mov byte [esp + 0x288], 0xc
mov edx, dword [esp + 0x104]
mov ecx, dword [0x1003b250]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x104], ecx
lea ecx, [esp + 0x15c]
call dword [0x1003b248]
mov esi, 0x10
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + 4]
push 0xa
lea ecx, [esp + ecx + 0x68]
call dword [0x1003b2b0]
movzx eax, al
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1d8]
call fcn.10008590
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
and al, 6
movsx edx, al
add esp, 8
neg edx
sbb edx, edx
not edx
test ecx, edx
jne 0x1001ae20
cmp dword [esp + 0x1e4], esi
jb 0x1001b156
mov eax, dword [esp + 0x1d0]
push eax
call dword [0x1003b3bc]
add esp, 4
mov edx, dword [esp + 0x64]
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
mov eax, dword [edx + 4]
lea ecx, [esp + 0xbc]
mov dword [esp + 0x20], ecx
mov dword [esp + eax + 0x64], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [esp + 0x74]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x74], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x288], 0x1a
test byte [esp + 0xb4], 1
je 0x1001b1ba
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
push eax
call dword [0x1003b3bc]
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [esp + 0x80]
call dword [0x1003b2b8]
mov eax, dword [esp + 0x88]
mov dword [eax], ebx
mov ecx, dword [esp + 0x98]
mov dword [ecx], ebx
mov edx, dword [esp + 0xa8]
mov dword [edx], ebx
and dword [esp + 0xb4], 0xfffffffe
lea ecx, [esp + 0x74]
mov dword [esp + 0xb0], ebx
mov byte [esp + 0x288], 0x19
call dword [0x1003b258]
mov byte [esp + 0x288], 7
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov edx, dword [0x1003b250]
mov dword [esp + ecx + 0x64], edx
lea ecx, [esp + 0xbc]
call dword [0x1003b248]
cmp dword [esp + 0x21c], 0x10
mov esi, dword [esp + 0x4c]
jb 0x1001b24b
mov eax, dword [esp + 0x208]
push eax
call dword [0x1003b3bc]
add esp, 4
mov byte [esp + 0x288], 1
cmp dword [esp + 0x1c8], 0x10
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
jb 0x1001b283
mov ecx, dword [esp + 0x1b4]
push ecx
call dword [0x1003b3bc]
add esp, 4
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
xor ebx, ebx
mov dword [esp + 0x1c8], edi
lea edi, [ebx + 0x10]
jmp 0x1001aad0
push str.invalid_stoi_argument
call dword [0x1003b1e4]
mov byte [0x1015ec39], 1
call fcn.100121e0
mov esi, 0x10
cmp dword [esp + 0x200], esi
jb 0x1001b2d6
mov edx, dword [esp + 0x1ec]
mov dword [0x1015e85c], edx
jmp 0x1001b2e2
lea eax, [esp + 0x1ec]
mov dword [0x1015e85c], eax
mov dword [0x1015e858], str.by_XOR_BASIC
call fcn.1000d2a0
push 0xbb8
call dword [0x1003b178]
call fcn.10009910
cmp dword [esp + 0x200], esi
jb 0x1001b31b
mov ecx, dword [esp + 0x1ec]
push ecx
call dword [0x1003b3bc]
add esp, 4
mov dword [esp + 0x200], edi
mov dword [esp + 0x1fc], ebx
mov byte [esp + 0x1ec], bl
cmp dword [esp + 0x238], esi
jb 0x1001b34a
mov edx, dword [esp + 0x224]
push edx
call dword [0x1003b3bc]
add esp, 4
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x238], edi
mov dword [esp + 0x234], ebx
mov byte [esp + 0x224], bl
mov edx, dword [ecx + 4]
lea eax, [esp + 0x15c]
mov esi, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x20], eax
mov dword [esp + edx + 0x104], esi
lea eax, [esp + 0x114]
mov dword [esp + 0x1c], eax
mov dword [esp + method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x288], 0x14
test byte [esp + 0x154], 1
je 0x1001b3bb
mov ecx, dword [esp + 0x124]
mov eax, dword [ecx]
push eax
call dword [0x1003b3bc]
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [esp + 0x120]
call dword [0x1003b2b8]
mov edx, dword [esp + 0x128]
mov dword [edx], ebx
mov eax, dword [esp + 0x138]
mov dword [eax], ebx
mov ecx, dword [esp + 0x148]
mov dword [ecx], ebx
and dword [esp + 0x154], 0xfffffffe
lea ecx, [esp + 0x114]
mov dword [esp + 0x150], ebx
mov byte [esp + 0x288], 0x13
call dword [0x1003b258]
mov byte [esp + 0x288], 0xc
mov edx, dword [esp + 0x104]
mov ecx, dword [0x1003b250]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x104], ecx
lea ecx, [esp + 0x15c]
call dword [0x1003b248]
cmp dword [esp + 0x1e4], 0x10
jb 0x1001b451
mov edx, dword [esp + 0x1d0]
push edx
call dword [0x1003b3bc]
add esp, 4
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov byte [esp + 0x1d0], bl
mov edx, dword [ecx + 4]
lea eax, [esp + 0xbc]
mov dword [esp + 0x20], eax
mov dword [esp + edx + 0x64], esi
lea eax, [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x288], 0x16
test byte [esp + 0xb4], 1
je 0x1001b4b1
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
push eax
call dword [0x1003b3bc]
add esp, 4
push ebx
push ebx
push ebx
lea ecx, [esp + 0x80]
call dword [0x1003b2b8]
mov edx, dword [esp + 0x88]
mov dword [edx], ebx
mov eax, dword [esp + 0x98]
mov dword [eax], ebx
mov ecx, dword [esp + 0xa8]
mov dword [ecx], ebx
and dword [esp + 0xb4], 0xfffffffe
lea ecx, [esp + 0x74]
mov dword [esp + 0xb0], ebx
mov byte [esp + 0x288], 0x15
call dword [0x1003b258]
mov byte [esp + 0x288], 7
mov edx, dword [esp + 0x64]
mov ecx, dword [0x1003b250]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x64], ecx
lea ecx, [esp + 0xbc]
call dword [0x1003b248]
mov esi, 0x10
cmp dword [esp + 0x21c], esi
jb 0x1001b542
mov edx, dword [esp + 0x208]
push edx
call dword [0x1003b3bc]
add esp, 4
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
cmp dword [esp + 0x1c8], esi
jb 0x1001b571
mov eax, dword [esp + 0x1b4]
push eax
call dword [0x1003b3bc]
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1c4], ebx
mov byte [esp + 0x1b4], bl
cmp eax, ebx
je 0x1001b598
push eax
call dword [0x1003b3bc]
add esp, 4
lea ecx, [esp + 0x1a4]
push ecx
jmp 0x1001b5c7
push str.stoi_argument_out_of_range
call dword [0x1003b220]
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x1001b5bf
push eax
call dword [0x1003b3bc]
add esp, 4
lea edx, [esp + 0x1a4]
push edx
mov dword [esp + 0x28c], 0xffffffff
call fcn.1001f0b0
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.10034620
mov esp, ebp
pop ebp
ret