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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x104
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0x80000000
mov dword [esp + 0x90], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x8c], ebx
lea ecx, [eax + eax*8]
lea esi, [ecx + ecx*2]
add esi, ebx
add esi, eax
test eax, eax
je 0x4b97ac
mov ecx, ebx
lea ebx, [esp + 0xec]
xor edi, edi
mov ebp, 4
mov dword [esp + 0x54], esi
mov eax, ecx
jmp 0x4b8f67
push dword [esp + 0x3c]
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x74]
call fcn.0042b6d0
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x4b9805
lea ecx, [eax + 0x1c]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax]
cmp ecx, 8
je 0x4b97b0
mov dword [esp + 0xe8], ecx
lea ecx, [esp + 0x58]
lea edx, [esp + 0xe8]
movsd xmm0, qword [eax + 0x14]
movsd qword [ebx + 0x10], xmm0
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
call fcn.004b9cd0
movsd xmm2, qword [esp + 0x58]
mov eax, dword [esp + 0x70]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + 0x74], xmm2
mov dword [esp + 0x3c], eax
movsd qword [esp + 0x84], xmm0
movsd qword [esp + 0x7c], xmm1
mov eax, dword [esp + 0x74]
cmp eax, 6
je 0x4b90f0
cmp eax, 1
je 0x4b9610
test eax, eax
je 0x4b8f40
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], 0x80000000
cmp eax, 0x80000000
mov dword [esp + 8], ecx
je 0x4b908f
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp]
lea edx, [esp + 0xb4]
mov dword [esp + 0xbc], ecx
lea ecx, [esp + 0x58]
call fcn.004b1d20
cmp edi, dword [esp + 0x14]
jne 0x4b9056
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.004a4dd0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
lea eax, [edi + edi*8]
lea eax, [eax + eax*2]
add eax, edi
inc edi
mov dword [ebp + eax + 0x18], ecx
movsd xmm0, qword [esp + 0x68]
movsd qword [ebp + eax + 0x10], xmm0
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
movsd qword [ebp + eax + 8], xmm1
movsd qword [ebp + eax], xmm0
mov dword [esp + 0x1c], edi
cmp edi, dword [esp + 0x14]
jne 0x4b90a8
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.004a4dd0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x74]
movsd xmm1, qword [esp + 0x7c]
movsd xmm2, qword [esp + 0x84]
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*8]
lea eax, [eax + eax*2]
add eax, edi
inc edi
movsd qword [ebp + eax + 0x10], xmm2
movsd qword [ebp + eax + 8], xmm1
movsd qword [ebp + eax], xmm0
mov dword [ebp + eax + 0x18], ecx
mov dword [esp + 0x1c], edi
jmp 0x4b8f5b
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x38], ebp
lea ecx, [eax + eax*8]
lea edx, [ecx + ecx*2]
add edx, ebp
add edx, eax
test eax, eax
mov dword [esp + 0x28], edx
je 0x4b96a0
mov ebx, dword [esp]
add ebp, 0x1c
jmp 0x4b9191
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*8]
mov ebx, dword [esp]
lea eax, [eax + eax*2]
add eax, edi
inc edi
mov dword [edx + eax], esi
mov dword [edx + eax + 4], ecx
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov dword [edx + eax + 8], ecx
movsd xmm0, qword [esp + 0xa8]
movsd qword [edx + eax + 0xc], xmm0
mov ecx, dword [esp + 0xb0]
mov dword [edx + eax + 0x14], ecx
mov dword [edx + eax + 0x18], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x48]
add ebp, 0x1c
add eax, 0x1c
cmp eax, dword [esp + 0x28]
je 0x4b96f8
mov esi, dword [ebp - 0x1c]
cmp esi, 8
je 0x4b96a3
mov dword [esp], ebx
mov ebx, edi
lea edi, [ebp - 0x1c]
lea eax, [esp + 0xd0]
movsd xmm0, qword [edi + 0x14]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [edi + 4]
movsd xmm1, qword [edi + 0xc]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xcc], 0
mov dword [esp + 4], eax
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4b920d
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4b9c7c
mov dword [0x5371d8], eax
push 0x34
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b9c7c
movaps xmm0, xmmword [0x4de3f0]
mov dword [esp + 0x48], edi
lea edi, [esp + 0xcc]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x2c], 0
mov word [eax + 0x30], 1
mov byte [eax + 0x32], 0
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xe4], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0xd0]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx + 8]
mov ecx, edi
mov dword [esp + 0xa4], eax
movsd qword [esp + 0x9c], xmm0
call fcn.004b1f30
mov ecx, edi
call fcn.0042b6d0
push dword [esp + 0xe4]
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, 1
jne 0x4b9340
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 4]
mov edi, ebx
cmp eax, 0x80000000
jne 0x4b93b0
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
test edx, edx
je 0x4b9489
js 0x4b9c95
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4b9320
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, dword [esp + 4]
test eax, eax
je 0x4b9c8b
mov dword [0x5371d8], eax
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [esp + 4]
test eax, eax
jne 0x4b948e
jmp 0x4b9c8b
mov eax, dword [esp + 0xa4]
movsd xmm0, qword [esp + 0x9c]
mov edi, ebx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x2c]
movsd qword [esp + 0xa8], xmm0
mov dword [esp + 0x2c], 0x80000000
cmp eax, 0x80000000
je 0x4b95ca
mov ebx, dword [esp]
mov dword [esp + 0xc], edi
cmp eax, ebx
jbe 0x4b940a
mov eax, dword [0x5371d8]
test ebx, ebx
je 0x4b94c1
push ebx
push dword [esp + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
jne 0x4b9416
jmp 0x4b9c9a
mov ebx, dword [esp]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
sub eax, ebx
cmp eax, edx
jb 0x4b95e8
mov eax, dword [esp + 8]
mov dword [esp + 8], eax
add eax, ebx
push edx
push dword [esp + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x10]
add esp, 0xc
add ebx, eax
test eax, eax
mov dword [esp + 0x34], ebx
je 0x4b93f7
push dword [esp + 0x20]
push 0
push dword [0x5371d8]
call esi
push dword [esp + 0x44]
push 0
push dword [0x5371d8]
call esi
jmp 0x4b917d
test ebx, ebx
je 0x4b94ce
mov eax, dword [esp + 8]
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], eax
mov edx, eax
push ebx
call fcn.00420c70
add esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4b9454
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4b9c7c
mov dword [0x5371d8], eax
push 0x34
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b9c7c
cmp dword [esp + 0x24], 0
mov edi, eax
mov cl, 1
mov edx, ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x98], ebx
sete al
jmp 0x4b9514
mov eax, 1
push edx
push dword [esp + 0x24]
push eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x10]
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 8], ebx
mov dword [esp + 0x30], ebx
mov ebx, eax
test eax, eax
mov dword [esp + 0x34], ebx
jne 0x4b93e9
jmp 0x4b93f7
push dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4b94f1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4b9c7c
mov dword [0x5371d8], eax
push 0x34
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b9c7c
mov edi, eax
mov al, 1
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x24], 0
mov dword [edi], 1
mov dword [edi + 4], edx
mov dword [edi + 8], 1
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0xc]
mov dword [edi + 0x10], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], al
mov byte [edi + 0x31], cl
mov byte [edi + 0x32], cl
cmp edx, dword [esp + 0x14]
jne 0x4b9585
lea ecx, [esp + 0x14]
call fcn.004a4dd0
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x4b9589
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
lea eax, [edx + edx*8]
lea eax, [eax + eax*2]
add eax, edx
inc edx
mov dword [ebx + eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [ebx + eax + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [ebx + eax + 8], ecx
movsd xmm0, qword [esp + 0x58]
movsd qword [ebx + eax + 0xc], xmm0
mov ecx, dword [esp + 0x60]
mov dword [ebx + eax + 0x14], ecx
mov dword [ebx + eax + 0x18], edi
mov edi, edx
mov dword [esp + 0x1c], edx
cmp edi, dword [esp + 0x14]
jne 0x4b9130
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.004a4dd0
mov edi, dword [esp + 0x1c]
jmp 0x4b9130
mov edx, ebx
lea ecx, [esp + 0x2c]
push dword [esp + 4]
call fcn.004d8ef0
mov edx, dword [esp + 8]
add esp, 4
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
jmp 0x4b93c7
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
jne 0x4b9673
test esi, esi
je 0x4b9714
js 0x4b9c95
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4b965c
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4b9ca6
mov dword [0x5371d8], eax
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
jne 0x4b9719
jmp 0x4b9ca6
sub eax, dword [esp]
cmp eax, esi
jb 0x4b9790
mov eax, dword [esp + 0x30]
mov ebp, dword [esp]
mov dword [esp + 8], eax
add eax, ebp
push esi
push dword [esp + 0x3c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebp, esi
jmp 0x4b9737
mov ebx, dword [esp]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x28]
mov ecx, 0x24924925
mov eax, edi
sub eax, ebp
shr eax, 2
mul ecx
cmp edi, ebp
je 0x4b96f4
mov dword [esp], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, edx
nop dword [eax + eax]
mov ecx, ebp
call fcn.004b1f30
mov ecx, ebp
call fcn.0042b6d0
push dword [ebp + 0x18]
push 0
push dword [0x5371d8]
call ebx
add ebp, 0x1c
dec esi
jne 0x4b96d0
mov ebx, dword [esp]
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x94], 0
mov dword [esp], ebx
lea ebx, [esp + 0xec]
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
jne 0x4b9748
jmp 0x4b9756
mov eax, 1
push esi
push dword [esp + 0x3c]
push eax
mov ebp, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x2c], esi
mov dword [esp + 8], ebp
mov dword [esp + 0x30], ebp
mov ebp, esi
test esi, esi
mov dword [esp], ebp
mov dword [esp + 0x34], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x4b9756
push dword [esp + 0x38]
push 0
push dword [0x5371d8]
call ebp
mov esi, dword [esp + 0x74]
push dword [esp + 0x3c]
push 0
push dword [0x5371d8]
call ebp
cmp esi, 6
je 0x4b9783
cmp esi, 1
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x10]
je 0x4b8f5b
jmp 0x4b8f52
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x10]
jmp 0x4b8f5b
mov edx, dword [esp]
lea ecx, [esp + 0x2c]
push esi
call fcn.004d8ef0
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp], eax
jmp 0x4b967e
xor edi, edi
jmp 0x4b97b4
mov ebx, dword [esp + 0x40]
mov eax, esi
mov ecx, 0x24924925
sub eax, ebx
shr eax, 2
mul ecx
cmp esi, ebx
mov eax, esi
je 0x4b9805
mov dword [esp + 0xc], edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, edx
nop word cs:[eax + eax]
nop
mov ecx, ebx
call fcn.004b1f30
mov ecx, ebx
call fcn.0042b6d0
push dword [ebx + 0x18]
push 0
push dword [0x5371d8]
call edi
add ebx, 0x1c
dec esi
jne 0x4b97e0
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x90], 0
je 0x4b9824
push dword [esp + 0x8c]
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
je 0x4b98ad
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
lea ecx, [esp + 0x58]
lea edx, [esp + 0xc0]
call fcn.004b1d20
cmp edi, dword [esp + 0x14]
jne 0x4b9871
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.004a4dd0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x70]
lea ecx, [edi + edi*8]
lea ecx, [ecx + ecx*2]
add ecx, edi
inc edi
mov dword [eax + ecx + 0x18], edx
movsd xmm0, qword [esp + 0x68]
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [esp + 0x1c], edi
cmp edi, 1
je 0x4b995e
test edi, edi
jne 0x4b99a5
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4b98e1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4b9c7c
mov dword [0x5371d8], eax
push 0x34
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b9c7c
movaps xmm0, xmmword [0x4de3f0]
mov ecx, dword [esp + 0x4c]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 1
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x2c], 0
mov word [eax + 0x30], 1
mov byte [eax + 0x32], 0
mov dword [ecx], 0
mov dword [ecx + 0x18], eax
cmp dword [esp + 0x14], 0
je 0x4b9c71
mov eax, dword [esp + 0x18]
jmp 0x4b9991
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ecx, 8
je 0x4b9cb2
mov edx, dword [esp + 0x4c]
mov dword [edx], ecx
movsd xmm0, qword [eax + 4]
movsd xmm1, qword [eax + 0xc]
movsd qword [edx + 4], xmm0
movsd qword [edx + 0xc], xmm1
movsd xmm0, qword [eax + 0x14]
movsd qword [edx + 0x14], xmm0
push eax
push 0
push dword [0x5371d8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4b9c71
mov ecx, dword [esp + 0x18]
lea eax, [edi + edi*8]
mov dword [esp + 0xc], 0
mov dword [esp], 1
mov dword [esp + 0x10], 1
mov dword [esp + 0x24], 0
mov dword [esp + 4], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ebp, [eax + eax*2]
lea esi, [ebp + edi]
lea eax, [ecx + esi]
lea ebx, [ecx + 0x18]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], eax
mov al, 1
mov dword [esp + 0x20], eax
mov al, 1
mov dword [esp + 0x28], eax
mov al, 1
mov dword [esp + 8], eax
jmp 0x4b9a3f
nop word cs:[eax + eax]
nop
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x44]
add ebx, 0x1c
or ecx, dword [eax + 0x18]
add esi, 0xffffffe4
mov dword [esp + 0x44], ecx
je 0x4b9b64
mov eax, dword [ebx]
cmp byte [esp + 0x20], 0
je 0x4b9a60
movzx ecx, byte [eax + 0x30]
mov dword [esp + 0x20], ecx
jmp 0x4b9a68
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x48]
mov edx, 0xffffffff
add ecx, dword [eax + 0x2c]
cmovb ecx, edx
cmp dword [esp + 4], 0
mov dword [esp + 0x48], ecx
je 0x4b9ae0
cmp dword [eax + 0x10], 0
mov dword [esp + 4], 0
je 0x4b9aa6
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], 1
add ecx, dword [eax + 0x14]
cmovb ecx, edx
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x28], 0
je 0x4b9aef
movzx ecx, byte [eax + 0x31]
mov dword [esp + 0x28], ecx
cmp byte [esp + 8], 0
je 0x4b9afe
movzx ecx, byte [eax + 0x32]
mov dword [esp + 8], ecx
cmp dword [esp], 1
je 0x4b9b0c
mov dword [esp], 0
jmp 0x4b9b2d
mov dword [esp + 4], 0
cmp byte [esp + 0x28], 0
jne 0x4b9aad
mov dword [esp + 0x28], 0
cmp byte [esp + 8], 0
jne 0x4b9abc
mov dword [esp + 8], 0
cmp dword [esp], 1
jne 0x4b9aca
cmp dword [eax], 0
mov dword [esp], 0
je 0x4b9b2d
mov ecx, dword [esp + 0xc]
mov dword [esp], 1
add ecx, dword [eax + 4]
cmovb ecx, edx
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x10], 1
jne 0x4b9a20
cmp dword [eax + 8], 0
je 0x4b9a14
mov ecx, dword [esp + 0x24]
xor edx, edx
add ecx, dword [eax + 0xc]
cmovb ecx, dword [esp + 0x38]
setae dl
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], ecx
jmp 0x4b9a28
mov ecx, dword [esp + 0x50]
add ebp, edi
xor esi, esi
xor ebx, ebx
nop
test ebp, ebp
je 0x4b9b8f
mov eax, dword [ecx + 0x18]
or ebx, dword [eax + 0x1c]
or esi, dword [eax + 0x24]
cmp dword [eax + 8], 0
je 0x4b9b8f
add ecx, 0x1c
add ebp, 0xffffffe4
cmp dword [eax + 0xc], 0
je 0x4b9b70
imul eax, edi, 0xffffffe4
xor edi, edi
xor ebp, ebp
nop word cs:[eax + eax]
test eax, eax
je 0x4b9bc5
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx - 4]
or ebp, dword [ecx + 0x20]
or edi, dword [ecx + 0x28]
cmp dword [ecx + 8], 0
je 0x4b9bc5
add dword [esp + 0x3c], 0xffffffe4
add eax, 0x1c
cmp dword [ecx + 0xc], 0
je 0x4b9ba0
movzx eax, byte [0x537170]
mov eax, dword [0x5371d8]
test eax, eax
jne 0x4b9be8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x4b9c7c
mov dword [0x5371d8], eax
push 0x34
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4b9c7c
mov ecx, dword [esp]
mov edx, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebp
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov byte [eax + 0x30], cl
mov ecx, dword [esp + 0x28]
mov byte [eax + 0x31], cl
mov ecx, dword [esp + 8]
mov byte [eax + 0x32], cl
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x14]
mov dword [edx + 0xc], ecx
movsd qword [edx + 4], xmm0
mov dword [edx], 6
mov dword [edx + 0x18], eax
add esp, 0x104
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 0x34
call fcn.004d6180
mov ecx, 1
call fcn.004d6180
call fcn.0041f600
mov ecx, 1
mov edx, ebx
call fcn.004d6180
mov ecx, 1
mov edx, esi
call fcn.004d6180
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_srcio_borrowed_buf.rs
mov edx, 0x2b
push 0x4f5bfc
call fcn.004d6490
int3