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

Disassembly:
push 0xffffffffffffffff
push 0x527278
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x568fd0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [esp + 0x7c]
mov ebp, dword [edx + 4]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x6c], 0
mov eax, dword [edi + 8]
mov ebx, 1
test eax, eax
je 0x41dd4e
mov eax, dword [eax + 0xc]
inc ebx
test eax, eax
jne 0x41dd46
mov eax, 0x53741c
lea esi, [esp + 0x40]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], eax
mov byte [esp + 0x5c], 0
mov dword [esp + 0x14], esi
cmp ebx, 4
jbe 0x41de0e
lea esi, [ebx*8 + 3]
and esi, 0xfffffffc
mov eax, ecx
lea ecx, [eax + esi]
cmp ecx, 0x1000
ja 0x41ddab
mov esi, dword [ebp]
lea eax, [eax + esi + 4]
mov dword [ebp + 4], ecx
jmp 0x41dddd
mov eax, esi
cmp esi, 0x1000
ja 0x41ddba
mov eax, 0x1000
add eax, 4
push eax
call dword [0x56b960]
add esp, 4
test eax, eax
je 0x41dde1
mov edx, dword [ebp]
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp], eax
mov dword [ebp + 4], esi
add eax, 4
test eax, eax
jne 0x41de08
push 1
push 0x56b434
lea ecx, [esp + 0x30]
call fcn.00501ee0
push 0x55ad70
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.0050984b
mov dword [esp + 0x14], eax
mov esi, eax
mov ecx, dword [edx + 4]
mov edx, dword [edx]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
push ecx
mov ecx, dword [edi + 4]
lea edx, [esp + 0x28]
push edx
call fcn.0041dfc0
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov esi, dword [edi + 8]
test esi, esi
je 0x41de7a
mov edi, dword [esp + 0x14]
add edi, 8
lea ebx, [ebx]
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0041dfc0
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov esi, dword [esi + 0xc]
add edi, 8
test esi, esi
jne 0x41de50
xor esi, esi
xor ecx, ecx
test ebx, ebx
jbe 0x41dea6
mov eax, dword [esp + 0x14]
mov eax, dword [eax + ecx*8]
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x41de90
sub eax, edi
sar eax, 1
inc ecx
add esi, eax
cmp ecx, ebx
jb 0x41de82
mov ecx, dword [esp + 0x7c]
mov edi, dword [ecx]
mov eax, dword [edi + 4]
lea esi, [esi + esi + 5]
and esi, 0xfffffffc
lea ecx, [eax + esi]
cmp ecx, 0x1000
ja 0x41dece
mov edx, dword [edi]
lea eax, [edx + eax + 4]
mov dword [edi + 4], ecx
mov edi, eax
jmp 0x41defa
mov eax, esi
cmp esi, 0x1000
ja 0x41dedd
mov eax, 0x1000
add eax, 4
push eax
call dword [0x56b960]
add esp, 4
test eax, eax
je 0x41defe
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [edi], eax
mov dword [edi + 4], esi
lea edi, [eax + 4]
test edi, edi
jne 0x41df25
push 1
push 0x56b434
lea ecx, [esp + 0x30]
call fcn.00501ee0
push 0x55ad70
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], vtable.std::bad_alloc.0
call fcn.0050984b
xor esi, esi
mov edx, edi
test ebx, ebx
jbe 0x41df56
lea ecx, [ecx]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + esi*8]
movzx eax, word [ecx]
test ax, ax
je 0x41df51
nop
add ecx, 2
mov word [edx], ax
movzx eax, word [ecx]
add edx, 2
test ax, ax
jne 0x41df40
inc esi
cmp esi, ebx
jb 0x41df30
mov ebx, dword [esp + 0x74]
xor ecx, ecx
mov dword [esp + 0x6c], 0xffffffff
mov word [edx], cx
mov eax, dword [ebp]
mov dword [ebx], edi
mov edi, dword [esp + 0x38]
mov byte [ebx + 4], 1
cmp eax, edi
je 0x41df92
jmp 0x41df80
mov esi, dword [eax]
push eax
call dword [0x56b964]
add esp, 4
mov eax, esi
cmp esi, edi
jne 0x41df80
mov edx, dword [esp + 0x3c]
mov dword [ebp], edi
mov dword [ebp + 4], edx
mov eax, ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc