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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100414e8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10054670]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x10054670]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
xor edi, edi
cmp eax, edi
je 0x10005d43
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov edx, dword [esi + 0x30]
mov ecx, dword [edx]
add ecx, eax
cmp eax, ecx
jae 0x10005d43
mov eax, edx
dec dword [eax]
mov esi, dword [esi + 0x20]
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [esi], edx
movzx eax, byte [eax]
jmp 0x10005fad
cmp dword [esi + 0x54], edi
je 0x10006046
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x48]
cmp dword [ecx], edx
jne 0x10005d6a
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [ecx], edx
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
mov edx, dword [esi + 0x30]
sub eax, eax
mov dword [edx], eax
cmp dword [esi + 0x44], edi
jne 0x10005d8c
mov esi, dword [esi + 0x54]
push esi
call fcn.10014560
add esp, 4
cmp eax, 0xffffffff
je 0x10006046
movzx eax, al
jmp 0x10005fad
mov dword [esp + 0x70], edi
push 8
mov dword [esp + 0xa4], edi
call fcn.100177c0
add esp, 4
cmp eax, edi
je 0x100060c0
mov dword [esp + 0x70], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x70]
mov dword [ecx], eax
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], dl
mov dword [esp + 0xa0], 1
mov edx, dword [esi + 0x54]
push edx
call fcn.10014560
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10006032
mov eax, dword [esp + 0x84]
or ecx, 0xffffffff
sub ecx, eax
cmp ecx, 1
jbe 0x1000604e
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x1000604e
mov ecx, dword [esp + 0x88]
cmp ecx, edi
jae 0x10005e31
push eax
push edi
lea ecx, [esp + 0x78]
call fcn.10008510
jmp 0x10005e4c
test edi, edi
jne 0x10005e55
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], edi
cmp ecx, 0x10
jae 0x10005e49
lea eax, [esp + 0x74]
mov byte [eax], 0
mov eax, dword [esp + 0x84]
test edi, edi
setne cl
test cl, cl
je 0x10005e91
mov ecx, dword [esp + 0x74]
mov edx, 0x10
cmp dword [esp + 0x88], edx
jae 0x10005e72
lea ecx, [esp + 0x74]
mov byte [ecx + eax], bl
mov eax, dword [esp + 0x74]
mov dword [esp + 0x84], edi
cmp dword [esp + 0x88], edx
jae 0x10005e8d
lea eax, [esp + 0x74]
mov byte [eax + edi], 0
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x74]
call fcn.10006ed0
mov edi, eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xa4], 2
call fcn.10006ed0
mov ebx, eax
mov ecx, edi
mov byte [esp + 0xa0], 3
call fcn.100080c0
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x1c], ecx
mov ecx, ebx
mov edi, eax
call fcn.100080c0
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea ebx, [esp + 0x20]
push ebx
lea ebx, [esp + 0x1c]
push ebx
lea ebx, [esp + 0x1f]
push ebx
lea ebx, [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x2c]
add ebx, edi
push ebx
push eax
lea eax, [esi + 0x4c]
push eax
call edx
lea ecx, [esp + 0x64]
mov edi, eax
mov byte [esp + 0xa0], 2
call fcn.100011e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 1
call fcn.100011e0
test edi, edi
js 0x10006032
cmp edi, 1
jle 0x10005fd1
cmp edi, 3
jne 0x10006032
cmp dword [esp + 0x84], 1
jb 0x1000601b
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x74]
call fcn.10006ed0
push 1
mov ecx, eax
mov byte [esp + 0xa4], 6
call fcn.100080c0
push eax
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.10016460
add esp, 0x10
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 1
call fcn.100011e0
movzx esi, byte [esp + 0x17]
lea ecx, [esp + 0x70]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10004cd0
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.100106c0
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x17]
cmp dword [esp + 0x20], eax
jne 0x10006058
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x74]
call fcn.10006ed0
mov ecx, eax
mov byte [esp + 0xa0], 5
call fcn.100080c0
mov edx, dword [esp + 0x18]
sub edx, eax
push edx
push 0
lea ecx, [esp + 0x78]
call fcn.10006c50
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 1
call fcn.100011e0
mov eax, dword [esi + 0x54]
push eax
call fcn.10014560
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
jne 0x10005df8
lea ecx, [esp + 0x70]
mov dword [esp + 0xa0], 0xffffffff
call fcn.10004cd0
or eax, 0xffffffff
jmp 0x10005fad
push str.string_too_long
call fcn.1000bc50
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x74]
call fcn.10006ed0
mov ecx, eax
mov byte [esp + 0xa0], 4
call fcn.100080c0
mov edi, dword [esp + 0x84]
sub edi, dword [esp + 0x18]
lea ecx, [esp + 0x58]
add edi, eax
mov byte [esp + 0xa0], 1
call fcn.100011e0
test edi, edi
jle 0x10005f92
jmp 0x100060a0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x54]
movsx eax, byte [edi + edx - 1]
dec edi
push ecx
push eax
call fcn.100139b0
add esp, 8
test edi, edi
jg 0x100060a0
jmp 0x10005f92
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], edi
call fcn.10010b60
push 0x10052074
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.100192e0
int3