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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov ebx, edx
mov dword [esp + 0x34], ecx
push 0x20
mov dword [esp + 0x3c], ebx
call fcn.004b6030
mov ecx, dword [ebp + 8]
mov edi, eax
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x30], edi
mov ecx, dword [ecx]
mov eax, dword [edx]
mov dword [edi + 4], 1
mov dword [edi], vtable.Object.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
cmp ecx, eax
jne 0x492726
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x492af8
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebx]
push dword [ecx]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp + 0xc]
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov eax, dword [edx]
add eax, eax
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebx]
lea edx, [esp + 0x68]
mov dword [eax + ecx*4], edi
lea eax, [ecx + 1]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], 0
lea esi, [eax + 8]
mov eax, dword [eax]
add eax, esi
mov dword [esp + 0x30], eax
cmp esi, eax
jae 0x492aef
nop dword [eax]
mov al, byte [esi]
cmp al, 0xf4
jne 0x49278f
mov eax, dword [ebx]
mov dword [esp + 0x28], 6
mov ecx, dword [esi + 1]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
jmp 0x4928d8
cmp al, 0xf5
jne 0x4927bb
push edx
push ecx
mov edx, ebx
mov dword [esp + 0x30], 6
lea ecx, [esi + 1]
call fcn.00492670
mov dword [esp + 0x28], eax
add esp, 8
mov eax, dword [esi + 1]
add esi, 9
add esi, eax
jmp 0x4928db
cmp al, 0xf6
jne 0x4927ff
mov dword [esp + 0x28], 0
mov edx, dword [esi + 1]
mov eax, edx
mov ecx, dword [esi + 5]
add esi, 9
or eax, ecx
je 0x4927ea
lea eax, [edx - 2]
mov dword [esp + 0x20], esi
shr eax, 1
add esi, edx
mov dword [esp + 0x24], eax
jmp 0x4928db
mov dword [esp + 0x20], 0x4b8c14
mov dword [esp + 0x24], 0
jmp 0x4928db
cmp al, 0xf7
jne 0x49282a
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x78]
movsd xmm2, qword [esi + 1]
call fcn.0049f770
mov dword [esp + 0x24], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x20], eax
jmp 0x4928d8
mov dword [esp + 0x28], 1
cmp al, 0xf8
je 0x4928ca
cmp al, 0xfa
jne 0x492855
mov eax, dword [esi + 1]
add esi, 5
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
jmp 0x4928db
cmp al, 0xfc
jne 0x49286b
movzx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x4928db
cmp al, 0xfe
jne 0x492881
movzx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x4928db
cmp al, 0xff
jne 0x492897
movsx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x4928db
cmp al, 0xfd
jne 0x4928ad
movsx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x4928db
cmp al, 0xfb
jne 0x4928c2
mov eax, dword [esi + 1]
add esi, 5
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x4928db
cmp al, 0xf9
jne 0x492af8
mov eax, dword [esi + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 5]
mov dword [esp + 0x24], eax
add esi, 9
mov al, byte [esi]
cmp al, 0xc
jne 0x4928fa
mov eax, dword [ebx]
mov dword [esp + 0x18], 6
mov ecx, dword [esi + 1]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x10], eax
jmp 0x4929fd
cmp al, 0xb
jne 0x49292b
mov ecx, dword [ebp + 0xc]
mov edx, ebx
push ecx
push dword [ebp + 8]
lea ecx, [esi + 1]
mov dword [esp + 0x20], 6
call fcn.00492670
mov dword [esp + 0x18], eax
add esp, 8
mov eax, dword [esi + 1]
add esi, 9
add esi, eax
jmp 0x492a00
cmp al, 9
jne 0x492947
mov dword [esp + 0x18], 2
movsd xmm0, qword [esi + 1]
movsd qword [esp + 0x10], xmm0
jmp 0x4929fd
cmp al, 0xa
je 0x492a1e
mov dword [esp + 0x18], 1
cmp al, 8
je 0x4929ef
cmp al, 6
jne 0x49297a
mov eax, dword [esi + 1]
add esi, 5
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
jmp 0x492a00
cmp al, 4
jne 0x492990
movzx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492a00
cmp al, 2
jne 0x4929a6
movzx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492a00
cmp al, 1
jne 0x4929bc
movsx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492a00
cmp al, 3
jne 0x4929d2
movsx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492a00
cmp al, 5
jne 0x4929e7
mov eax, dword [esi + 1]
add esi, 5
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492a00
cmp al, 7
jne 0x492af8
mov eax, dword [esi + 1]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 5]
mov dword [esp + 0x14], eax
add esi, 9
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push 2
push ecx
push 1
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x58]
push ecx
push edi
call dword [eax + 0x1c]
jmp 0x492adf
mov dword [esp + 0x18], 0
mov ecx, dword [esi + 5]
mov ebx, dword [esi + 1]
add esi, 9
push 2
mov dword [esp + 0x38], ecx
mov eax, ebx
or eax, ecx
lea ecx, [esp + 0x44]
push ecx
push 1
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x58]
push ecx
push edi
je 0x492ac6
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], esi
mov eax, dword [edi]
call dword [eax + 0x1c]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x3c]
push 3
push ecx
push 2
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], str.SetCapacity
push ecx
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1c]
push 2
lea ecx, [esp + 0x40]
mov dword [esp + 0x6c], str.GetAddress
mov eax, dword [edi]
push ecx
push 2
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x58]
push ecx
push edi
call dword [eax + 0x1c]
push ebx
push esi
push dword [esp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, ebx
jmp 0x492adb
mov dword [esp + 0x28], 0x4b8c14
mov dword [esp + 0x2c], 0
mov eax, dword [edi]
call dword [eax + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
cmp esi, dword [esp + 0x30]
jb 0x492770
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret