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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x639fc6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6bc858]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x6bc858]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
xor edi, edi
mov dword [esp + 0x14], esi
cmp eax, edi
je 0x4c9ea7
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 0x4c9ea7
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 0x4ca14e
cmp dword [esi + 0x54], edi
je 0x4ca213
mov ecx, dword [esi + 0x10]
lea edx, [esi + 0x48]
cmp dword [ecx], edx
jne 0x4c9ece
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 0x4c9ef0
mov esi, dword [esi + 0x54]
push esi
call fcn.005fdf90
add esp, 4
cmp eax, 0xffffffff
je 0x4ca213
movzx eax, al
jmp 0x4ca14e
mov dword [esp + 0x78], edi
push 8
mov dword [esp + 0xac], edi
call fcn.005f0fe0
add esp, 4
cmp eax, edi
je 0x4ca284
mov dword [esp + 0x78], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x78]
mov dword [ecx], eax
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], dl
mov dword [esp + 0xa8], 1
mov edx, dword [esi + 0x54]
push edx
call fcn.005fdf90
add esp, 4
cmp eax, 0xffffffff
je 0x4ca1ff
push eax
push 1
lea ecx, [esp + 0x80]
call fcn.00460990
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
call fcn.00480720
mov esi, eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x7c]
mov byte [esp + 0xac], 2
call fcn.00480720
mov edi, eax
mov ecx, esi
mov byte [esp + 0xa8], 3
call fcn.004819d0
mov ebx, dword [esp + 0x8c]
mov ecx, edi
mov esi, eax
call fcn.004819d0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x44]
mov edx, dword [ecx]
lea edi, [esp + 0x20]
push edi
lea edi, [esp + 0x18]
push edi
lea edi, [esp + 0x1b]
push edi
lea edi, [esp + 0x24]
push edi
add ebx, esi
push ebx
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x4c
push eax
mov eax, dword [edx + 0x10]
call eax
push 3
lea ecx, [esp + 0x30]
mov edi, eax
mov byte [esp + 0xac], 2
call fcn.00564140
mov byte [esp + 0xa8], 4
mov eax, dword [esp + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x4ca047
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
je 0x4ca026
lea ecx, [ecx]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x4ca022
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
jne 0x4ca010
cmp dword [esi], ebx
jne 0x4ca03d
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [esp + 0x40]
mov dword [esi], edx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 2
call fcn.00564180
push 3
lea ecx, [esp + 0x2c]
mov byte [esp + 0xac], 1
call fcn.00564140
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4ca0ba
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
je 0x4ca099
mov eax, dword [esi]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x4ca095
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
jne 0x4ca083
cmp dword [esi], ebx
jne 0x4ca0b0
push 0xb5
push 0x676220
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00563e60
add esp, 0xc
mov edx, dword [esp + 0x34]
mov dword [esi], edx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa8], 1
call fcn.00564180
cmp edi, ebx
jl 0x4ca1ff
cmp edi, 1
jle 0x4ca172
cmp edi, 3
jne 0x4ca1ff
cmp dword [esp + 0x8c], 1
jb 0x4ca1e6
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x7c]
call fcn.00480720
push 1
mov ecx, eax
mov byte [esp + 0xac], 9
call fcn.004819d0
push eax
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.005f3b90
add esp, 0x10
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 1
call fcn.00413600
movzx esi, byte [esp + 0x13]
lea ecx, [esp + 0x78]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00412410
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005f0da0
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x13]
cmp dword [esp + 0x20], eax
jne 0x4ca21b
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00480720
mov ecx, eax
mov byte [esp + 0xa8], 7
call fcn.004819d0
mov edx, dword [esp + 0x18]
sub edx, eax
push edx
push ebx
lea ecx, [esp + 0x80]
call fcn.00412d10
push 3
lea ecx, [esp + 0x28]
mov byte [esp + 0xac], 1
call fcn.00564140
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 8
call fcn.00413660
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 1
call fcn.00564180
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x54]
push ecx
call fcn.005fdf90
add esp, 4
cmp eax, 0xffffffff
jne 0x4c9f5a
lea ecx, [esp + 0x78]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00412410
or eax, 0xffffffff
jmp 0x4ca14e
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00480720
mov ecx, eax
mov byte [esp + 0xa8], 6
call fcn.004819d0
mov esi, dword [esp + 0x8c]
sub esi, dword [esp + 0x18]
lea ecx, [esp + 0x60]
add esi, eax
mov byte [esp + 0xa8], 1
call fcn.00413600
cmp esi, ebx
jle 0x4ca133
mov edi, edi
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x54]
mov ecx, dword [esp + 0x18]
movsx edx, byte [esi + ecx - 1]
dec esi
push eax
push edx
call fcn.005fd520
add esp, 8
cmp esi, ebx
jg 0x4ca260
jmp 0x4ca133
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], edi
call fcn.005f41f0
push 0x6a361c
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x50], vtable.std::bad_alloc.0
call fcn.006009e0
int3