Function at 0x4223de
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.0040fa1e
mov eax, dword [0x4dcfa8]
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.00444f6c
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c6340
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0x37], bl
call fcn.00446fac
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 0x422450
mov esi, edi
push 8
lea eax, [ebp + 0x7c]
push eax
push str.sysinit
call fcn.00446fac
add esp, 0xc
test al, al
je 0x42247d
mov eax, dword [ebp + 0x7c]
cmp word [eax], di
push 0x2a
pop esi
jne 0x422564
mov esi, edi
jmp 0x422564
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x4226d1
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c5408
call fcn.00446fac
add esp, 0xc
test al, al
je 0x4224ab
or dword [ebp + 0x54], 8
jmp 0x42247d
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x4c2892
call fcn.00446fac
add esp, 0xc
test al, al
je 0x4224c7
or dword [ebp + 0x54], 4
jmp 0x42247d
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c6330
call fcn.00446fac
add esp, 0xc
test al, al
jne 0x4226b5
push 4
lea eax, [ebp + 0x7c]
push eax
push 0x4c6328
call fcn.00446fac
add esp, 0xc
test al, al
jne 0x4226b5
push 8
lea eax, [ebp + 0x7c]
push eax
push str.2sysinit
call fcn.00446fac
add esp, 0xc
test al, al
je 0x42254d
push ebx
push dword [ebp + 0x6c]
mov byte [0x4dd03f], 1
call fcn.00412b52
push dword [ebp + 0x6c]
call fcn.00440d74
mov edi, eax
push edi
call fcn.00440d86
mov ecx, dword [ebp + 0x6c]
add esp, 0x10
push ebx
push ebx
push 5
call fcn.004161d8
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42256f
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x4c6314
call fcn.00446fac
add esp, 0xc
test al, al
je 0x42258a
mov dword [ebp + 0x1c], 0x4c6304
mov byte [ebp + 0x37], 1
mov ecx, dword [ebp + 0x6c]
push 0x4c6300
push 0x4c62e0
call fcn.00444692
or byte [ebp + 0x55], 1
jmp 0x42247d
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x4226cc
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c2e1c
call fcn.00446fac
add esp, 0xc
test al, al
je 0x4225bb
or byte [ebp + 0x51], 1
jmp 0x42247d
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c62dc
call fcn.00446fac
add esp, 0xc
test al, al
je 0x4225db
or byte [ebp + 0x52], 1
jmp 0x42247d
push 5
lea eax, [ebp + 0x7c]
push eax
push str.local
call fcn.00446fac
add esp, 0xc
test al, al
je 0x4225ff
or dword [ebp + 0x54], 0x10
or dword [ebp + 0x24], 0x10
jmp 0x42247d
push 8
lea eax, [ebp + 0x7c]
push eax
push str.EnviMode
call fcn.00446fac
add esp, 0xc
test al, al
je 0x422623
or dword [ebp + 0x54], 0x20
or dword [ebp + 0x24], 0x20
jmp 0x42247d
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c62d0
call fcn.00446fac
add esp, 0xc
test al, al
je 0x422643
or dword [ebp + 0x54], 0x40
jmp 0x42247d
push 5
push dword [ebp + 0x7c]
push str.logs:
call fcn.0043fc19
add esp, 0xc
test al, al
je 0x4226c4
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.0041a4ff
add esp, 0xc
cmp dword [ebp + 0x70], ebx
mov dword [ebp + 0x7c], eax
jle 0x4226a8
push dword [ebp + 0x70]
lea ecx, [ebp + 0x30]
push dword [ebp + 0x5c]
call fcn.0044e844
mov ecx, dword [ebp + 0x6c]
push 1
push ebx
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x30]
call fcn.004553cd
lea ecx, [ebp + 0x30]
call fcn.0043e825
lea ecx, [ebp + 0x7c]
call fcn.0040fa1e
jmp 0x42247d
or word [ebp + 0x54], 0x204
or byte [ebp + 0x25], 2
jmp 0x42247d
mov eax, dword [ebp + 0x7c]
sub eax, 4
jmp 0x4226ce
dec eax
dec eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x2a
mov dword [ebp + 0x70], eax
jne 0x4226df
inc eax
inc eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x22
jne 0x422710
cmp word [eax + 2], 0x2e
jne 0x422710
cmp word [eax + 4], 0x22
jne 0x422710
lea ecx, [eax + 6]
cmp word [ecx], 0x23
jne 0x422710
mov eax, dword [0x4dcc88]
mov dword [ebp + 0x38], eax
mov eax, ecx
sub eax, dword [ebp + 0x70]
sar eax, 1
mov byte [ebp + 0x5b], al
jmp 0x422713
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
mov dword [ebp + 0x7c], ecx
je 0x422736
cmp byte [ebp + 0x53], bl
jne 0x422736
cmp byte [0x4dd03f], bl
jne 0x422736
mov byte [0x4dd03f], 3
mov dword [0x4dd040], 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.0043fc19
add esp, 0xc
test al, al
jne 0x42276a
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
jne 0x42276a
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.0041a4ff
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x7c]
mov cx, word [eax]
add esp, 0xc
cmp cx, 0x22
mov edx, eax
jne 0x422799
lea edx, [eax + 2]
cmp word [edx], 0x5c
jne 0x4227aa
cmp word [edx + 2], 0x5c
mov byte [ebp + 0x53], 1
jne 0x4227ad
mov byte [ebp + 0x53], bl
cmp cx, 0x2a
jne 0x4227bf
inc eax
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x68], 1
lea ecx, [ebp + 0x2c]
call fcn.00444f6c
mov eax, dword [ebp + 0x30]
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp + 0x64]
call fcn.0044e844
mov eax, dword [ebp + 0x64]
mov cx, word [eax]
cmp cx, 0x22
jne 0x42280b
push 0x22
pop ecx
cmp cx, 0x22
je 0x4227f7
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x4227e7
cmp word [eax], bx
je 0x422810
inc eax
inc eax
jmp 0x422810
cmp cx, 0x2c
je 0x422810
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x422800
cmp word [eax], 0x2c
jne 0x422825
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.004567e7
mov edi, dword [ebp + 0x2c]
cmp word [edi], 0x22
je 0x4228a5
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp + 0x5c], edi
call fcn.00405b76
mov eax, dword [ebp + 0x5c]
cmp word [eax], bx
pop ecx
je 0x4228a5
push edi
lea ecx, [ebp + 0x64]
call fcn.0044e88f
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.00444fb1
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.00405b5e
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.0041a4ff
mov ecx, dword [ebp + 0x6c]
add esp, 0xc
push 1
push ebx
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x30]
call fcn.004567e7
push dword [ebp + 0x64]
lea ecx, [ebp + 0x2c]
call fcn.00444fd8
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x7c], eax
call fcn.0043e825
mov edi, dword [ebp + 0x7c]
push 5
push edi
push esi
call fcn.0043fc19
add esp, 0xc
test al, al
je 0x422901
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 0x4229a4
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.00451e7f
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop ecx
jg 0x422956
mov esi, 0x80070057
jmp 0x423418
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 0x422974
xor esi, esi
inc esi
jmp 0x423418
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 0x42296c
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 0x42296c
add eax, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 4]
call fcn.00444f6c
cmp word [esi], 0x2a
mov eax, esi
jne 0x4229b7
lea eax, [esi + 2]
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, ebx
je 0x422a71
cmp word [edi + 2], 0x2a
jne 0x4229d3
xor edi, edi
cmp edi, ebx
je 0x422a71
mov eax, edi
sub eax, esi
sar eax, 1
cmp word [esi + eax*2 - 2], 0x22
mov dword [ebp + 0x60], eax
jne 0x4229f0
dec eax
mov dword [ebp + 0x60], eax
inc edi
inc edi
cmp word [edi], bx
mov esi, edi
je 0x422a1a
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.0043e785
test al, al
jne 0x422a16
cmp cx, 0x22
je 0x422a16
inc edi
inc edi
cmp word [edi], bx
jne 0x4229f9
cmp edi, esi
jne 0x422a22
xor esi, esi
inc esi
jmp 0x423410
cmp byte [ebp + 0x5a], bl
je 0x422af0
cmp word [edi], 0x22
jne 0x422af0
mov byte [ebp + 0x5a], 1
mov word [edi], 0x20
push esi
lea ecx, [ebp - 4]
call fcn.0044e8eb
dec esi
dec esi
cmp byte [ebp + 0x5a], bl
je 0x422a55
mov word [esi], 0x22
inc esi
inc esi
cmp esi, edi
jae 0x422a71
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 0x422a86
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.0044e844
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.0044e827
cmp word [edi], 0x22
mov dword [ebp + 0x70], ebx
jne 0x422b0c
lea eax, [edi + 2]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x20], eax
push 0x22
lea eax, [ebp + 0x5c]
call fcn.00405bbb
mov eax, dword [ebp + 0x5c]
pop ecx
mov cx, word [eax]
cmp cx, 0x22
jne 0x422af8
or dword [ebp + 0x68], 0x10
jmp 0x422afd
mov byte [ebp + 0x5a], bl
jmp 0x422a3e
cmp cx, bx
je 0x422b02
mov word [eax], bx
inc eax
inc eax
cmp dword [ebp + 0x68], ebx
je 0x422b86
mov dword [ebp + 0x64], eax
jmp 0x422b86
cmp dword [ebp + 0x68], ebx
je 0x422b86
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
push edi
call esi
cmp eax, ebx
jne 0x422b23
mov eax, edi
push 0x23
push ebx
push eax
call esi
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x422b93
mov ecx, eax
jmp 0x422b36
inc ecx
inc ecx
cmp word [ecx], 0x23
je 0x422b34
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.00414a48
add esp, 4
cmp al, bl
jne 0x422b57
mov dword [ebp + 0x64], 0x4c1a3c
jmp 0x422b6b
inc ecx
xor eax, eax
inc ecx
mov ax, word [ecx]
push eax
call fcn.00414a48
add esp, 4
test al, al
jne 0x422b57
mov cx, word [ecx]
cmp cx, bx
je 0x422b86
cmp cx, 0x7c
je 0x422b86
cmp cx, 0x3a
je 0x422b86
mov dword [ebp + 0x64], 0x4c1a3c
mov eax, dword [ebp + 0x64]
cmp eax, ebx
je 0x422b93
cmp word [eax], 0x23
je 0x422b9d
mov dword [ebp + 0x64], 0x4c1a3c
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x422bc9
add eax, 2
cmp word [eax], 0x23
jne 0x422bc9
inc dword [ebp + 0x70]
mov dword [ebp + 0x64], eax
add eax, 2
cmp word [eax], 0x23
je 0x422bab
cmp dword [ebp + 0x70], ebx
jle 0x422bc9
lea eax, [ebp + 0x18]
push eax
call fcn.00409344
pop ecx
cmp byte [ebp + 0x51], bl
je 0x422d69
push dword [ebp + 0x7c]
call fcn.004144b4
pop ecx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x7c], eax
call fcn.00444df8
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.00405b76
mov eax, dword [ebp + 0x38]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x70]
call fcn.0044e844
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x26
je 0x422c3d
mov ecx, dword [ebp + 0x6c]
cmp byte [ecx + 9], bl
jne 0x422c3d
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0044e158
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 0x422cba
mov edi, 0x4ddd50
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.00410e94
cmp eax, ebx
mov dword [ebp + 0x3c], eax
jne 0x422c7e
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x70]
call fcn.0043e825
lea ecx, [ebp + 0x44]
call fcn.0043e825
xor esi, esi
inc esi
jmp 0x423400
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.00444e3a
mov eax, dword [ebp + 0x3c]
push esi
push dword [eax + 4]
push dword [ebp + 0x44]
call fcn.004145c5
mov eax, dword [ebp + 0x44]
push 0x10
add esi, eax
push ebx
push esi
call fcn.004ae820
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x4db2c0], bl
jge 0x422cc9
mov byte [0x4db2c0], 1
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.0049e4d8
call fcn.00412c6e
push ebx
push ebx
push dword [ebp + 0x44]
mov esi, eax
call fcn.00412cc9
push ebx
push dword [ebp + 0x6c]
lea eax, [ebp + 0x44]
push eax
call fcn.00421fbd
push ebx
push dword [ebp + 0x44]
movzx edi, si
call fcn.00412c55
inc eax
inc eax
push eax
push edi
push dword [ebp + 0x44]
call fcn.00412cc9
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push edi
call fcn.0041a6d1
mov esi, dword [ebp + 0x44]
add esp, 0x48
push 0xffffffffffffffff
push str.mem
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x44], ebx
call fcn.0044e85d
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.0048bb41
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x10], eax
call fcn.0043e825
lea ecx, [ebp + 0x70]
call fcn.0043e825
lea ecx, [ebp + 0x44]
jmp 0x42338b
cmp dword [ebp + 0x40], ebx
jle 0x422ea3
lea ecx, [ebp + 0x44]
call fcn.00444df8
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.00444e3a
push esi
push dword [ebp + 0xc]
mov dword [ebp + 0x4c], esi
push dword [ebp + 0x44]
mov dword [ebp + 0x48], esi
call fcn.004145c5
mov eax, dword [ebp + 0x44]
push 0x14
add eax, esi
push ebx
push eax
call fcn.004ae820
add esp, 0x18
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.0049e4d8
call fcn.00412c6e
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.00412cc9
push dword [ebp + 0x38]
lea eax, [ebp + 0x44]
push dword [ebp + 0x6c]
push eax
call fcn.00421fbd
push esi
push dword [ebp + 0x44]
call fcn.00412c55
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.00412cc9
add esp, 0x34
cmp byte [0x4db2c0], bl
jge 0x422e68
mov byte [0x4db2c0], 1
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push esi
call fcn.0041a6d1
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.0048bb41
mov dword [ebp + 0x10], eax
jmp 0x422d61
cmp byte [ebp + 0x53], bl
je 0x422fb5
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.00444f8a
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 0x422f19
add dword [ebp + 0x7c], 2
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x5c
jne 0x422f26
add dword [ebp + 0x7c], 2
mov ecx, 0x5dc
xor eax, eax
sub ecx, dword [ebp + 0x60]
mov dword [ebp + 0x3c], ecx
jmp 0x422fa3
mov cx, word [edi]
cmp cx, word [ebp + 0x1c]
jb 0x422f98
cmp eax, dword [ebp + 0x3c]
jge 0x422f98
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.004ae00b
add esp, 0x14
test eax, eax
je 0x422f98
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.0042216b
cmp byte [ebp + 0x52], bl
mov dword [ebp + 0x10], eax
je 0x422fa8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x422f35
lea ecx, [ebp + 0x38]
call fcn.0043e825
jmp 0x4233bc
mov ecx, dword [ebp + 0x64]
mov ax, word [ecx]
cmp ax, bx
je 0x423392
cmp ax, 0x23
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x70], str.SCRIPT
mov edi, ecx
jne 0x422ff0
xor eax, eax
lea edx, [ecx + 2]
mov ax, word [edx]
push eax
call fcn.00414a48
add esp, 4
test al, al
jne 0x422ff0
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 0x42300f
cmp ax, 0x3a
je 0x423041
cmp ax, 0x7c
je 0x423016
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
jne 0x422ffe
jmp 0x42304b
lea eax, [esi + 2]
cmp word [eax], bx
je 0x42304b
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.004412d1
mov eax, dword [ebp + 0x5c]
mov ax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x423048
cmp ax, 0x7c
je 0x423048
mov edx, esi
mov dword [ebp + 0x68], edx
jmp 0x42304b
mov edx, dword [ebp + 0x68]
cmp edx, ebx
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xc], ebx
je 0x423088
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 0x423072
mov eax, edi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
mov ax, word [eax]
cmp ax, 0x22
je 0x423084
cmp ax, 0x27
jne 0x423088
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 0x4230a1
mov dword [ebp + 0x68], 0x4c1a3c
jmp 0x4230b2
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 0x4230c8
mov cx, word [eax]
cmp cx, 0x22
je 0x4230cf
cmp cx, 0x27
je 0x4230cf
inc eax
inc eax
cmp word [eax], bx
jne 0x4230b7
jmp 0x4230d2
mov word [eax], bx
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x40], 0x7fffffff
cmp word [eax], bx
je 0x4230f6
push 0x7c
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004480d1
add esp, 0xc
mov eax, dword [ebp + 0x68]
cmp word [eax], 0x2c
jne 0x42310e
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004412d1
pop ecx
pop ecx
cmp dword [ebp + 0x40], ebx
jle 0x4231ed
cmp dword [ebp + 0x30], ebx
jl 0x4231ed
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 0x42314e
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 0x422c76
mov eax, dword [ebp + 0x60]
mov word [eax], di
call fcn.00412c6e
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.00444df8
push dword [ebp + 0x64]
lea ecx, [ebp + 0x20]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.0044e827
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x20]
push esi
call fcn.004155b1
add esp, 0x14
lea ecx, [ebp + 0x20]
call fcn.0043e825
or dword [ebp + 0x60], edi
cmp dword [ebp + 0xc], ebx
je 0x4231bb
mov ax, word [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
cmp dword [ebp + 0x1c], ebx
je 0x4231c9
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 0x4231d5
xor ecx, ecx
mov eax, dword [ebp + 0x40]
cmp eax, ecx
jle 0x4231e1
mov eax, ecx
mov dword [ebp + 0x40], eax
cmp eax, ebx
jg 0x4231f7
lea ecx, [ebp]
call fcn.0043e825
mov esi, 0x80070057
jmp 0x423400
cmp edx, ebx
mov esi, dword [ebp]
je 0x42320f
push eax
lea eax, [esi + edx]
push eax
push esi
call fcn.0041457b
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.004ae820
mov eax, dword [ebp + 0x60]
or eax, 1
push eax
lea eax, [ebp]
push eax
call fcn.0049e4d8
add esp, 0x14
push ebx
push dword [ebp + 0x6c]
lea ecx, [ebp - 0xb8]
call fcn.00414f51
mov ax, word [ebp + 0x5c]
push dword [ebp + 0x3c]
lea ecx, [ebp - 0xb8]
mov word [ebp - 0x8c], ax
call fcn.00443601
push dword [ebp + 0x60]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp]
push eax
call fcn.00421fbd
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.00412cc9
movzx eax, word [ebp + 0x60]
mov edi, esi
shl edi, 0x10
add esp, 0x18
or edi, eax
cmp byte [0x4db2c0], bl
jge 0x4232ac
mov byte [0x4db2c0], 1
mov eax, dword [ebp]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 4]
cmp word [eax], bx
je 0x4232ce
push dword [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.004220a3
add esp, 0x10
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x14]
cmp word [eax], bx
je 0x4232f3
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.0041a6d1
add esp, 0x14
mov dword [ebp + 0x70], eax
push ebx
lea ecx, [ebp - 0xb8]
call fcn.004360a8
lea ecx, [ebp - 0x78]
call fcn.0043e825
cmp byte [ebp + 0x5b], bl
mov dword [ebp + 0x28], ebx
je 0x423359
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x109
push eax
lea ecx, [ebp + 0x28]
call fcn.00444fb1
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 0x423380
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.0048bb41
mov dword [ebp + 0x10], eax
lea ecx, [ebp + 0x28]
call fcn.0043e825
lea ecx, [ebp]
call fcn.0043e825
jmp 0x4233bc
push dword [ebp + 0x7c]
call fcn.004144b4
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.0042216b
mov dword [ebp + 0x10], eax
cmp byte [0x4dd03f], 3
jne 0x4233ce
push dword [ebp + 0x6c]
call fcn.0041a8b7
pop ecx
cmp byte [ebp + 0x37], 1
jne 0x4233f4
push dword [ebp + 0x6c]
or byte [0x4dd03f], 1
call fcn.00412d46
mov dword [esp], str.sysinit_end
push dword [ebp + 0x6c]
call fcn.0041a833
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ebx
call fcn.0046ea3b
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0043e825
lea ecx, [ebp - 8]
call fcn.0043e825
lea ecx, [ebp - 4]
call fcn.0043e825
lea ecx, [ebp - 0x1c]
call fcn.0043e825
lea ecx, [ebp + 0x2c]
call fcn.0043e825
lea ecx, [ebp + 0x14]
call fcn.0043e825
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4