Function at 0x493530
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.004b7459
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 0x4935e6
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 0x4939b8
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 0x4939af
nop dword [eax]
mov al, byte [esi]
cmp al, 0xf4
jne 0x49364f
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 0x493798
cmp al, 0xf5
jne 0x49367b
push edx
push ecx
mov edx, ebx
mov dword [esp + 0x30], 6
lea ecx, [esi + 1]
call fcn.00493530
mov dword [esp + 0x28], eax
add esp, 8
mov eax, dword [esi + 1]
add esi, 9
add esi, eax
jmp 0x49379b
cmp al, 0xf6
jne 0x4936bf
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 0x4936aa
lea eax, [edx - 2]
mov dword [esp + 0x20], esi
shr eax, 1
add esi, edx
mov dword [esp + 0x24], eax
jmp 0x49379b
mov dword [esp + 0x20], 0x4bac30
mov dword [esp + 0x24], 0
jmp 0x49379b
cmp al, 0xf7
jne 0x4936ea
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x78]
movsd xmm2, qword [esi + 1]
call fcn.004a0ee0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x20], eax
jmp 0x493798
mov dword [esp + 0x28], 1
cmp al, 0xf8
je 0x49378a
cmp al, 0xfa
jne 0x493715
mov eax, dword [esi + 1]
add esi, 5
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
jmp 0x49379b
cmp al, 0xfc
jne 0x49372b
movzx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x49379b
cmp al, 0xfe
jne 0x493741
movzx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x49379b
cmp al, 0xff
jne 0x493757
movsx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x49379b
cmp al, 0xfd
jne 0x49376d
movsx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x49379b
cmp al, 0xfb
jne 0x493782
mov eax, dword [esi + 1]
add esi, 5
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
jmp 0x49379b
cmp al, 0xf9
jne 0x4939b8
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 0x4937ba
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 0x4938bd
cmp al, 0xb
jne 0x4937eb
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.00493530
mov dword [esp + 0x18], eax
add esp, 8
mov eax, dword [esi + 1]
add esi, 9
add esi, eax
jmp 0x4938c0
cmp al, 9
jne 0x493807
mov dword [esp + 0x18], 2
movsd xmm0, qword [esi + 1]
movsd qword [esp + 0x10], xmm0
jmp 0x4938bd
cmp al, 0xa
je 0x4938de
mov dword [esp + 0x18], 1
cmp al, 8
je 0x4938af
cmp al, 6
jne 0x49383a
mov eax, dword [esi + 1]
add esi, 5
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
jmp 0x4938c0
cmp al, 4
jne 0x493850
movzx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4938c0
cmp al, 2
jne 0x493866
movzx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4938c0
cmp al, 1
jne 0x49387c
movsx eax, byte [esi + 1]
add esi, 2
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4938c0
cmp al, 3
jne 0x493892
movsx eax, word [esi + 1]
add esi, 3
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4938c0
cmp al, 5
jne 0x4938a7
mov eax, dword [esi + 1]
add esi, 5
cdq
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4938c0
cmp al, 7
jne 0x4939b8
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 0x49399f
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 0x493986
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 0x49399b
mov dword [esp + 0x28], 0x4bac30
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 0x493630
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