Function at 0x422182
Capabilities:
Get disk information
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x12c
push ebx
push esi
mov dword [ebp + 0x6c], ecx
xor ebx, ebx
push edi
lea ecx, [ebp + 0x7c]
mov dword [ebp + 0x10], ebx
call fcn.0040f813
mov eax, dword [0x4daf98]
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x38], eax
mov byte [ebp + 0x5b], bl
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0xc], ebx
call fcn.00444a10
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c42a8
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0x37], bl
call fcn.00446a34
add esp, 0xc
push 0x2a
pop esi
push 0x2d
mov byte [ebp + 0x53], al
mov eax, dword [ebp + 0x7c]
pop edi
cmp word [eax], di
mov byte [ebp + 0x51], bl
mov byte [ebp + 0x52], bl
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x54], ebx
jne 0x4221f4
mov esi, edi
push 8
lea eax, [ebp + 0x7c]
push eax
push str.sysinit
call fcn.00446a34
add esp, 0xc
test al, al
je 0x422221
mov eax, dword [ebp + 0x7c]
cmp word [eax], di
push 0x2a
pop esi
jne 0x422308
mov esi, edi
jmp 0x422308
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x422475
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c3370
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42224f
or dword [ebp + 0x54], 8
jmp 0x422221
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x4c080a
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42226b
or dword [ebp + 0x54], 4
jmp 0x422221
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c4298
call fcn.00446a34
add esp, 0xc
test al, al
jne 0x422459
push 4
lea eax, [ebp + 0x7c]
push eax
push str.this
call fcn.00446a34
add esp, 0xc
test al, al
jne 0x422459
push 8
lea eax, [ebp + 0x7c]
push eax
push str.2sysinit
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4222f1
push ebx
push dword [ebp + 0x6c]
mov byte [0x4db02f], 1
call fcn.0041292d
push dword [ebp + 0x6c]
call fcn.0044097f
mov edi, eax
push edi
call fcn.00440991
mov ecx, dword [ebp + 0x6c]
add esp, 0x10
push ebx
push ebx
push 5
call fcn.00415f6a
push ebx
push edi
call dword [sym.imp.user32.dll_ShowWindow]
jmp 0x422313
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x4c427c
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42232e
mov dword [ebp + 0x1c], 0x4c426c
mov byte [ebp + 0x37], 1
mov ecx, dword [ebp + 0x6c]
push 0x4c4268
push 0x4c4248
call fcn.0044414b
or byte [ebp + 0x55], 1
jmp 0x422221
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x422470
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c0d94
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42235f
or byte [ebp + 0x51], 1
jmp 0x422221
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c4244
call fcn.00446a34
add esp, 0xc
test al, al
je 0x42237f
or byte [ebp + 0x52], 1
jmp 0x422221
push 5
lea eax, [ebp + 0x7c]
push eax
push str.local
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4223a3
or dword [ebp + 0x54], 0x10
or dword [ebp + 0x24], 0x10
jmp 0x422221
push 8
lea eax, [ebp + 0x7c]
push eax
push str.EnviMode
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4223c7
or dword [ebp + 0x54], 0x20
or dword [ebp + 0x24], 0x20
jmp 0x422221
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c4238
call fcn.00446a34
add esp, 0xc
test al, al
je 0x4223e7
or dword [ebp + 0x54], 0x40
jmp 0x422221
push 5
push dword [ebp + 0x7c]
push str.logs:
call fcn.0043f884
add esp, 0xc
test al, al
je 0x422468
add dword [ebp + 0x7c], 0xa
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x5c], eax
push 1
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp + 0x70], ebx
call fcn.0041a299
add esp, 0xc
cmp dword [ebp + 0x70], ebx
mov dword [ebp + 0x7c], eax
jle 0x42244c
push dword [ebp + 0x70]
lea ecx, [ebp + 0x30]
push dword [ebp + 0x5c]
call fcn.0044df97
mov ecx, dword [ebp + 0x6c]
push 1
push ebx
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x30]
call fcn.004549e1
lea ecx, [ebp + 0x30]
call fcn.0043e48d
lea ecx, [ebp + 0x7c]
call fcn.0040f813
jmp 0x422221
or word [ebp + 0x54], 0x204
or byte [ebp + 0x25], 2
jmp 0x422221
mov eax, dword [ebp + 0x7c]
sub eax, 4
jmp 0x422472
dec eax
dec eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x2a
mov dword [ebp + 0x70], eax
jne 0x422483
inc eax
inc eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x22
jne 0x4224b4
cmp word [eax + 2], 0x2e
jne 0x4224b4
cmp word [eax + 4], 0x22
jne 0x4224b4
lea ecx, [eax + 6]
cmp word [ecx], 0x23
jne 0x4224b4
mov eax, dword [0x4dac7c]
mov dword [ebp + 0x38], eax
mov eax, ecx
sub eax, dword [ebp + 0x70]
sar eax, 1
mov byte [ebp + 0x5b], al
jmp 0x4224b7
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
mov dword [ebp + 0x7c], ecx
je 0x4224da
cmp byte [ebp + 0x53], bl
jne 0x4224da
cmp byte [0x4db02f], bl
jne 0x4224da
mov byte [0x4db02f], 3
mov dword [0x4db030], eax
cmp word [ecx], 0x22
push 5
push ecx
mov esi, str.map:
push esi
sete byte [ebp + 0x5a]
mov dword [ebp + 0x68], ebx
call fcn.0043f884
add esp, 0xc
test al, al
jne 0x42250e
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
jne 0x42250e
add dword [ebp + 0x7c], 2
mov dword [ebp + 0x68], 1
mov edi, dword [ebp + 0x7c]
push 0x21
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x60], ebx
call fcn.0041a299
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x7c]
mov cx, word [eax]
add esp, 0xc
cmp cx, 0x22
mov edx, eax
jne 0x42253d
lea edx, [eax + 2]
cmp word [edx], 0x5c
jne 0x42254e
cmp word [edx + 2], 0x5c
mov byte [ebp + 0x53], 1
jne 0x422551
mov byte [ebp + 0x53], bl
cmp cx, 0x2a
jne 0x422563
inc eax
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x68], 1
lea ecx, [ebp + 0x2c]
call fcn.00444a10
mov eax, dword [ebp + 0x30]
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp + 0x64]
call fcn.0044df97
mov eax, dword [ebp + 0x64]
mov cx, word [eax]
cmp cx, 0x22
jne 0x4225af
push 0x22
pop ecx
cmp cx, 0x22
je 0x42259b
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x42258b
cmp word [eax], bx
je 0x4225b4
inc eax
inc eax
jmp 0x4225b4
cmp cx, 0x2c
je 0x4225b4
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x4225a4
cmp word [eax], 0x2c
jne 0x4225c9
mov word [eax], bx
movzx eax, word [eax + 2]
and eax, 0xffdf
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x6c]
push 1
push ebx
lea eax, [ebp + 0x2c]
push eax
push dword [ebp + 0x64]
call fcn.00455dfb
mov edi, dword [ebp + 0x2c]
cmp word [edi], 0x22
je 0x422649
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp + 0x5c], edi
call fcn.00405a01
mov eax, dword [ebp + 0x5c]
cmp word [eax], bx
pop ecx
je 0x422649
push edi
lea ecx, [ebp + 0x64]
call fcn.0044dfe2
push dword [ebp + 0x64]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edi, eax
lea eax, [edi + 3]
push eax
lea ecx, [ebp + 0x2c]
call fcn.00444a55
mov eax, dword [ebp + 0x2c]
mov word [eax + edi*2 + 4], bx
mov eax, dword [ebp + 0x2c]
push edi
push dword [ebp + 0x64]
add eax, 2
push eax
call fcn.00405988
mov eax, dword [ebp + 0x2c]
mov word [eax + edi*2 + 2], 0x22
mov eax, dword [ebp + 0x2c]
mov word [eax], 0x22
mov edi, dword [ebp + 0x2c]
add esp, 0xc
push 0x20
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], edi
call fcn.0041a299
mov ecx, dword [ebp + 0x6c]
add esp, 0xc
push 1
push ebx
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x30]
call fcn.00455dfb
push dword [ebp + 0x64]
lea ecx, [ebp + 0x2c]
call fcn.00444a7c
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x7c], eax
call fcn.0043e48d
mov edi, dword [ebp + 0x7c]
push 5
push edi
push esi
call fcn.0043f884
add esp, 0xc
test al, al
je 0x4226a5
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x7c], edi
mov esi, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x60]
add eax, eax
lea ecx, [eax + esi]
mov dx, word [ecx]
mov word [ecx], bx
mov dword [ebp + 0x5c], ecx
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
mov dword [ebp + 0x30], esi
mov word [ebp + 0x20], dx
mov dword [ebp - 0x1c], ebx
je 0x422748
mov edx, dword [ebp + 0x7c]
mov word [eax + edx], bx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x7c]
add ecx, 0xa
push eax
mov dword [ebp + 0x7c], ecx
mov dword [ebp - 0x14], ebx
call fcn.004515da
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop ecx
jg 0x4226fa
mov esi, 0x80070057
jmp 0x4231bc
mov edi, dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
push 8
push ebx
push ebx
push 6
push eax
mov dword [ebp + 0x3c], eax
call edi
cmp eax, ebx
jne 0x422718
xor esi, esi
inc esi
jmp 0x4231bc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ebp + 0x40], ecx
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov eax, dword [ebp + 0x40]
cmp eax, ebx
jle 0x422710
add eax, 8
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x3c]
call edi
cmp eax, ebx
mov dword [ebp + 0x28], eax
je 0x422710
add eax, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 4]
call fcn.00444a10
cmp word [esi], 0x2a
mov eax, esi
jne 0x42275b
lea eax, [esi + 2]
push 0x2a
push eax
call dword [sym.imp.shlwapi.dll_StrChrW]
mov edi, eax
cmp edi, ebx
je 0x422815
cmp word [edi + 2], 0x2a
jne 0x422777
xor edi, edi
cmp edi, ebx
je 0x422815
mov eax, edi
sub eax, esi
sar eax, 1
cmp word [esi + eax*2 - 2], 0x22
mov dword [ebp + 0x60], eax
jne 0x422794
dec eax
mov dword [ebp + 0x60], eax
inc edi
inc edi
cmp word [edi], bx
mov esi, edi
je 0x4227be
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.00402d55
test al, al
jne 0x4227ba
cmp cx, 0x22
je 0x4227ba
inc edi
inc edi
cmp word [edi], bx
jne 0x42279d
cmp edi, esi
jne 0x4227c6
xor esi, esi
inc esi
jmp 0x4231b4
cmp byte [ebp + 0x5a], bl
je 0x422894
cmp word [edi], 0x22
jne 0x422894
mov byte [ebp + 0x5a], 1
mov word [edi], 0x20
push esi
lea ecx, [ebp - 4]
call fcn.0044e03e
dec esi
dec esi
cmp byte [ebp + 0x5a], bl
je 0x4227f9
mov word [esi], 0x22
inc esi
inc esi
cmp esi, edi
jae 0x422815
mov ecx, edi
sub ecx, esi
dec ecx
shr ecx, 1
inc ecx
shr ecx, 1
mov eax, 0x200020
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
cmp byte [ebp + 0x5b], bl
mov ax, word [ebp + 0x20]
mov ecx, dword [ebp + 0x5c]
mov word [ecx], ax
mov eax, dword [ebp + 0x70]
jne 0x42282a
mov eax, dword [ebp + 0x30]
movsx edi, byte [ebp + 0x5b]
mov ecx, dword [ebp + 0x60]
lea esi, [edi + ecx]
lea ecx, [esi + 1]
push ecx
add eax, 0xfffffffe
push eax
lea ecx, [ebp - 8]
call fcn.0044df97
mov eax, dword [ebp - 8]
mov word [eax + esi*2 + 2], bx
mov eax, dword [ebp - 8]
lea edi, [eax + edi*2 + 2]
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp + 0x7c], edi
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x20], edi
call fcn.0044df7a
cmp word [edi], 0x22
mov dword [ebp + 0x70], ebx
jne 0x4228b0
lea eax, [edi + 2]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x20], eax
push 0x22
lea eax, [ebp + 0x5c]
call fcn.004a3a6c
mov eax, dword [ebp + 0x5c]
pop ecx
mov cx, word [eax]
cmp cx, 0x22
jne 0x42289c
or dword [ebp + 0x68], 0x10
jmp 0x4228a1
mov byte [ebp + 0x5a], bl
jmp 0x4227e2
cmp cx, bx
je 0x4228a6
mov word [eax], bx
inc eax
inc eax
cmp dword [ebp + 0x68], ebx
je 0x42292a
mov dword [ebp + 0x64], eax
jmp 0x42292a
cmp dword [ebp + 0x68], ebx
je 0x42292a
mov esi, dword [sym.imp.shlwapi.dll_StrRChrW]
push 0x5c
push ebx
push edi
call esi
cmp eax, ebx
jne 0x4228c7
mov eax, edi
push 0x23
push ebx
push eax
call esi
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x422937
mov ecx, eax
jmp 0x4228da
inc ecx
inc ecx
cmp word [ecx], 0x23
je 0x4228d8
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.004aadc6
add esp, 4
cmp al, bl
jne 0x4228fb
mov dword [ebp + 0x64], 0x4bfa2c
jmp 0x42290f
inc ecx
xor eax, eax
inc ecx
mov ax, word [ecx]
push eax
call fcn.004aadc6
add esp, 4
test al, al
jne 0x4228fb
mov cx, word [ecx]
cmp cx, bx
je 0x42292a
cmp cx, 0x7c
je 0x42292a
cmp cx, 0x3a
je 0x42292a
mov dword [ebp + 0x64], 0x4bfa2c
mov eax, dword [ebp + 0x64]
cmp eax, ebx
je 0x422937
cmp word [eax], 0x23
je 0x422941
mov dword [ebp + 0x64], 0x4bfa2c
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x42296d
add eax, 2
cmp word [eax], 0x23
jne 0x42296d
inc dword [ebp + 0x70]
mov dword [ebp + 0x64], eax
add eax, 2
cmp word [eax], 0x23
je 0x42294f
cmp dword [ebp + 0x70], ebx
jle 0x42296d
lea eax, [ebp + 0x18]
push eax
call fcn.00409168
pop ecx
cmp byte [ebp + 0x51], bl
je 0x422b0d
push dword [ebp + 0x7c]
call fcn.0041428f
pop ecx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x7c], eax
call fcn.0044489c
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x38]
push eax
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x38], esi
call fcn.00405a01
mov eax, dword [ebp + 0x38]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x70]
call fcn.0044df97
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x26
je 0x4229e1
mov ecx, dword [ebp + 0x6c]
cmp byte [ecx + 9], bl
jne 0x4229e1
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0044d8c9
pop ecx
pop ecx
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
shl eax, 1
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x48], eax
jmp 0x422a5e
mov edi, 0x4dbd30
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp + 0x6c]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x70]
call fcn.00410c6f
cmp eax, ebx
mov dword [ebp + 0x3c], eax
jne 0x422a22
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp + 0x70]
call fcn.0043e48d
lea ecx, [ebp + 0x44]
call fcn.0043e48d
xor esi, esi
inc esi
jmp 0x4231a4
mov esi, dword [eax + 0x10]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x48], esi
call fcn.004448de
mov eax, dword [ebp + 0x3c]
push esi
push dword [eax + 4]
push dword [ebp + 0x44]
call fcn.004143a0
mov eax, dword [ebp + 0x44]
push 0x10
add esi, eax
push ebx
push esi
call fcn.004acf60
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [0x4d92c0], bl
jge 0x422a6d
mov byte [0x4d92c0], 1
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.0049cbe2
call fcn.00412a49
push ebx
push ebx
push dword [ebp + 0x44]
mov esi, eax
call fcn.00412aa4
push ebx
push dword [ebp + 0x6c]
lea eax, [ebp + 0x44]
push eax
call fcn.00421d61
push ebx
push dword [ebp + 0x44]
movzx edi, si
call fcn.00412a30
inc eax
inc eax
push eax
push edi
push dword [ebp + 0x44]
call fcn.00412aa4
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push edi
call fcn.0041a46b
mov esi, dword [ebp + 0x44]
add esp, 0x48
push 0xffffffffffffffff
push str.mem
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x44], ebx
call fcn.0044dfb0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x6c]
push ebx
shl edi, 0x10
or edi, dword [ebp + 0x54]
push ebx
or edi, 0x40
push edi
push eax
push dword [ebp + 0x18]
push esi
call fcn.0048a415
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x10], eax
call fcn.0043e48d
lea ecx, [ebp + 0x70]
call fcn.0043e48d
lea ecx, [ebp + 0x44]
jmp 0x42312f
cmp dword [ebp + 0x40], ebx
jle 0x422c47
lea ecx, [ebp + 0x44]
call fcn.0044489c
mov esi, dword [ebp + 0x40]
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
call fcn.004448de
push esi
push dword [ebp + 0xc]
mov dword [ebp + 0x4c], esi
push dword [ebp + 0x44]
mov dword [ebp + 0x48], esi
call fcn.004143a0
mov eax, dword [ebp + 0x44]
push 0x14
add eax, esi
push ebx
push eax
call fcn.004acf60
add esp, 0x18
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.0049cbe2
call fcn.00412a49
xor ecx, ecx
mov ch, al
mov dword [ebp + 0x3c], eax
push ebx
mov cl, al
mov esi, ecx
movzx eax, si
push eax
push dword [ebp + 0x44]
mov dword [ebp + 0x38], eax
call fcn.00412aa4
push dword [ebp + 0x38]
lea eax, [ebp + 0x44]
push dword [ebp + 0x6c]
push eax
call fcn.00421d61
push esi
push dword [ebp + 0x44]
call fcn.00412a30
mov edx, dword [ebp + 0x44]
mov ecx, esi
xor ecx, 0xd
mov word [edx + eax*2], cx
mov edx, dword [ebp + 0x44]
inc eax
mov ecx, esi
xor ecx, 0xa
mov word [edx + eax*2], cx
mov edx, dword [ebp + 0x44]
inc eax
lea ecx, [eax + 4]
mov word [edx + ecx*2], si
mov edx, dword [ebp + 0x44]
mov word [edx + eax*2 + 6], si
mov edx, dword [ebp + 0x44]
mov word [edx + eax*2 + 4], si
mov edx, dword [ebp + 0x44]
add eax, eax
mov word [eax + edx + 2], si
mov edx, dword [ebp + 0x44]
mov word [eax + edx], si
movzx esi, word [ebp + 0x3c]
mov eax, esi
xor eax, dword [ebp + 0x38]
push ecx
push eax
push dword [ebp + 0x44]
call fcn.00412aa4
add esp, 0x34
cmp byte [0x4d92c0], bl
jge 0x422c0c
mov byte [0x4d92c0], 1
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push esi
call fcn.0041a46b
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x6c]
add esp, 0x14
push ebx
shl esi, 0x10
or esi, dword [ebp + 0x54]
push ebx
or esi, 0x40
push esi
push edi
push dword [ebp + 0x18]
mov dword [ebp + 0x44], ebx
push eax
call fcn.0048a415
mov dword [ebp + 0x10], eax
jmp 0x422b05
cmp byte [ebp + 0x53], bl
je 0x422d59
push dword [ebp + 0x18]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
call edi
push dword [ebp + 0x7c]
mov esi, eax
call edi
lea eax, [eax + esi + 0x92a]
push eax
lea ecx, [ebp + 0x38]
call fcn.00444a2e
mov edi, dword [ebp + 0x38]
mov dword [ebp + 0x40], edi
add edi, 0xbca
push edi
push 0x324
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
mov ecx, dword [ebp + 0x18]
mov ax, word [ecx]
lea esi, [edi + 0x64a]
mov word [esi], ax
xor eax, eax
cmp word [ecx], 0x22
sete al
add eax, eax
lea ecx, [eax + ecx + 2]
add eax, esi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x22
mov dword [ebp + 0x20], ecx
jne 0x422cbd
add dword [ebp + 0x7c], 2
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x5c
jne 0x422cca
add dword [ebp + 0x7c], 2
mov ecx, 0x5dc
xor eax, eax
sub ecx, dword [ebp + 0x60]
mov dword [ebp + 0x3c], ecx
jmp 0x422d47
mov cx, word [edi]
cmp cx, word [ebp + 0x1c]
jb 0x422d3c
cmp eax, dword [ebp + 0x3c]
jge 0x422d3c
push dword [ebp + 0x7c]
push edi
push str._s_s
push dword [ebp + 0x40]
call dword [sym.imp.user32.dll_wsprintfW]
push dword [ebp + 0x40]
call fcn.004ac751
add esp, 0x14
test eax, eax
je 0x422d3c
push dword [ebp + 0x20]
push edi
push str._s_s
push dword [ebp + 0x5c]
call dword [sym.imp.user32.dll_wsprintfW]
mov eax, dword [ebp + 0x54]
or eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x6c]
add esp, 0x10
push dword [ebp + 0x14]
push ebx
push eax
push esi
push dword [ebp + 0x40]
call fcn.00421f0f
cmp byte [ebp + 0x52], bl
mov dword [ebp + 0x10], eax
je 0x422d4c
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x422cd9
lea ecx, [ebp + 0x38]
call fcn.0043e48d
jmp 0x423160
mov ecx, dword [ebp + 0x64]
mov ax, word [ecx]
cmp ax, bx
je 0x423136
cmp ax, 0x23
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x70], str.SCRIPT
mov edi, ecx
jne 0x422d94
xor eax, eax
lea edx, [ecx + 2]
mov ax, word [edx]
push eax
call fcn.004aadc6
add esp, 4
test al, al
jne 0x422d94
mov ecx, edx
mov dword [ebp + 0x64], ecx
xor edx, edx
xor eax, eax
mov ax, word [ecx]
mov dword [ebp + 0x68], edx
mov esi, ecx
jmp 0x422db3
cmp ax, 0x3a
je 0x422de5
cmp ax, 0x7c
je 0x422dba
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
jne 0x422da2
jmp 0x422def
lea eax, [esi + 2]
cmp word [eax], bx
je 0x422def
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00440edc
mov eax, dword [ebp + 0x5c]
mov ax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x422dec
cmp ax, 0x7c
je 0x422dec
mov edx, esi
mov dword [ebp + 0x68], edx
jmp 0x422def
mov edx, dword [ebp + 0x68]
cmp edx, ebx
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xc], ebx
je 0x422e2c
mov ax, word [edx]
mov word [edx], bx
mov edi, dword [ebp + 0x68]
inc edi
inc edi
mov dword [ebp + 0x68], edi
cmp word [edi], 0x7c
mov word [ebp - 0xc], ax
je 0x422e16
mov eax, edi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
mov ax, word [eax]
cmp ax, 0x22
je 0x422e28
cmp ax, 0x27
jne 0x422e2c
add dword [ebp + 0x70], 2
push 0x7c
push edi
call dword [sym.imp.shlwapi.dll_StrChrW]
cmp eax, ebx
mov dword [ebp + 0x68], eax
jne 0x422e45
mov dword [ebp + 0x68], 0x4bfa2c
jmp 0x422e56
mov cx, word [eax]
mov word [eax], bx
add dword [ebp + 0x68], 2
mov dword [ebp + 0xc], eax
mov word [ebp - 0xc], cx
mov eax, dword [ebp + 0x70]
jmp 0x422e6c
mov cx, word [eax]
cmp cx, 0x22
je 0x422e73
cmp cx, 0x27
je 0x422e73
inc eax
inc eax
cmp word [eax], bx
jne 0x422e5b
jmp 0x422e76
mov word [eax], bx
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x40], 0x7fffffff
cmp word [eax], bx
je 0x422e9a
push 0x7c
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.00447af3
add esp, 0xc
mov eax, dword [ebp + 0x68]
cmp word [eax], 0x2c
jne 0x422eb2
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.00440edc
pop ecx
pop ecx
cmp dword [ebp + 0x40], ebx
jle 0x422f91
cmp dword [ebp + 0x30], ebx
jl 0x422f91
mov eax, dword [ebp + 0x60]
mov di, word [eax]
mov esi, dword [ebp + 0x38]
mov word [eax], bx
mov eax, dword [ebp + 0x20]
cmp word [eax], bx
mov dword [ebp + 0x1c], ebx
je 0x422ef2
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x1c], esi
je 0x422a1a
mov eax, dword [ebp + 0x60]
mov word [eax], di
call fcn.00412a49
xor ecx, ecx
mov ch, al
mov dword [ebp - 0x18], eax
mov cl, al
movzx edi, cx
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x3c], edi
shl edi, 0x10
lea ecx, [ebp]
mov dword [ebp + 0x60], edi
call fcn.0044489c
push dword [ebp + 0x64]
lea ecx, [ebp + 0x20]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.0044df7a
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x20]
push esi
call fcn.00415338
add esp, 0x14
lea ecx, [ebp + 0x20]
call fcn.0043e48d
or dword [ebp + 0x60], edi
cmp dword [ebp + 0xc], ebx
je 0x422f5f
mov ax, word [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
cmp dword [ebp + 0x1c], ebx
je 0x422f6d
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x30]
sub ecx, edx
jns 0x422f79
xor ecx, ecx
mov eax, dword [ebp + 0x40]
cmp eax, ecx
jle 0x422f85
mov eax, ecx
mov dword [ebp + 0x40], eax
cmp eax, ebx
jg 0x422f9b
lea ecx, [ebp]
call fcn.0043e48d
mov esi, 0x80070057
jmp 0x4231a4
cmp edx, ebx
mov esi, dword [ebp]
je 0x422fb3
push eax
lea eax, [esi + edx]
push eax
push esi
call fcn.00414356
mov eax, dword [ebp + 0x40]
add esp, 0xc
movzx ecx, byte [ebp + 0x5c]
push 0xc
push ecx
add esi, eax
push esi
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.004acf60
mov eax, dword [ebp + 0x60]
or eax, 1
push eax
lea eax, [ebp]
push eax
call fcn.0049cbe2
add esp, 0x14
push ebx
push dword [ebp + 0x6c]
lea ecx, [ebp - 0xb8]
call fcn.00414cf5
mov ax, word [ebp + 0x5c]
push dword [ebp + 0x3c]
lea ecx, [ebp - 0xb8]
mov word [ebp - 0x8c], ax
call fcn.00443243
push dword [ebp + 0x60]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp]
push eax
call fcn.00421d61
or dword [ebp + 0x60], eax
mov eax, dword [ebp + 4]
movzx esi, word [ebp - 0x18]
shr eax, 1
inc eax
inc eax
push eax
mov eax, esi
xor eax, dword [ebp + 0x3c]
push eax
push dword [ebp]
call fcn.00412aa4
movzx eax, word [ebp + 0x60]
mov edi, esi
shl edi, 0x10
add esp, 0x18
or edi, eax
cmp byte [0x4d92c0], bl
jge 0x423050
mov byte [0x4d92c0], 1
mov eax, dword [ebp]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 4]
cmp word [eax], bx
je 0x423072
push dword [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.00421e47
add esp, 0x10
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x14]
cmp word [eax], bx
je 0x423097
mov ecx, dword [ebp + 0x70]
sub ecx, dword [ebp]
sar ecx, 1
push ecx
push dword [ebp + 0x24]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.0041a46b
add esp, 0x14
mov dword [ebp + 0x70], eax
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00435d0b
lea ecx, [ebp - 0x78]
call fcn.0043e48d
cmp byte [ebp + 0x5b], bl
mov dword [ebp + 0x28], ebx
je 0x4230fd
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 0x109
push eax
lea ecx, [ebp + 0x28]
call fcn.00444a55
mov eax, dword [ebp + 0x28]
mov word [eax], 0x2a
mov eax, dword [ebp + 0x28]
push 0x104
add eax, 2
push eax
push dword [ebp + 0x38]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov eax, dword [ebp + 0x28]
push dword [ebp + 0x7c]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp]
cmp eax, ebx
mov dword [ebp], ebx
je 0x423124
or edi, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x6c]
push ebx
push dword [ebp + 0x70]
or edi, 0x40
push edi
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push eax
call fcn.0048a415
mov dword [ebp + 0x10], eax
lea ecx, [ebp + 0x28]
call fcn.0043e48d
lea ecx, [ebp]
call fcn.0043e48d
jmp 0x423160
push dword [ebp + 0x7c]
call fcn.0041428f
pop ecx
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x6c]
push dword [ebp - 4]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x54]
or eax, dword [ebp + 0x24]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x7c]
call fcn.00421f0f
mov dword [ebp + 0x10], eax
cmp byte [0x4db02f], 3
jne 0x423172
push dword [ebp + 0x6c]
call fcn.0041a651
pop ecx
cmp byte [ebp + 0x37], 1
jne 0x423198
push dword [ebp + 0x6c]
or byte [0x4db02f], 1
call fcn.00412b21
mov dword [esp], str.sysinit_end
push dword [ebp + 0x6c]
call fcn.0041a5cd
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ebx
call fcn.0046d51e
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0043e48d
lea ecx, [ebp - 8]
call fcn.0043e48d
lea ecx, [ebp - 4]
call fcn.0043e48d
lea ecx, [ebp - 0x1c]
call fcn.0043e48d
lea ecx, [ebp + 0x2c]
call fcn.0043e48d
lea ecx, [ebp + 0x14]
call fcn.0043e48d
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4