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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov esi, edx
mov bl, byte [edx + 0x6c]
movzx eax, byte [edx + 0x84]
lea edx, [eax - 2]
cmp edx, 2
jae 0x4850a5
mov byte [esp + 0x2c], bl
mov dword [esp + 0x34], ecx
movzx ebx, byte [esi + 0x40]
mov eax, ebx
mov byte [esp + 0xc], bl
test ebx, ebx
mov dword [esp + 0x38], esi
je 0x485142
cmp ebx, 1
jne 0x485146
movzx eax, byte [esi + 0x41]
shl eax, 8
jmp 0x485179
cmp eax, 1
jne 0x4850e1
cmp bl, 7
jne 0x485072
xor ecx, ecx
inc ecx
mov edx, 4
call fcn.00426cc9
lea ecx, [esp + 0x150]
mov dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
call fcn.00480fae
mov edi, eax
mov ebx, edx
jmp 0x4854c5
xor ecx, ecx
inc ecx
mov edx, 3
call fcn.00426cc9
mov edi, eax
mov al, byte [0x530b2c]
xor ecx, ecx
mov edx, 0x70
call fcn.0049cbc0
test eax, eax
je 0x485aa6
mov ebx, eax
mov dword [eax + 4], 0
mov dword [eax], 3
mov dword [eax + 8], edi
mov al, byte [0x530b2c]
xor ecx, ecx
mov edx, 4
call fcn.0049cbc0
test eax, eax
je 0x485ab5
mov edi, eax
mov dword [eax], ebx
mov ebx, 0x4e4164
jmp 0x4854c5
mov eax, ebx
jmp 0x485179
call fcn.00426adc
mov edi, eax
mov eax, dword [esi + 0x44]
lea ecx, [eax + 0xc]
mov edx, dword [eax]
lea esi, [esp + 0x150]
push dword [eax + 8]
push dword [eax + 4]
push ecx
push esi
call dword [edx]
add esp, 0x10
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], edi
movups xmmword [edi], xmm0
xor eax, eax
mov dword [esp + 0x10], eax
or ebx, eax
lea eax, [esi + 0x54]
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x150]
push dword [esi + 0x50]
push dword [esi + 0x4c]
push eax
push edx
call dword [ecx]
add esp, 0x10
lea eax, [esi + 0x64]
mov ecx, dword [esi + 0x58]
lea edi, [esp + 0x13c]
push dword [esi + 0x60]
push dword [esi + 0x5c]
push eax
push edi
call dword [ecx]
add esp, 0x10
mov dword [edi - 0x18], ebx
movzx eax, word [esi + 0x68]
lea esi, [esp + 0x150]
mov ecx, dword [esp + 0x30]
mov dword [edi - 0x14], ecx
movups xmm0, xmmword [esi]
movups xmmword [edi - 0x10], xmm0
mov word [edi + 0x10], ax
mov eax, dword [edi - 8]
cmp byte [esp + 0xc], 0
je 0x48522e
test eax, eax
mov ebx, dword [esp + 0x34]
je 0x485486
cmp byte [esp + 0xc], 2
jne 0x4854de
mov edi, ecx
call fcn.00426adc
mov dword [esp + 0x2c], eax
lea eax, [edi + 0xc]
mov ecx, dword [edi]
push dword [edi + 8]
push dword [edi + 4]
push eax
push esi
call dword [ecx]
add esp, 0x10
movups xmm0, xmmword [esp + 0x150]
mov eax, dword [esp + 0x2c]
movups xmmword [eax], xmm0
xor edi, edi
mov eax, dword [esp + 0x134]
jmp 0x4854e8
test eax, eax
je 0x485486
cmp byte [esp + 0x2c], 7
jne 0x485486
mov esi, dword [esp + 0x38]
lea edi, [esi + 0x40]
mov edx, dword [esp + 0x130]
lea ebx, [esp + 0x150]
mov ecx, ebx
push eax
call fcn.00421bc7
add esp, 4
xor eax, eax
cmp dword [ebx], eax
setne cl
movzx edx, word [ebx + 8]
cmp edx, 0x1bb
sete dl
xor ebx, ebx
inc ebx
test cl, dl
mov ecx, 0x101
cmove ecx, ebx
mov dword [esp + 0x10], ecx
movups xmm0, xmmword [edi + 0x1c]
lea edx, [esp + 0x200]
movups xmmword [edx + 0x1c], xmm0
movups xmm0, xmmword [edi]
mov dword [esp + 0xc], edi
movups xmm1, xmmword [edi + 0x10]
movaps xmmword [edx + 0x10], xmm1
movaps xmmword [edx], xmm0
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], 0x4e1b3c
mov dword [esi + 0x4c], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], 0x4e25b0
mov dword [esi + 0x5c], 0x52187c
mov dword [esi + 0x60], 1
mov dword [esi + 0x64], eax
mov word [esi + 0x68], 0xffff
lea ebx, [esp + 0xe8]
mov ecx, ebx
call fcn.0042251e
mov al, byte [ebx]
cmp al, 3
je 0x485302
mov edx, dword [esp + 0xec]
movzx ecx, al
call fcn.004224d1
mov edi, dword [esp + 0x10]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], 0
xor ecx, ecx
inc ecx
mov dword [esp + 0x30], ecx
xor edx, edx
call fcn.004a5ddb
mov byte [edx], 0x2f
lea ebx, [esp + 0x150]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], 1
lea esi, [esp + 0xb0]
mov ecx, esi
mov edx, ebx
call fcn.00402b13
lea ebx, [esp + 0x150]
mov ecx, ebx
mov edx, esi
call fcn.00420a76
cmp dword [ebx], 0
je 0x485ac4
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc0], eax
movups xmm0, xmmword [esp + 0x150]
movaps xmmword [esp + 0xb0], xmm0
lea esi, [esp + 0x100]
mov eax, dword [esi]
test eax, eax
je 0x4853a4
lea ecx, [esp + 0x10c]
push dword [ecx - 4]
push dword [ecx - 8]
push ecx
call dword [eax + 8]
add esp, 0xc
lea ebx, [esp + 0xb0]
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
movaps xmm0, xmmword [ebx]
movups xmmword [esi], xmm0
movups xmm0, xmmword [esp + 0x104]
lea esi, [esp + 0x150]
movups xmmword [esi + 0x1c], xmm0
movups xmm0, xmmword [esp + 0xe8]
movups xmm1, xmmword [esp + 0xf8]
movaps xmmword [esi + 0x10], xmm1
movaps xmmword [esi], xmm0
mov ecx, ebx
mov edx, esi
call fcn.0042231f
cmp byte [ebx], 3
je 0x485ae8
movups xmm0, xmmword [esp + 0xcc]
movups xmmword [esp + 0x16c], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmm1, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x160], xmm1
movaps xmmword [esp + 0x150], xmm0
mov esi, dword [esp + 0xc]
mov ecx, esi
call fcn.004281b0
movups xmm0, xmmword [esp + 0x16c]
movups xmmword [esi + 0x1c], xmm0
movaps xmm0, xmmword [esp + 0x150]
movaps xmm1, xmmword [esp + 0x160]
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi], xmm0
lea eax, [esp + 0x138]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x114]
push dword [eax - 4]
push dword [eax - 8]
push eax
push edx
call dword [ecx]
add esp, 0x10
and edi, 0x100
mov dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x34]
jmp 0x48550d
xor ecx, ecx
inc ecx
mov edx, 5
call fcn.00426cc9
mov edi, eax
lea ecx, [esp + 0x124]
call fcn.004281b0
lea ecx, [esp + 0x150]
mov dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], edi
call fcn.00480fae
mov edi, eax
mov ebx, edx
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.0040fe18
add esi, 0x88
mov ecx, esi
call fcn.0045e776
jmp 0x485a89
mov edi, dword [esp + 0x10]
and edi, 0xff00
lea ecx, [esp + 0x138]
mov edx, dword [ecx - 0xc]
lea esi, [esp + 0x114]
push eax
push dword [ecx - 8]
push ecx
push esi
call dword [edx]
add esp, 0x10
movzx eax, byte [esp + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x124]
call fcn.004281b0
movups xmm0, xmmword [esp + 0x114]
movaps xmmword [esp + 0x1f0], xmm0
movzx eax, word [ebx + 0xbc]
mov dword [esp + 0xc], eax
movzx ecx, byte [ebx + 0xbe]
mov eax, dword [ebx + 0x50]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x48555a
lock inc dword [eax]
jle 0x485a95
mov esi, edi
mov ecx, dword [ebx + 0x54]
mov dword [esp + 0x40], ecx
jmp 0x48555c
mov esi, edi
mov cl, byte [ebx + 0x58]
mov byte [esp + 0x34], cl
mov cl, byte [ebx + 0x59]
mov byte [esp + 0x2b], cl
mov cl, byte [ebx + 0x5a]
mov byte [esp + 0x2a], cl
mov dh, byte [ebx + 0x5b]
mov cl, byte [ebx + 0x5c]
mov byte [esp + 0x29], cl
mov cl, byte [ebx + 0x5d]
mov dl, byte [ebx + 0x61]
mov byte [esp + 0x25], dl
mov dl, byte [ebx + 0x5e]
mov byte [esp + 0x28], dl
mov dl, byte [ebx + 0x5f]
mov ch, byte [ebx + 0x48]
mov byte [esp + 0x27], ch
mov edi, dword [ebx]
mov dword [esp + 0x90], edi
mov edi, dword [ebx + 4]
mov dword [esp + 0x8c], edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x88], edi
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x84], edi
mov edi, dword [ebx + 0x38]
mov dword [esp + 0xa8], edi
mov edi, dword [ebx + 0x3c]
mov dword [esp + 0xa4], edi
mov edi, dword [ebx + 0x40]
mov dword [esp + 0xa0], edi
mov edi, dword [ebx + 0x30]
mov dword [esp + 0x9c], edi
mov edi, dword [ebx + 0x2c]
mov dword [esp + 0x94], edi
mov edi, dword [ebx + 0x28]
mov dword [esp + 0x98], edi
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x78], edi
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x7c], edi
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x74], edi
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x70], edi
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x6c], edi
mov edi, dword [ebx + 0x44]
mov dword [esp + 0x80], edi
mov edi, dword [ebx + 0x7c]
mov ch, byte [ebx + 0x49]
mov byte [esp + 0x26], ch
mov ch, byte [ebx + 0x60]
mov dword [esp + 0xac], edi
lock inc dword [edi]
jle 0x485a95
mov edi, dword [ebx + 0x80]
mov dword [esp + 0x68], edi
lock inc dword [edi]
jle 0x485a95
mov byte [esp + 0x21], ch
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], dh
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x60], eax
cmp dword [ebx + 0x68], 0
mov edi, esi
je 0x48568e
xor esi, esi
inc esi
push dword [ebx + 0x6c]
call dword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov dword [esp + 0x3c], eax
jmp 0x485690
xor esi, esi
push dword [ebx + 0x70]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
mov dword [esp + 0x5c], eax
mov cl, byte [ebx + 0x78]
mov dl, byte [ebx + 0x79]
mov ch, byte [ebx + 0x74]
mov dh, byte [ebx + 0x75]
mov al, byte [ebx + 0x76]
mov byte [esp + 0x20], al
mov al, byte [ebx + 0x77]
mov byte [esp + 0x1f], al
mov eax, dword [ebx + 0xac]
lock inc dword [eax]
jle 0x485a95
mov byte [esp + 0x18], dh
mov byte [esp + 0x19], ch
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], cl
mov dword [esp + 0x54], eax
mov al, byte [ebx + 0xb0]
mov byte [esp + 0x1e], al
mov eax, dword [ebx + 0x90]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x48], eax
mov al, byte [ebx + 0xb1]
mov byte [esp + 0x1b], al
mov al, byte [ebx + 0xb2]
mov byte [esp + 0x1a], al
mov al, 2
cmp byte [ebx + 0xa8], 2
je 0x48574d
lea eax, [ebx + 0xa4]
mov ecx, dword [ebx + 0x98]
lea edx, [esp + 0xb0]
push dword [ebx + 0xa0]
push dword [ebx + 0x9c]
push eax
push edx
call dword [ecx]
add esp, 0x10
mov al, byte [ebx + 0xa8]
mov byte [esp + 0x17], al
mov dword [esp + 0x58], esi
mov eax, ebx
mov ebx, edi
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [esp + 0x154], xmm0
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x48577c
lock inc dword [eax]
jle 0x485a95
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc0], eax
movups xmm0, xmmword [esp + 0x150]
movaps xmmword [esp + 0xb0], xmm0
push 0x98
push dword [esp + 0x3c]
lea esi, [esp + 0x158]
push esi
call fcn.004b64b0
add esp, 0xc
mov al, byte [0x530b2c]
xor ecx, ecx
mov edx, 0x738
call fcn.0049cbc0
test eax, eax
je 0x485a97
mov edi, eax
mov eax, dword [esp + 0x10]
shl eax, 0x10
add dword [esp + 0xc], eax
or ebx, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
xor eax, eax
mov cl, byte [esp + 0x25]
test cl, cl
setne al
cmp cl, 2
mov ebx, 2
cmovne ebx, eax
push 0x98
push esi
push edi
call fcn.004b64b0
add esp, 0xc
mov eax, dword [esp + 0x90]
mov dword [edi + 0x98], eax
mov eax, dword [esp + 0x8c]
mov dword [edi + 0x9c], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0xa0], eax
mov eax, dword [esp + 0x84]
mov dword [edi + 0xa4], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 0xa8], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 0xac], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 0xb4], eax
mov eax, dword [esp + 0x7c]
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0xb8], eax
mov eax, dword [esp + 0x94]
mov dword [edi + 0xc4], eax
mov eax, dword [esp + 0x98]
mov dword [edi + 0xc0], eax
mov eax, dword [esp + 0x9c]
mov dword [edi + 0xc8], eax
mov eax, dword [esp + 0xa8]
mov dword [edi + 0xd0], eax
mov eax, dword [esp + 0xa4]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0xa0]
mov dword [edi + 0xd8], eax
mov eax, dword [esp + 0x80]
mov dword [edi + 0xdc], eax
mov al, byte [esp + 0x27]
mov byte [edi + 0xe0], al
mov al, byte [esp + 0x26]
mov byte [edi + 0xe1], al
mov eax, dword [esp + 0x64]
mov dword [edi + 0xe8], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0xec], eax
mov al, byte [esp + 0x34]
mov byte [edi + 0xf0], al
mov al, byte [esp + 0x2b]
mov byte [edi + 0xf1], al
mov al, byte [esp + 0x2a]
mov byte [edi + 0xf2], al
mov al, byte [esp + 0x24]
mov byte [edi + 0xf3], al
mov al, byte [esp + 0x29]
mov byte [edi + 0xf4], al
mov al, byte [esp + 0x23]
mov byte [edi + 0xf5], al
mov al, byte [esp + 0x28]
mov byte [edi + 0xf6], al
mov al, byte [esp + 0x22]
mov byte [edi + 0xf7], al
mov al, byte [esp + 0x21]
mov byte [edi + 0xf8], al
mov byte [edi + 0xf9], bl
mov eax, dword [esp + 0x58]
mov dword [edi + 0x100], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x104], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 0x108], eax
mov al, byte [esp + 0x19]
mov byte [edi + 0x10c], al
mov al, byte [esp + 0x18]
mov byte [edi + 0x10d], al
mov al, byte [esp + 0x20]
mov byte [edi + 0x10e], al
mov al, byte [esp + 0x1f]
mov byte [edi + 0x10f], al
mov al, byte [esp + 0x1d]
mov byte [edi + 0x110], al
mov al, byte [esp + 0x1c]
mov byte [edi + 0x111], al
mov eax, dword [esp + 0xac]
mov dword [edi + 0x114], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x118], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 0x11c], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0x124], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 0x120], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x128], eax
mov eax, dword [esp + 0xc0]
mov dword [edi + 0x13c], eax
movaps xmm0, xmmword [esp + 0xb0]
movups xmmword [edi + 0x12c], xmm0
mov al, byte [esp + 0x17]
mov byte [edi + 0x140], al
mov eax, dword [esp + 0x54]
mov dword [edi + 0x144], eax
mov al, byte [esp + 0x1e]
mov byte [edi + 0x148], al
mov al, byte [esp + 0x1b]
mov byte [edi + 0x149], al
mov al, byte [esp + 0x1a]
mov byte [edi + 0x14a], al
mov eax, dword [esp + 0x44]
mov dword [edi + 0x150], eax
mov ecx, dword [esp + 0xc]
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0x156], al
mov word [edi + 0x154], cx
mov eax, dword [esp + 0x10]
mov dword [edi + 0x158], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x15c], eax
movaps xmm0, xmmword [esp + 0x1f0]
movups xmmword [edi + 0x160], xmm0
mov byte [edi + 0x734], 0
mov ebx, 0x4f7740
mov eax, edi
mov edx, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, 8
mov edx, 0x738
call fcn.004cb610
mov ecx, 8
mov edx, 0x70
call fcn.004cb610
mov ecx, 4
mov edx, 4
call fcn.004cb610
mov al, byte [esp + 0x154]
mov byte [esp + 0xb0], al
mov ecx, str.slash_is_a_valid_path
mov edx, 0x15
push 0x4e4230
push 0x4e3fdc
jmp 0x485b0a
mov al, byte [esp + 0xb1]
mov byte [esp + 0x150], al
mov ecx, str.scheme_is_valid
mov edx, 0xf
push 0x4e4250
push 0x4e3fbc
push esi
call fcn.004cbc80