Function at 0x492810
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.004b6a89
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 0x4928c6
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 0x492c98
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 0x492c8f
nop dword [eax]
mov al, byte [esi]
cmp al, 0xf4
jne 0x49292f
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 0x492a78
cmp al, 0xf5
jne 0x49295b
push edx
push ecx
mov edx, ebx
mov dword [esp + 0x30], 6
lea ecx, [esi + 1]
call fcn.00492810
mov dword [esp + 0x28], eax
add esp, 8
mov eax, dword [esi + 1]
add esi, 9
add esi, eax
jmp 0x492a7b
cmp al, 0xf6
jne 0x49299f
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 0x49298a
lea eax, [edx - 2]
mov dword [esp + 0x20], esi
shr eax, 1
add esi, edx
mov dword [esp + 0x24], eax
jmp 0x492a7b
mov dword [esp + 0x20], 0x4b9c40
mov dword [esp + 0x24], 0
jmp 0x492a7b
cmp al, 0xf7
jne 0x4929ca
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x78]
movsd xmm2, qword [esi + 1]
call fcn.0049ffb0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x20], eax
jmp 0x492a78
mov dword [esp + 0x28], 1
cmp al, 0xf8
je 0x492a6a
cmp al, 0xfa
jne 0x4929f5
mov eax, dword [esi + 1]
add esi, 5
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
jmp 0x492a7b
cmp al, 0xfc
jne 0x492a0b
movzx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x492a7b
cmp al, 0xfe
jne 0x492a21
movzx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x492a7b
cmp al, 0xff
jne 0x492a37
movsx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x492a7b
cmp al, 0xfd
jne 0x492a4d
movsx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x492a7b
cmp al, 0xfb
jne 0x492a62
mov eax, dword [esi + 1]
add esi, 5
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x492a7b
cmp al, 0xf9
jne 0x492c98
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 0x492a9a
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 0x492b9d
cmp al, 0xb
jne 0x492acb
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.00492810
mov dword [esp + 0x18], eax
add esp, 8
mov eax, dword [esi + 1]
add esi, 9
add esi, eax
jmp 0x492ba0
cmp al, 9
jne 0x492ae7
mov dword [esp + 0x18], 2
movsd xmm0, qword [esi + 1]
movsd qword [esp + 0x10], xmm0
jmp 0x492b9d
cmp al, 0xa
je 0x492bbe
mov dword [esp + 0x18], 1
cmp al, 8
je 0x492b8f
cmp al, 6
jne 0x492b1a
mov eax, dword [esi + 1]
add esi, 5
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
jmp 0x492ba0
cmp al, 4
jne 0x492b30
movzx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492ba0
cmp al, 2
jne 0x492b46
movzx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492ba0
cmp al, 1
jne 0x492b5c
movsx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492ba0
cmp al, 3
jne 0x492b72
movsx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492ba0
cmp al, 5
jne 0x492b87
mov eax, dword [esi + 1]
add esi, 5
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x492ba0
cmp al, 7
jne 0x492c98
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 0x492c7f
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 0x492c66
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 0x492c7b
mov dword [esp + 0x28], 0x4b9c40
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 0x492910
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