Function at 0x49a300
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], esp
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xa4], 0x49cc10
mov dword [esi + 4], ecx
mov al, byte [ebp + 0x18]
mov bl, byte [ebp + 0x1c]
mov dword [esi + 8], edx
mov ecx, dword fs:[0]
movzx eax, al
mov dword [esi + 0xa0], ecx
lea ecx, [esi + 0xa0]
mov dword [esi + 0x30], eax
mov dword fs:[0], ecx
mov cl, byte [ebp + 0x20]
test cl, cl
mov ecx, dword [ebp + 8]
je 0x49a396
mov eax, dword [esi + 8]
mov edi, dword [eax]
lea eax, [edi + 8]
push 7
push eax
call fcn.00492600
mov ecx, dword [ebp + 8]
add esp, 8
test al, al
jne 0x49a3a4
add edi, 0x10
push 7
push edi
call fcn.00492600
mov ecx, dword [ebp + 8]
add esp, 8
test al, al
jne 0x49a3a4
mov edx, dword [ecx + 0xf8]
cmp edx, 0x110000
jne 0x49a41b
mov eax, dword [ecx + 0x120]
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x49a3dc
mov ecx, dword [ebp + 8]
push dword [ecx + 0x124]
push eax
call fcn.00474b60
add esp, 8
cmp edx, edi
jne 0x49a3dc
push edi
push eax
push dword [ebp + 0xc]
call fcn.0054b2c4
add esp, 0xc
test eax, eax
je 0x49a767
lea eax, [esi + 0x38]
push edi
mov edi, eax
push dword [ebp + 0xc]
push eax
call fcn.004c68f0
add esp, 0xc
mov edx, dword [esi + 0x3c]
cmp dword [esi + 0x38], 1
mov eax, dword [esi + 0x40]
je 0x49a90e
mov ecx, dword [esi + 0x44]
cmp edx, 1
jne 0x49a6ae
mov edx, dword [esi + 0x48]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], edx
jmp 0x49a6b9
mov eax, dword [ecx + 0x120]
mov ecx, dword [ecx + 0x124]
mov dword [esi + 0x7c], edx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
push edx
call fcn.004c65f0
add esp, 4
cmp eax, 5
jae 0x49a930
test eax, eax
je 0x49a93a
test bl, bl
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], eax
jne 0x49a51b
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00492100
add esp, 8
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x130]
test ecx, ecx
je 0x49a51b
mov edx, dword [ebp + 8]
mov ebx, dword [eax + 0x128]
imul eax, ecx, 0x38
mov edi, dword [edx]
add eax, ebx
mov ecx, ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x8c], edi
mov edi, dword [edx + 4]
jmp 0x49a4ba
mov eax, dword [esi + 0x34]
cmp dword [esi + 0x2c], eax
je 0x49a51b
mov ecx, eax
lea eax, [ecx + 0x38]
mov edx, dword [ecx + 0x10]
mov dword [esi + 0x88], ecx
mov ecx, dword [ecx + 0x18]
mov dword [esi + 0x34], eax
shl ecx, 3
nop
test ecx, ecx
je 0x49a4b0
mov eax, dword [edx]
mov ebx, dword [edx + 4]
add ecx, 0xfffffff8
add edx, 8
xor eax, dword [esi + 0x8c]
xor ebx, edi
or ebx, eax
jne 0x49a4d0
mov eax, dword [esi + 0x88]
movsd xmm0, qword [eax]
lea eax, [esi + 0x38]
mov dword [esi + 0xa8], 0xffffffff
movsd qword [esi + 0x38], xmm0
push eax
push dword [ebp + 0x14]
call fcn.00492100
add esp, 8
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x2c]
jne 0x49a4b8
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
lea ebx, [esi + 0xc]
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x84]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x80]
mov dword [esi + 0x44], eax
lea eax, [esi + 0x90]
mov dword [esi + 0x48], eax
mov eax, ecx
mov byte [esi + 0x4c], 0
nop word cs:[eax + eax]
nop
lea ecx, [esi + 0x40]
push ecx
push dword [esi + 0x3c]
push eax
push ebx
call fcn.004900d0
add esp, 0x10
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49a590
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x18]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
test eax, eax
jne 0x49a5a5
jmp 0x49a78e
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x38], 0
test eax, eax
je 0x49a78e
push ecx
push eax
push ebx
call fcn.004c68f0
add esp, 0xc
mov edx, dword [esi + 0x10]
cmp dword [esi + 0xc], 1
mov eax, dword [esi + 0x14]
je 0x49a8fb
mov ecx, dword [esi + 0x18]
cmp edx, 1
jne 0x49a5e0
mov edx, dword [esi + 0x1c]
test eax, eax
jne 0x49a5fc
jmp 0x49a78e
push ecx
push eax
push ebx
call fcn.004e6fd0
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x49a78e
mov dword [esi + 0x20], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0xa8], 0
push eax
call fcn.004ef6a0
add esp, 4
mov edi, dword [esi + 0x48]
test eax, eax
setne bl
mov ecx, dword [edi]
test ecx, ecx
setne bh
xor bh, bl
jne 0x49a656
test eax, eax
je 0x49a775
test ecx, ecx
je 0x49a775
cmp edx, dword [edi + 4]
jne 0x49a656
push edx
push ecx
push eax
call fcn.0054b2c4
add esp, 0xc
test eax, eax
je 0x49a775
mov eax, dword [esi + 0x20]
lea ebx, [esi + 0xc]
test eax, eax
je 0x49a78e
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 8]
push 1
push dword [esi + 0x30]
push dword [ebp + 0x14]
push ebx
call fcn.0049abb0
add esp, 0x10
cmp byte [esi + 0x4c], 0
jne 0x49a78e
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x49a560
jmp 0x49a78e
push ecx
push eax
push edi
call fcn.004e6fd0
add esp, 0xc
movzx eax, bl
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov edx, ebx
push eax
push dword [esi + 0x30]
mov eax, dword [ebp + 0x14]
push eax
push edi
call fcn.0049abb0
add esp, 0x10
push ebx
push dword [ebp + 0x14]
call fcn.004b1e40
add esp, 8
mov edi, dword [esi + 4]
test eax, eax
je 0x49a751
push eax
call fcn.0048faf0
add esp, 4
cmp dword [ebx + 0xc8], 1
jne 0x49a70f
mov ecx, dword [ebx + 0xcc]
test byte [ebx + 0x2c], 2
jne 0x49a722
cmp ecx, eax
mov ebx, dword [ebp + 8]
jne 0x49a751
jmp 0x49a746
cmp dword [ebx + 0xd8], 1
jne 0x49a737
cmp eax, dword [ebx + 0xdc]
jae 0x49a746
jmp 0x49a751
test ecx, ecx
je 0x49a8e5
xor edx, edx
div ecx
test edx, edx
mov ebx, dword [ebp + 8]
jne 0x49a751
jmp 0x49a746
cmp dword [ebx + 0xe0], 1
je 0x49a751
test byte [ebx + 0x2e], 0x10
jne 0x49a751
mov dword [edi], 2
jmp 0x49a8d1
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [edi], 1
jmp 0x49a8d1
mov eax, dword [esi + 4]
mov dword [eax], 2
jmp 0x49a8d1
mov eax, dword [esi + 0x24]
mov byte [esi + 0x4c], 1
test eax, eax
je 0x49a78e
push 1
push eax
push dword [esi + 0x20]
call fcn.0043c2a0
add esp, 0xc
mov dword [esi + 0xa8], 0xffffffff
push dword [esi + 0x7c]
call fcn.004c65f0
add esp, 4
mov edi, eax
cmp eax, 5
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
jae 0x49a950
mov eax, dword [ebp + 0x10]
lea ebx, [esi + 0x10]
cmp eax, 0x40
jae 0x49a7d4
push edi
push ebx
push eax
push dword [ebp + 0xc]
call fcn.004c7f60
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edi, eax
jmp 0x49a829
call fcn.00412370
movzx eax, al
lea ecx, [esi + 0x38]
push edi
push ebx
push eax
push ecx
mov edi, ecx
call fcn.004c7360
add esp, 0x10
mov dword [esi + 0xa8], 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004c7220
add esp, 0xc
cmp dword [esi + 0x58], 0
mov ecx, dword [ebp + 8]
mov edi, eax
je 0x49a829
mov eax, dword [esi + 0x60]
test eax, eax
je 0x49a829
push 1
push eax
push dword [esi + 0x5c]
call fcn.0043c2a0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov ebx, 2
cmp edi, 1
jne 0x49a83b
mov edi, dword [esi + 4]
jmp 0x49a8cf
test byte [ecx + 0x2d], 2
mov edi, dword [esi + 4]
jne 0x49a8cf
mov dword [esi + 0xa8], 0xffffffff
push ecx
push dword [ebp + 0x14]
call fcn.004b1e40
add esp, 8
test eax, eax
je 0x49a8be
push eax
call fcn.0048faf0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc8], 1
mov edx, ecx
jne 0x49a88b
mov ecx, dword [edx + 0xcc]
test byte [edx + 0x2c], 2
jne 0x49a89e
cmp ecx, eax
jne 0x49a8be
jmp 0x49a8cf
cmp dword [edx + 0xd8], 1
jne 0x49a8ac
cmp eax, dword [edx + 0xdc]
jb 0x49a8be
jmp 0x49a8cf
test ecx, ecx
je 0x49a8e5
xor edx, edx
div ecx
test edx, edx
jne 0x49a8be
jmp 0x49a8cf
cmp dword [edx + 0xe0], 1
je 0x49a8be
mov eax, dword [ebp + 8]
test byte [eax + 0x2e], 0x10
je 0x49a8cf
mov eax, dword [ebp + 8]
mov ebx, 1
movsd xmm0, qword [eax]
movsd qword [edi + 8], xmm0
mov dword [edi], ebx
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5ef284
push 0x39
push str.attempt_to_calculate_the_remainder_with_a_divisor_of_zeroC:Userscompile_bamboo.cargo_registry_srcgithub.com_1ecc6299db9ec823os_str_bytes_6.0.0_src_raw_str.rs
call fcn.005707b0
add esp, 0xc
ud2
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
push 0x5ef368
push 0x5ef4d4
push ebx
jmp 0x49a91f
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
push 0x5ef368
push 0x5ef4d4
push edi
push 0x11
push str.invalid_raw_bytes
call fcn.005708f0
add esp, 0x14
ud2
push 0x5ef168
push 4
push eax
jmp 0x49a958
push 0x5ef054
push 0x23
push str.cannot_split_using_an_empty_patternC:Userscompile_bamboo.cargo_registry_srcgithub.com_1ecc6299db9ec823os_str_bytes_6.0.0_srciter.rs
call fcn.0056c130
add esp, 0xc
ud2
push 0x5ef594
push 4
push edi
call fcn.005709d0
add esp, 0xc
ud2