Function at 0x1004ad60
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x978
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp byte [eax], 0
je 0x1004b0f1
mov eax, dword [esi + 0xd8]
mov dword [esp + 0x68], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x6d0], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x6d4], 0
test eax, eax
je 0x1004ae42
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x44]
lea esi, [esp + 0x68]
push ecx
push edx
push esi
push esi
push dword [eax + 8]
call sub.kernel32.dll_GetProcessTimes
test eax, eax
jne 0x1004ae42
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], edx
mov dword [esp + 0x260], 1
je 0x1004ae42
lea eax, [esp + 0x268]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
lea eax, [esp + 0x6d0]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x10]
push eax
push ecx
push edx
call sub.kernel32.dll_GetSystemTimes
test eax, eax
mov cl, 1
mov eax, 0
jne 0x1004ae84
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x264], eax
mov eax, 1
mov dword [esp + 0x268], edx
sete cl
mov dword [esp + 0x260], eax
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x8c]
mov byte [esp], cl
mov ebx, dword [esp + 0x88]
mov edx, 0
movd xmm2, dword [esp + 0x6d0]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x70]
mov edi, esi
movd xmm0, ebx
movd xmm1, esi
punpckldq xmm0, xmm2
movd xmm2, dword [esp + 0x48]
cmp ebx, eax
sbb edi, ecx
cmovb ecx, edx
cmovb eax, edx
mov edx, dword [esp + 0x6d4]
sub ebx, eax
mov eax, dword [ebp + 8]
sbb esi, ecx
mov dword [esp + 4], esi
movd xmm3, edx
punpckldq xmm1, xmm3
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
mov eax, edx
movd xmm3, dword [esp + 0x4c]
punpckldq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
movd edi, xmm1
movd xmm1, dword [esp + 0x50]
cmp edi, ecx
sbb eax, esi
mov eax, 0
cmovb ecx, eax
cmovb esi, eax
sub edi, ecx
mov ecx, dword [ebp + 8]
punpckldq xmm2, xmm1
movd xmm1, dword [esp + 0x44]
sbb edx, esi
add edi, ebx
adc edx, dword [esp + 4]
mov eax, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x68]
mov ebx, dword [ecx + 0x60]
punpckldq xmm1, xmm3
punpckldq xmm1, xmm2
mov dword [esp + 8], eax
mov eax, 0xffffffff
cmovb edi, eax
cmovb edx, eax
mov eax, edi
or eax, edx
mov eax, ecx
mov ecx, dword [ecx + 0x64]
movdqu xmmword [eax + 0x60], xmm1
movdqu xmmword [eax + 0x70], xmm0
je 0x1004b13d
pshufd xmm0, xmm1, 0x55
mov dword [esp + 0x20], esi
movd esi, xmm1
movd dword [esp + 4], xmm0
cmp esi, ebx
pshufd xmm0, xmm1, 0xff
pshufd xmm1, xmm1, 0xee
mov eax, dword [esp + 4]
sbb eax, ecx
mov eax, 0
cmovb ebx, eax
cmovb ecx, eax
movd eax, xmm1
movd xmm1, edx
sub esi, ebx
movd ebx, xmm0
mov dword [esp + 0x38], eax
movd xmm0, edi
sbb dword [esp + 4], ecx
mov dword [esp + 0xc], esi
cmp eax, dword [esp + 0x20]
mov esi, dword [esp + 8]
mov eax, ebx
mov ecx, 0
punpckldq xmm0, xmm1
sbb eax, esi
mov eax, 0
cmovb esi, eax
mov eax, dword [esp + 0x20]
cmovb eax, ecx
mov ecx, dword [esp + 0x38]
movq qword [esp + 0x78], xmm0
fild qword [esp + 0x78]
fnstcw word [esp + 0x32]
sub ecx, eax
movzx eax, word [esp + 0x32]
sbb ebx, esi
shr edx, 0x1f
mov esi, dword [ebp + 8]
or eax, 0x300
mov word [esp + 0x42], ax
mov eax, 0xffffffff
fldcw word [esp + 0x42]
fadd dword [edx*4 + 0x10170378]
add ecx, dword [esp + 0xc]
adc ebx, dword [esp + 4]
fldcw word [esp + 0x32]
cmovb ebx, eax
cmovb ecx, eax
fstp dword [esp + 0x64]
movd xmm0, ebx
movd xmm1, ecx
shr ebx, 0x1f
mov ecx, dword [ebp + 0x10]
punpckldq xmm1, xmm0
movq qword [esp + 0x80], xmm1
fild qword [esp + 0x80]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
movd xmm1, ecx
or eax, 0x300
mov word [esp + 0x40], ax
mov eax, dword [ebp + 0x14]
fldcw word [esp + 0x40]
movd xmm2, eax
shr eax, 0x1f
fadd dword [ebx*4 + 0x10170378]
fldcw word [esp + 0x30]
punpckldq xmm1, xmm2
fstp dword [esp + 0x5c]
movss xmm0, dword [esp + 0x5c]
divss xmm0, dword [esp + 0x64]
movq qword [esp + 0x70], xmm1
fild qword [esp + 0x70]
fnstcw word [esp + 0x2e]
movzx ecx, word [esp + 0x2e]
mulss xmm0, dword [0x10170380]
or ecx, 0x300
mov word [esp + 0x3e], cx
fldcw word [esp + 0x3e]
fadd dword [eax*4 + 0x10170378]
cmp byte [esp], 0
fldcw word [esp + 0x2e]
fstp dword [esp + 0x60]
mulss xmm0, dword [esp + 0x60]
movss dword [esi + 0xdc], xmm0
jne 0x1004b0f1
lea eax, [esp + 0x268]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov eax, dword [ebp + 0xc]
cmp byte [eax + 1], 0
je 0x1004b184
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x1004b184
lea ecx, [esp + 0x260]
push ecx
push dword [eax + 8]
call sub.kernel32.dll_GetProcessIoCounters
test eax, eax
je 0x1004b152
movups xmm0, xmmword [esi + 0xa0]
movdqu xmm1, xmmword [esp + 0x278]
movups xmmword [esi + 0x90], xmm0
movdqu xmmword [esi + 0xa0], xmm1
jmp 0x1004b184
mov esi, dword [ebp + 8]
cmp byte [esp], 0
mov dword [esi + 0xdc], 0
je 0x1004b0e1
jmp 0x1004b0f1
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x6d4], eax
mov dword [esp + 0x6d8], edx
mov dword [esp + 0x6d0], 1
je 0x1004b184
lea eax, [esp + 0x6d8]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov eax, dword [ebp + 0xc]
cmp byte [eax + 2], 0
je 0x1004b1a6
mov eax, dword [ebp + 0x24]
movups xmm0, xmmword [eax + 0x68]
movss xmm1, dword [eax + 0x5c]
unpcklps xmm0, xmm1
xorps xmm1, xmm1
unpcklps xmm0, xmm1
movups xmmword [esi + 0x50], xmm0
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x1004b39c
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx + 3]
test ecx, ecx
je 0x1004b39c
cmp ecx, 1
je 0x1004b1d8
cmp dword [esi + 0xc8], 0x80000000
jne 0x1004b39c
mov esi, dword [eax + 8]
call sym.__ZN100__LT_windows..Win32..System..SystemServices..RemotableHandle_0_u20_as_u20_core..default..Default_GT_7default17hace6dcb2
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 8
push esi
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x1004b286
mov ebx, dword [esp + 0x10]
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1004b39c
mov dword [esp + 0x88], ebx
mov dword [esp + 0x6d0], 0
lea esi, [esp + 0x6d0]
push esi
push 0
push 0
push 1
push ebx
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x1004b31a
mov edi, dword [esp + 0x6d0]
call sub.kernel32.dll_GetProcessHeap
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x1004b2c1
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], edx
mov dword [esp + 0x260], 1
je 0x1004b38e
lea eax, [esp + 0x268]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
jmp 0x1004b38e
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], edx
mov dword [esp + 0x260], 1
je 0x1004b39c
lea eax, [esp + 0x268]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
jmp 0x1004b39c
push edi
push 8
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x1004b38e
mov edi, eax
push esi
push dword [esp + 0x6d4]
push eax
push 1
push ebx
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x1004b360
lea eax, [esp + 0x260]
push dword [edi]
push eax
call sym.sysinfo::windows::sid::Sid::from_psid::h2de1706ce9504111
add esp, 8
mov esi, dword [esp + 0x260]
cmp esi, 0x80000000
jne 0x1004b704
mov ecx, edi
call sym.__ZN4core3ptr121drop_in_place_LT_sysinfo..windows..process..get_process_user_id..HeapWrap_LT_windows..Win32..Security..TOKEN_U
jmp 0x1004b75c
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
lea ecx, [esp + 0x264]
cmp eax, 0x8007007a
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], edx
jne 0x1004b351
test edx, edx
je 0x1004b237
push ecx
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
jmp 0x1004b237
test edx, edx
je 0x1004b38e
push ecx
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
jmp 0x1004b38e
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x260], eax
mov dword [esp + 0x264], edx
je 0x1004b387
lea eax, [esp + 0x264]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
mov ecx, edi
call sym.__ZN4core3ptr121drop_in_place_LT_sysinfo..windows..process..get_process_user_id..HeapWrap_LT_windows..Win32..Security..TOKEN_U
push ebx
call sub.kernel32.dll_CloseHandle
test eax, eax
je 0x1004b6fd
mov eax, dword [ebp + 0xc]
mov bl, 1
movzx edi, byte [eax + 7]
movzx edx, byte [eax + 4]
movzx ecx, byte [eax + 5]
movzx esi, byte [eax + 6]
test edi, edi
je 0x1004b3c6
cmp edi, 1
je 0x1004b41c
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb8], 0
je 0x1004b41c
test esi, esi
je 0x1004b3db
cmp esi, 1
je 0x1004b41c
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc4], 0
je 0x1004b41c
test edx, edx
je 0x1004b3f0
cmp edx, 1
je 0x1004b41c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0x80000000
je 0x1004b41c
test ecx, ecx
je 0x1004b40c
cmp ecx, 1
je 0x1004b41c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x80000000
sete bl
test bl, bl
je 0x1004b412
jmp 0x1004b41c
xor ebx, ebx
test bl, bl
jne 0x1004b41c
cmp byte [ebp + 0x20], 0
je 0x1004bc63
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x1004bc63
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 8], esi
mov dword [esp], edx
lea eax, [esp + 0x44]
push 0
push 4
push eax
push 0x1a
mov dword [esp + 0x14], ecx
push ecx
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
js 0x1004bc63
mov esi, dword [esp + 0x44]
cmp byte [ebp + 0x20], 0
jne 0x1004b46f
test esi, esi
je 0x1004b46f
test bl, bl
jne 0x1004b4bf
jmp 0x1004bc63
lea eax, [esp + 0x260]
push 0
push 0x18
push eax
push 0
push dword [esp + 0x14]
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
js 0x1004bc63
mov eax, dword [esp + 0x264]
mov ecx, dword [esp + 0x274]
xor edx, edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
test ecx, ecx
setne dl
test bl, bl
mov dword [eax], edx
mov dword [eax + 4], ecx
je 0x1004bc63
test esi, esi
je 0x1004b628
lea eax, [esp + 0x260]
push 0
push 0x470
push eax
push esi
mov esi, dword [esp + 0x14]
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1004b5c4
lea eax, [esp + 0x6d0]
push 0
push 0x2a4
push eax
push dword [esp + 0x27c]
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1004b5f6
movzx eax, word [esp + 0x6f4]
mov edx, dword [esp + 0x6f8]
mov ecx, dword [esp + 0x718]
test edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ecx
je 0x1004b86e
mov esi, dword [esp + 0x714]
movzx ebx, word [esp + 0x710]
cmp edi, 1
je 0x1004b553
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb8], 0
jne 0x1004b86e
mov eax, dword [0x101c2070]
cmp eax, 4
jne 0x1004b7a9
mov eax, dword [ebp + 8]
cmp byte [0x101c2074], 0
lea edi, [eax + 0xb0]
je 0x1004b7cc
mov edx, dword [esp + 4]
lea esi, [esp + 0x88]
mov ecx, esi
call sym.sysinfo::windows::process::get_cmd_line_new::hc799b39b5f519b3f
push edi
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hefe2f47ec1a0820a
add esp, 4
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
test eax, eax
je 0x1004b5af
shl eax, 4
push 4
push eax
push dword [ecx + 0xb4]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 0x90]
movsd xmm0, qword [esp + 0x88]
jmp 0x1004b867
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x6d4], eax
mov dword [esp + 0x6d8], edx
mov dword [esp + 0x6d0], 1
je 0x1004bc63
lea eax, [esp + 0x6d8]
jmp 0x1004b79b
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x88], 1
je 0x1004bc63
lea eax, [esp + 0x90]
jmp 0x1004b79b
lea ecx, [esp + 0x88]
push 0
push 0x1d8
push ecx
push dword [esp + 0x18]
push dword [esp + 0x14]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1004b702
lea ebx, [esp + 0x6d0]
push 0
push 0x2a4
push ebx
push dword [esp + 0xa4]
push dword [esp + 0x14]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1004b76e
push 0x2a4
push ebx
lea eax, [esp + 0x268]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0xb0]
mov ebx, dword [esp + 4]
lea ecx, [esp + 0x260]
mov edx, ebx
push eax
push edi
call sym.sysinfo::windows::process::get_cmd_line::h1a43fc9de4551bef
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2a8]
add eax, 0xbc
mov edx, ebx
push eax
push dword [esp + 0xc]
call sym.sysinfo::windows::process::get_proc_env::h19df9d67d8698c8d
add esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x288]
lea ecx, [eax + 0x30]
add eax, 0x40
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x284]
push eax
push dword [esp + 0x10]
push dword [esp + 0x28]
push dword [esp + 0xc]
push ebx
call sym.sysinfo::windows::process::get_cwd_and_root::h74bc3b541b8fb132
add esp, 0x14
jmp 0x1004b4bf
jmp 0x1004b286
jmp 0x1004b76e
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x264]
mov edx, dword [esp + 0x268]
mov eax, dword [ebx + 0xc8]
test eax, 0x7fffffff
je 0x1004b743
push 1
push eax
push dword [ebx + 0xcc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
call sym.___rust_dealloc
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], ecx
mov dword [ebx + 0xd0], edx
mov ecx, edi
call sym.__ZN4core3ptr121drop_in_place_LT_sysinfo..windows..process..get_process_user_id..HeapWrap_LT_windows..Win32..Security..TOKEN_U
lea eax, [esp + 0x88]
push eax
call sym.__LT_sysinfo..windows..utils..HandleWrapper_u20_as_u20_core..ops..drop..Drop_GT_::drop::h32fe1aa2e6e08e0b
jmp 0x1004b2b9
call sym.windows_result::error::Error::from_win32::h7d859e40b596e523
test edx, edx
mov dword [esp + 0x264], eax
mov dword [esp + 0x268], edx
mov dword [esp + 0x260], 1
je 0x1004bc63
lea eax, [esp + 0x268]
push eax
call sym.__LT_windows_result..com..ComPtr_u20_as_u20_core..ops..drop..Drop_GT_::drop::hcb2d3b1bb6a74ba7
add esp, 4
jmp 0x1004bc63
push 0x101c2070
call sym.std::sync::once_lock::OnceLock_LT_T_GT_::initialize::he20877358b2ca8d4
add esp, 4
mov eax, dword [ebp + 8]
cmp byte [0x101c2074], 0
lea edi, [eax + 0xb0]
jne 0x1004b577
lea eax, [esp + 0x88]
push ebx
push esi
push dword [esp + 0xc]
push eax
call sym.sysinfo::windows::process::get_process_data::h782da54d7136a938
add esp, 0x10
mov esi, dword [esp + 0x88]
cmp esi, 0x80000000
jne 0x1004b80e
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], 0
jmp 0x1004b83a
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edx
call sym.sysinfo::windows::process::get_cmdline_from_buffer::h2c1816d92e6ef3e9
mov ebx, dword [ebp + 8]
test esi, esi
je 0x1004b83a
add esi, esi
push 2
push esi
push dword [esp + 0x2c]
call sym.___rust_dealloc
add esp, 0xc
push edi
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hefe2f47ec1a0820a
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x1004b85d
shl eax, 4
push 4
push eax
push dword [ebx + 0xb4]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x10]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
mov eax, dword [esp + 8]
mov ebx, dword [ebp + 8]
mov esi, dword [esp]
test eax, eax
je 0x1004bab1
cmp eax, 1
je 0x1004b892
cmp dword [ebx + 0xc4], 0
jne 0x1004bab1
lea eax, [ebx + 0xbc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x88]
push 0x1c
push eax
mov esi, dword [esp + 0x30]
push esi
mov edi, dword [esp + 0x10]
push edi
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
je 0x1004b93f
mov eax, dword [esp + 0x88]
sub eax, esi
add eax, dword [esp + 0x94]
lea ecx, [esp + 0x10]
push eax
push esi
push edi
push ecx
call sym.sysinfo::windows::process::get_process_data::h782da54d7136a938
add esp, 0x10
mov eax, dword [esp + 0x10]
cmp eax, 0x80000000
je 0x1004b94f
mov ecx, dword [esp + 0x14]
mov edi, dword [ebx + 0xc4]
mov esi, dword [ebx + 0xc0]
mov dword [esp + 0x34], eax
mov dword [ebx + 0xc4], 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
test edi, edi
mov dword [esp + 8], ecx
je 0x1004b99c
add esi, 4
jmp 0x1004b925
add esi, 0x10
dec edi
je 0x1004b99c
mov eax, dword [esi - 4]
test eax, eax
je 0x1004b91f
push 1
push eax
push dword [esi]
call sym.___rust_dealloc
mov ecx, dword [esp + 0x14]
add esp, 0xc
jmp 0x1004b91f
mov dword [esp + 0x14], 0x10170457
mov dword [esp + 0x18], 0x29
mov edi, dword [esp + 0x24]
push edi
call sym.__LT_alloc..vec..Vec_LT_T_C_A_GT__u20_as_u20_core..ops..drop..Drop_GT_::drop::hefe2f47ec1a0820a
add esp, 4
mov eax, dword [edi]
mov esi, dword [esp]
test eax, eax
je 0x1004b979
shl eax, 4
push 4
push eax
push dword [ebx + 0xc0]
call sym.___rust_dealloc
add esp, 0xc
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 4
mov dword [ebx + 0xc4], 0
jmp 0x1004bab1
lea esi, [ecx + ecx]
xor eax, eax
neg esi
cmp eax, ecx
je 0x1004ba92
mov edi, eax
mov eax, dword [esp + 0x28]
xor ecx, ecx
xor ebx, ebx
lea edx, [edi + edi]
neg edx
lea eax, [eax + edi*2]
cmp word [eax + ebx*2], 0
je 0x1004b9d4
add edx, 0xfffffffe
inc ebx
add ecx, 2
cmp esi, edx
jne 0x1004b9bd
jmp 0x1004ba92
mov edx, edi
add edx, ebx
jb 0x1004bdb4
cmp edx, dword [esp + 8]
ja 0x1004bda0
mov edx, eax
test ecx, ecx
je 0x1004ba92
add ecx, 0xfffffffe
cmp word [edx], 0x3d
lea edx, [edx + 2]
jne 0x1004b9ea
push ebx
push eax
lea eax, [esp + 0x90]
push eax
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::hdc9efc66b333cddc
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc4]
cmp ecx, dword [eax + 0xbc]
mov dword [esp + 0x58], ecx
jne 0x1004ba31
push dword [esp + 0x24]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::grow_one::h52b196eafe2b7f22
add esp, 4
mov eax, dword [ebp + 8]
movsd xmm0, qword [esp + 0x88]
movq xmm1, qword [esp + 0x90]
mov edx, dword [eax + 0xc0]
mov eax, dword [esp + 0x58]
mov ecx, eax
inc eax
shl ecx, 4
movq qword [edx + ecx + 8], xmm1
movsd qword [edx + ecx], xmm0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc4], eax
mov ecx, dword [esp + 8]
lea eax, [edi + ebx + 1]
cmp eax, ecx
jbe 0x1004b9a3
lea eax, [edi + ebx + 1]
push 0x10170554
push ecx
push eax
call sym.core::slice::index::slice_start_index_len_fail::h7e8587be95abf61b
add esp, 0xc
jmp 0x1004bdc3
mov eax, dword [esp + 0x34]
mov ebx, dword [ebp + 8]
mov esi, dword [esp]
test eax, eax
je 0x1004bab1
add eax, eax
push 2
push eax
push dword [esp + 0x30]
call sym.___rust_dealloc
add esp, 0xc
lea eax, [ebx + 0x30]
test esi, esi
mov dword [esp + 8], eax
je 0x1004bac5
cmp esi, 1
jne 0x1004bace
mov al, 1
jmp 0x1004badb
mov dword [esp], 0
jmp 0x1004bade
mov eax, dword [esp + 8]
cmp dword [eax], 0x80000000
sete al
mov dword [esp], eax
mov eax, dword [esp + 0x20]
lea esi, [ebx + 0x40]
test eax, eax
je 0x1004baf9
cmp eax, 1
je 0x1004bb06
cmp dword [esi], 0x80000000
sete al
jmp 0x1004bafb
xor eax, eax
or al, byte [esp]
cmp al, 1
jne 0x1004bc63
lea eax, [esp + 0x4c]
push dword [esp + 0xc]
push dword [esp + 0x3c]
push dword [esp + 0xc]
push eax
call sym.sysinfo::windows::process::get_process_data::h782da54d7136a938
add esp, 0x10
mov eax, dword [esp + 0x4c]
cmp eax, 0x80000000
jne 0x1004bb58
mov eax, dword [esp + 8]
mov eax, dword [eax]
cmp eax, 0x80000000
je 0x1004bb49
test eax, eax
je 0x1004bb49
push 1
push eax
push dword [ebx + 0x34]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 8]
mov dword [eax], 0x80000000
jmp 0x1004bc63
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], eax
test ecx, ecx
je 0x1004bb7e
lea edx, [ecx + ecx]
xor eax, eax
cmp word [ebx + eax*2], 0
je 0x1004bb80
inc eax
add edx, 0xfffffffe
jne 0x1004bb6d
mov eax, ecx
jmp 0x1004bb80
xor eax, eax
lea ecx, [esp + 0x88]
push eax
push ebx
push ecx
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::hdc9efc66b333cddc
add esp, 0xc
movsd xmm0, qword [esp + 0x88]
movq xmm1, qword [esp + 0x90]
movq qword [esp + 0x18], xmm1
movsd qword [esp + 0x10], xmm0
lea eax, [esp + 0x10]
push eax
call sym.std::sys::os_str::wtf8::Buf::as_mut_slice::h8cd84770b6c4b687
add esp, 4
mov edi, edx
mov ecx, dword [esp + 0x20]
mov edx, eax
push esi
push edi
call sym.sysinfo::windows::process::update_root::hc6f61e2c57816b5d
add esp, 8
cmp byte [esp], 0
je 0x1004bc36
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
mov eax, dword [eax]
movsd qword [esp + 0x90], xmm1
movsd qword [esp + 0x88], xmm0
cmp eax, 0x80000000
je 0x1004bc15
test eax, eax
je 0x1004bc15
push 1
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call sym.___rust_dealloc
add esp, 0xc
movsd xmm0, qword [esp + 0x88]
mov eax, dword [esp + 8]
movq xmm1, qword [esp + 0x90]
movq qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x1004bc4d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1004bc4d
push 1
push eax
push dword [esp + 0x1c]
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [esp + 4]
test eax, eax
je 0x1004bc63
add eax, eax
push 2
push eax
push ebx
call sym.___rust_dealloc
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
movzx eax, byte [eax + 8]
test eax, eax
je 0x1004bd6e
mov ecx, dword [ebp + 8]
cmp eax, 1
lea ebx, [ecx + 0x20]
je 0x1004bc8f
cmp dword [ebx], 0x80000000
jne 0x1004bd6e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x1004bd2a
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
lea eax, [esp + 0x260]
push 0x20a
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call sym.__ZN100__LT_windows..Win32..System..SystemServices..RemotableHandle_0_u20_as_u20_core..default..Default_GT_7default17hace6dcb2
push 0x105
lea ecx, [esp + 0x264]
push ecx
push eax
push dword [esp + 0x10]
call sub.psapi.dll_GetModuleFileNameExW
xor eax, eax
mov ecx, 0x20a
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp word [esp + eax*2 + 0x260], 0
je 0x1004bd06
inc eax
add ecx, 0xfffffffe
jne 0x1004bcf0
mov eax, 0x105
lea ecx, [esp + 0x6d0]
push eax
lea eax, [esp + 0x264]
push eax
push ecx
call sym.__LT_std..ffi..os_str..OsString_u20_as_u20_std..os..windows..ffi..OsStringExt_GT_::from_wide::hdc9efc66b333cddc
add esp, 0xc
mov eax, dword [ebx]
cmp eax, 0x80000000
jne 0x1004bd3e
jmp 0x1004bd53
mov dword [esp + 0x6d0], 0x80000000
mov eax, dword [ebx]
cmp eax, 0x80000000
je 0x1004bd53
test eax, eax
je 0x1004bd53
push 1
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x24]
call sym.___rust_dealloc
add esp, 0xc
movsd xmm0, qword [esp + 0x6d0]
movq xmm1, qword [esp + 0x6d8]
movq qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
mov ecx, dword [ebp + 8]
xor eax, eax
sub esi, dword [ecx + 0x80]
sbb edi, dword [ecx + 0x84]
cmovb esi, eax
cmovb edi, eax
mov dword [ecx + 0x8c], edi
mov dword [ecx + 0x88], esi
mov byte [ecx + 0xe0], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10170544
push dword [esp + 0xc]
push edx
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
add esp, 0xc
jmp 0x1004bdc3
push 0x10170544
push edx
push edi
call sym.core::slice::index::slice_index_order_fail::h40cd09a6386d1bdc
add esp, 0xc
ud2