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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x1180
call fcn.005993d0
mov edi, edx
mov ebx, ecx
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
mov dword [esp + 0x14], eax
lea eax, [ebx - 1]
test ebx, ebx
cmove eax, ebx
cmp edi, 1
mov dword [esp + 0x10], eax
jne 0x58495a
mov esi, dword [ebp + 8]
jmp 0x584a1d
mov eax, dword [0x69b998]
test eax, eax
jne 0x584981
push str.SymAddrIncludeInlineTrace
push dword [0x69b970]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x584f6e
mov dword [0x69b998], eax
push 0
push dword [esp + 0x14]
push dword [esp + 0x1c]
call eax
test eax, eax
mov dword [esp + 0x80], 0
je 0x584a1b
mov edi, eax
mov eax, dword [0x69b99c]
test eax, eax
jne 0x5849c5
push str.SymQueryInlineTrace
push dword [0x69b970]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x584f6e
mov dword [0x69b99c], eax
lea ecx, [esp + 0x180]
mov dword [esp + 0x180], 0
lea edx, [esp + 0x80]
push ecx
push edx
push 0
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push ecx
push 0
push 0
push ecx
push dword [esp + 0x38]
call eax
xor esi, esi
cmp eax, 1
mov eax, 0
jne 0x584a0a
mov esi, dword [esp + 0x80]
mov eax, edi
lea eax, [eax + esi + 1]
cmp esi, eax
mov dword [esp + 0x74], eax
jb 0x584a2f
jmp 0x584ee5
xor esi, esi
xor eax, eax
lea eax, [eax + esi + 1]
cmp esi, eax
mov dword [esp + 0x74], eax
jae 0x584ee5
lea ebx, [esp + 0x80]
jmp 0x584a87
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x70], eax
push edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call dword [eax + 0x10]
add esp, 8
mov esi, dword [esp + 0x20]
inc esi
cmp esi, dword [esp + 0x74]
je 0x584ee5
push 0xff4
push 0
lea eax, [esp + 0x18c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x69b990]
mov dword [esp + 0x1d0], 0x7d0
mov dword [esp + 0x180], 0x58
test eax, eax
jne 0x584adb
push str.SymFromInlineContextW
push dword [0x69b970]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x584f6e
mov dword [0x69b990], eax
lea ecx, [esp + 0x180]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
push ecx
push ebx
push esi
push 0
push dword [esp + 0x20]
push dword [esp + 0x28]
call eax
cmp eax, 1
jne 0x584a7c
mov eax, dword [esp + 0x1d0]
mov ecx, dword [esp + 0x1cc]
mov dword [esp + 0x20], esi
lea esi, [esp + 0x1d4]
xorps xmm1, xmm1
xorps xmm0, xmm0
mov edx, 0x100
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
mov edi, esi
movaps xmmword [esp + 0x170], xmm1
movaps xmmword [esp + 0x160], xmm1
movaps xmmword [esp + 0x150], xmm1
movaps xmmword [esp + 0x140], xmm1
movaps xmmword [esp + 0x130], xmm1
movaps xmmword [esp + 0x120], xmm1
movaps xmmword [esp + 0x110], xmm1
movaps xmmword [esp + 0x100], xmm1
movaps xmmword [esp + 0xf0], xmm1
movaps xmmword [esp + 0xe0], xmm1
movaps xmmword [esp + 0xd0], xmm1
movaps xmmword [esp + 0xc0], xmm1
movaps xmmword [esp + 0xb0], xmm1
movaps xmmword [esp + 0xa0], xmm1
movaps xmmword [esp + 0x90], xmm1
movaps xmmword [esp + 0x80], xmm1
dec eax
cmp ecx, eax
cmovb eax, ecx
lea eax, [esi + eax*2]
mov esi, ebx
mov dword [esp + 0x28], eax
cmp word [esp + 8], 0
jne 0x584d38
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp edi, dword [esp + 0x28]
je 0x584e3f
mov eax, edi
add edi, 2
movzx ecx, word [eax]
mov eax, ecx
and eax, 0xf800
cmp eax, 0xd800
je 0x584d51
movzx eax, cx
cmp eax, 0x80
mov dword [esp + 0xc], edi
jae 0x584df0
mov edi, 1
mov dword [esp + 8], 0
mov ecx, edx
sub ecx, edi
jbe 0x584e3f
cmp eax, 0x80
mov dword [esp + 0x78], eax
jae 0x584c60
mov byte [esi], al
mov eax, 1
jmp 0x584d18
cmp eax, 0x800
jae 0x584c90
mov ebx, eax
and al, 0x3f
shr ebx, 6
or al, 0x80
or bl, 0xc0
mov byte [esi], bl
mov byte [esi + 1], al
lea ebx, [esp + 0x80]
mov eax, 2
jmp 0x584d18
cmp eax, 0x10000
jae 0x584cce
cmp edx, 2
mov dword [esp + 0x2c], 3
jbe 0x584efe
mov ebx, eax
shr ebx, 0xc
or bl, 0xe0
mov byte [esi], bl
mov ebx, eax
and al, 0x3f
shr ebx, 6
or al, 0x80
and bl, 0x3f
or bl, 0x80
mov byte [esi + 1], bl
mov byte [esi + 2], al
mov eax, 3
jmp 0x584d11
cmp edx, 3
mov dword [esp + 0x2c], 4
jbe 0x584efe
mov ebx, eax
shr ebx, 0x12
or bl, 0xf0
mov byte [esi], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0x3f
or bl, 0x80
mov byte [esi + 1], bl
mov ebx, eax
and al, 0x3f
shr ebx, 6
or al, 0x80
and bl, 0x3f
or bl, 0x80
mov byte [esi + 2], bl
mov byte [esi + 3], al
mov eax, 4
lea ebx, [esp + 0x80]
cmp eax, edx
ja 0x584eed
add esi, edi
add dword [esp + 0x18], edi
mov edi, dword [esp + 0xc]
mov edx, ecx
cmp word [esp + 8], 0
je 0x584bf0
movzx eax, word [esp + 0x1e]
mov ecx, eax
mov eax, ecx
and eax, 0xf800
cmp eax, 0xd800
jne 0x584c14
movzx eax, cx
mov dword [esp + 8], 0
cmp eax, 0xdbff
mov eax, 0xfffd
ja 0x584db0
cmp edi, dword [esp + 0x28]
je 0x584db0
mov ebx, edi
movzx edi, word [edi]
mov dword [esp + 0x24], edx
mov dx, 1
add ebx, 2
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov ebx, edi
add ebx, 0x2000
movzx ebx, bx
cmp ebx, 0xfc00
jae 0x584db6
mov edx, dword [esp + 0x24]
mov ecx, edi
mov word [esp + 0x1e], di
lea ebx, [esp + 0x80]
jmp 0x584e30
mov dword [esp + 0xc], edi
jmp 0x584e30
movzx eax, di
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
and ecx, 0x3ff
lea ebx, [esp + 0x80]
shl ecx, 0xa
and eax, 0x3ff
lea eax, [ecx + eax + 0x10000]
cmp eax, 0x80
mov dword [esp + 0xc], edi
jb 0x584c26
nop dword [eax]
cmp eax, 0x800
jae 0x584e10
mov edi, 2
mov dword [esp + 8], 0
mov ecx, edx
sub ecx, edi
ja 0x584c3d
jmp 0x584e3f
mov edi, 4
cmp eax, 0xffff
mov dword [esp + 8], 0
ja 0x584e35
nop word cs:[eax + eax]
nop
mov edi, 3
mov ecx, edx
sub ecx, edi
ja 0x584c3d
cmp dword [esp + 0x18], 0x101
jae 0x584f84
mov eax, dword [0x69b994]
mov esi, dword [esp + 0x20]
lea edi, [esp + 0x54]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0x18
test eax, eax
jne 0x584e99
push str.SymGetLineFromInlineContextW
push dword [0x69b970]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x584f6e
mov dword [0x69b994], eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0
push ecx
push edi
push 0
push 0
push esi
push 0
push dword [esp + 0x28]
push dword [esp + 0x30]
call eax
xor esi, esi
cmp eax, 1
jne 0x584a40
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, 0xffffffff
cmp word [ecx + edx*2 + 2], 0
lea edx, [edx + 1]
jne 0x584ed0
mov esi, 1
jmp 0x584a40
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x672120
push edx
push eax
call fcn.005a0fc0
add esp, 0xc
ud2
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], 0x67216c
mov dword [esp + 0x34], 3
mov dword [esp + 0x7c], edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x58], fcn.00598a80
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x60], fcn.00598190
mov dword [esp + 0x64], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x68], fcn.00598a80
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 3
push 0x672184
lea eax, [esp + 0x34]
push eax
call fcn.005a0aa0
add esp, 8
ud2
push 0x6745bc
push 0x2b
push 0x671f80
call fcn.005a0b60
add esp, 0xc
ud2
push 0x6744d0
push 0x100
push dword [esp + 0x20]
call fcn.005a0fc0
add esp, 0xc
ud2