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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
push ebx
push esi
push edi
push 0x20
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4942f5
mov dword [eax + 4], 1
mov dword [eax], vtable.Object.0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x34], eax
jmp 0x4942f9
mov dword [esp + 0x34], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], esi
jne 0x49434e
lea edx, [esi*8]
push edx
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x494325
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push esi
push eax
push edi
call sub.MSVCR100.dll_memcpy
mov ecx, dword [ebx]
add esp, 0xc
push ecx
call dword [sym.imp.MSVCR100.dll_free]
mov eax, dword [ebp + 0x14]
mov dword [ebx], edi
mov edx, dword [eax]
add esp, 4
add edx, edx
mov dword [eax], edx
jmp 0x494351
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x34]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 8]
inc dword [edi]
lea esi, [eax + 8]
mov eax, dword [eax]
lea ecx, [esp + 0x88]
add eax, esi
mov dword [esp + 0x58], ecx
lea edx, [esp + 0x48]
lea ecx, [esp + 0x38]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x64], eax
cmp esi, eax
jae 0x49463a
mov al, byte [esi]
inc esi
cmp al, 0xf4
jne 0x4943bc
mov eax, dword [ebx]
mov dword [esp + 0x50], 6
mov edx, dword [esi]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x48], ecx
jmp 0x494500
cmp al, 0xf5
jne 0x4943e6
mov edx, dword [ebp + 0x14]
push edx
push edi
push ebx
push esi
mov dword [esp + 0x60], 6
call fcn.004942b0
mov dword [esp + 0x58], eax
mov eax, dword [esi]
add esp, 0x10
lea esi, [esi + eax + 8]
jmp 0x494503
cmp al, 0xf6
jne 0x494429
mov dword [esp + 0x50], 0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, eax
add esi, 8
or edx, ecx
je 0x494414
lea ecx, [eax - 2]
shr ecx, 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ecx
add esi, eax
jmp 0x494503
mov dword [esp + 0x48], 0x4bd2c4
mov dword [esp + 0x4c], 0
jmp 0x494503
cmp al, 0xf7
jne 0x494460
mov dword [esp + 0x50], 0
fld qword [esi]
sub esp, 8
lea eax, [esp + 0xa0]
fstp qword [esp]
call fcn.004a1da0
lea edx, [esp + 0xa0]
add esp, 8
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
jmp 0x494500
mov dword [esp + 0x50], 1
cmp al, 0xf8
je 0x4944f3
cmp al, 0xfa
jne 0x494487
mov edx, dword [esi]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0
add esi, 4
jmp 0x494503
cmp al, 0xfc
jne 0x49449c
movzx eax, word [esi]
cdq
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
add esi, 2
jmp 0x494503
cmp al, 0xfe
jne 0x4944af
movzx eax, byte [esi]
cdq
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
inc esi
jmp 0x494503
cmp al, 0xff
jne 0x4944c2
movsx eax, byte [esi]
cdq
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
inc esi
jmp 0x494503
cmp al, 0xfd
jne 0x4944d7
movsx eax, word [esi]
cdq
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
add esi, 2
jmp 0x494503
cmp al, 0xfb
jne 0x4944eb
mov eax, dword [esi]
cdq
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
add esi, 4
jmp 0x494503
cmp al, 0xf9
jne 0x49431c
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x4c], ecx
add esi, 8
mov al, byte [esi]
inc esi
cmp al, 0xc
jne 0x494522
mov eax, dword [ebx]
mov dword [esp + 0x40], 6
mov edx, dword [esi]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x38], ecx
jmp 0x49460b
cmp al, 0xb
jne 0x49454c
mov edx, dword [ebp + 0x14]
push edx
push edi
push ebx
push esi
mov dword [esp + 0x50], 6
call fcn.004942b0
mov dword [esp + 0x48], eax
mov eax, dword [esi]
add esp, 0x10
lea esi, [esi + eax + 8]
jmp 0x49460e
cmp al, 9
jne 0x494563
mov dword [esp + 0x40], 2
fld qword [esi]
fstp qword [esp + 0x38]
jmp 0x49460b
cmp al, 0xa
je 0x494645
mov dword [esp + 0x40], 1
cmp al, 8
je 0x4945fe
cmp al, 6
jne 0x494592
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
add esi, 4
jmp 0x49460e
cmp al, 4
jne 0x4945a7
movzx eax, word [esi]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
add esi, 2
jmp 0x49460e
cmp al, 2
jne 0x4945ba
movzx eax, byte [esi]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
inc esi
jmp 0x49460e
cmp al, 1
jne 0x4945cd
movsx eax, byte [esi]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
inc esi
jmp 0x49460e
cmp al, 3
jne 0x4945e2
movsx eax, word [esi]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
add esi, 2
jmp 0x49460e
cmp al, 5
jne 0x4945f6
mov eax, dword [esi]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
add esi, 4
jmp 0x49460e
cmp al, 7
jne 0x49431c
mov ecx, dword [esi]
mov dword [esp + 0x38], ecx
mov edx, dword [esi + 4]
mov dword [esp + 0x3c], edx
add esi, 8
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0x60]
push edx
push 1
lea edx, [esp + 0x84]
push edx
lea edx, [esp + 0x78]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp esi, dword [esp + 0x64]
jb 0x49439d
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x40], 0
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov eax, edi
add esi, 8
or eax, ebx
mov eax, dword [esp + 0x34]
push 2
je 0x49470f
lea edx, [esp + 0x60]
push edx
push 1
lea edx, [esp + 0x84]
push edx
lea edx, [esp + 0x78]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
push 3
lea edx, [esp + 0x5c]
push edx
push 2
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x84]
push eax
lea edx, [esp + 0x78]
mov dword [esp + 0x98], str.SetCapacity
mov dword [esp + 0x50], 1
mov dword [esp + 0x48], edi
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
push edx
push ebx
call eax
push 2
lea edx, [esp + 0x5c]
push edx
push 2
lea eax, [esp + 0x84]
push eax
lea edx, [esp + 0x78]
mov dword [esp + 0x98], str.GetAddress
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
push edx
push ebx
call eax
mov ecx, dword [esp + 0x68]
push edi
push esi
push ecx
call sub.MSVCR100.dll_memcpy
mov ebx, dword [ebp + 0xc]
add esp, 0xc
add esi, edi
mov edi, dword [ebp + 0x10]
jmp 0x494630
lea ecx, [esp + 0x60]
push ecx
push 1
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x48], 0x4bd2c4
mov dword [esp + 0x4c], 0
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
jmp 0x494630