Function at 0x4221d9
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.0040f904
mov eax, dword [0x4dbfb0]
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.00444e32
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c5328
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0x37], bl
call fcn.00446de5
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 0x42224b
mov esi, edi
push 8
lea eax, [ebp + 0x7c]
push eax
push str.sysinit
call fcn.00446de5
add esp, 0xc
test al, al
je 0x422278
mov eax, dword [ebp + 0x7c]
cmp word [eax], di
push 0x2a
pop esi
jne 0x42235f
mov esi, edi
jmp 0x42235f
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x4224cc
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c43f0
call fcn.00446de5
add esp, 0xc
test al, al
je 0x4222a6
or dword [ebp + 0x54], 8
jmp 0x422278
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x4c1872
call fcn.00446de5
add esp, 0xc
test al, al
je 0x4222c2
or dword [ebp + 0x54], 4
jmp 0x422278
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c5318
call fcn.00446de5
add esp, 0xc
test al, al
jne 0x4224b0
push 4
lea eax, [ebp + 0x7c]
push eax
push 0x4c5310
call fcn.00446de5
add esp, 0xc
test al, al
jne 0x4224b0
push 8
lea eax, [ebp + 0x7c]
push eax
push str.2sysinit
call fcn.00446de5
add esp, 0xc
test al, al
je 0x422348
push ebx
push dword [ebp + 0x6c]
mov byte [0x4dc047], 1
call fcn.00412996
push dword [ebp + 0x6c]
call fcn.00440c1f
mov edi, eax
push edi
call fcn.00440c31
mov ecx, dword [ebp + 0x6c]
add esp, 0x10
push ebx
push ebx
push 5
call fcn.00415ff0
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42236a
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x4c52fc
call fcn.00446de5
add esp, 0xc
test al, al
je 0x422385
mov dword [ebp + 0x1c], 0x4c52ec
mov byte [ebp + 0x37], 1
mov ecx, dword [ebp + 0x6c]
push 0x4c52e8
push 0x4c52c8
call fcn.0044451e
or byte [ebp + 0x55], 1
jmp 0x422278
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x4224c7
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c1dfc
call fcn.00446de5
add esp, 0xc
test al, al
je 0x4223b6
or byte [ebp + 0x51], 1
jmp 0x422278
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c52c4
call fcn.00446de5
add esp, 0xc
test al, al
je 0x4223d6
or byte [ebp + 0x52], 1
jmp 0x422278
push 5
lea eax, [ebp + 0x7c]
push eax
push 0x4c52bc
call fcn.00446de5
add esp, 0xc
test al, al
je 0x4223fa
or dword [ebp + 0x54], 0x10
or dword [ebp + 0x24], 0x10
jmp 0x422278
push 8
lea eax, [ebp + 0x7c]
push eax
push str.EnviMode
call fcn.00446de5
add esp, 0xc
test al, al
je 0x42241e
or dword [ebp + 0x54], 0x20
or dword [ebp + 0x24], 0x20
jmp 0x422278
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c52b8
call fcn.00446de5
add esp, 0xc
test al, al
je 0x42243e
or dword [ebp + 0x54], 0x40
jmp 0x422278
push 5
push dword [ebp + 0x7c]
push str.logs:
call fcn.0043fac4
add esp, 0xc
test al, al
je 0x4224bf
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.0041a317
add esp, 0xc
cmp dword [ebp + 0x70], ebx
mov dword [ebp + 0x7c], eax
jle 0x4224a3
push dword [ebp + 0x70]
lea ecx, [ebp + 0x30]
push dword [ebp + 0x5c]
call fcn.0044e68a
mov ecx, dword [ebp + 0x6c]
push 1
push ebx
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x30]
call fcn.0045522d
lea ecx, [ebp + 0x30]
call fcn.0043e679
lea ecx, [ebp + 0x7c]
call fcn.0040f904
jmp 0x422278
or word [ebp + 0x54], 0x204
or byte [ebp + 0x25], 2
jmp 0x422278
mov eax, dword [ebp + 0x7c]
sub eax, 4
jmp 0x4224c9
dec eax
dec eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x2a
mov dword [ebp + 0x70], eax
jne 0x4224da
inc eax
inc eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x22
jne 0x42250b
cmp word [eax + 2], 0x2e
jne 0x42250b
cmp word [eax + 4], 0x22
jne 0x42250b
lea ecx, [eax + 6]
cmp word [ecx], 0x23
jne 0x42250b
mov eax, dword [0x4dbc90]
mov dword [ebp + 0x38], eax
mov eax, ecx
sub eax, dword [ebp + 0x70]
sar eax, 1
mov byte [ebp + 0x5b], al
jmp 0x42250e
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
mov dword [ebp + 0x7c], ecx
je 0x422531
cmp byte [ebp + 0x53], bl
jne 0x422531
cmp byte [0x4dc047], bl
jne 0x422531
mov byte [0x4dc047], 3
mov dword [0x4dc048], 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.0043fac4
add esp, 0xc
test al, al
jne 0x422565
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
jne 0x422565
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.0041a317
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x7c]
mov cx, word [eax]
add esp, 0xc
cmp cx, 0x22
mov edx, eax
jne 0x422594
lea edx, [eax + 2]
cmp word [edx], 0x5c
jne 0x4225a5
cmp word [edx + 2], 0x5c
mov byte [ebp + 0x53], 1
jne 0x4225a8
mov byte [ebp + 0x53], bl
cmp cx, 0x2a
jne 0x4225ba
inc eax
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x68], 1
lea ecx, [ebp + 0x2c]
call fcn.00444e32
mov eax, dword [ebp + 0x30]
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp + 0x64]
call fcn.0044e68a
mov eax, dword [ebp + 0x64]
mov cx, word [eax]
cmp cx, 0x22
jne 0x422606
push 0x22
pop ecx
cmp cx, 0x22
je 0x4225f2
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x4225e2
cmp word [eax], bx
je 0x42260b
inc eax
inc eax
jmp 0x42260b
cmp cx, 0x2c
je 0x42260b
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x4225fb
cmp word [eax], 0x2c
jne 0x422620
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.00456647
mov edi, dword [ebp + 0x2c]
cmp word [edi], 0x22
je 0x4226a0
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp + 0x5c], edi
call fcn.00405b4a
mov eax, dword [ebp + 0x5c]
cmp word [eax], bx
pop ecx
je 0x4226a0
push edi
lea ecx, [ebp + 0x64]
call fcn.0044e6d5
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.00444e77
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.00405b32
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.0041a317
mov ecx, dword [ebp + 0x6c]
add esp, 0xc
push 1
push ebx
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x30]
call fcn.00456647
push dword [ebp + 0x64]
lea ecx, [ebp + 0x2c]
call fcn.00444e9e
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x7c], eax
call fcn.0043e679
mov edi, dword [ebp + 0x7c]
push 5
push edi
push esi
call fcn.0043fac4
add esp, 0xc
test al, al
je 0x4226fc
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 0x42279f
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.00451cdf
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop ecx
jg 0x422751
mov esi, 0x80070057
jmp 0x423213
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 0x42276f
xor esi, esi
inc esi
jmp 0x423213
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 0x422767
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 0x422767
add eax, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 4]
call fcn.00444e32
cmp word [esi], 0x2a
mov eax, esi
jne 0x4227b2
lea eax, [esi + 2]
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, ebx
je 0x42286c
cmp word [edi + 2], 0x2a
jne 0x4227ce
xor edi, edi
cmp edi, ebx
je 0x42286c
mov eax, edi
sub eax, esi
sar eax, 1
cmp word [esi + eax*2 - 2], 0x22
mov dword [ebp + 0x60], eax
jne 0x4227eb
dec eax
mov dword [ebp + 0x60], eax
inc edi
inc edi
cmp word [edi], bx
mov esi, edi
je 0x422815
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.0040f8eb
test al, al
jne 0x422811
cmp cx, 0x22
je 0x422811
inc edi
inc edi
cmp word [edi], bx
jne 0x4227f4
cmp edi, esi
jne 0x42281d
xor esi, esi
inc esi
jmp 0x42320b
cmp byte [ebp + 0x5a], bl
je 0x4228eb
cmp word [edi], 0x22
jne 0x4228eb
mov byte [ebp + 0x5a], 1
mov word [edi], 0x20
push esi
lea ecx, [ebp - 4]
call fcn.0044e731
dec esi
dec esi
cmp byte [ebp + 0x5a], bl
je 0x422850
mov word [esi], 0x22
inc esi
inc esi
cmp esi, edi
jae 0x42286c
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 0x422881
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.0044e68a
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.0044e66d
cmp word [edi], 0x22
mov dword [ebp + 0x70], ebx
jne 0x422907
lea eax, [edi + 2]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x20], eax
push 0x22
lea eax, [ebp + 0x5c]
call fcn.00405b85
mov eax, dword [ebp + 0x5c]
pop ecx
mov cx, word [eax]
cmp cx, 0x22
jne 0x4228f3
or dword [ebp + 0x68], 0x10
jmp 0x4228f8
mov byte [ebp + 0x5a], bl
jmp 0x422839
cmp cx, bx
je 0x4228fd
mov word [eax], bx
inc eax
inc eax
cmp dword [ebp + 0x68], ebx
je 0x422981
mov dword [ebp + 0x64], eax
jmp 0x422981
cmp dword [ebp + 0x68], ebx
je 0x422981
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
push edi
call esi
cmp eax, ebx
jne 0x42291e
mov eax, edi
push 0x23
push ebx
push eax
call esi
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x42298e
mov ecx, eax
jmp 0x422931
inc ecx
inc ecx
cmp word [ecx], 0x23
je 0x42292f
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.004ab8fe
add esp, 4
cmp al, bl
jne 0x422952
mov dword [ebp + 0x64], 0x4c0a1c
jmp 0x422966
inc ecx
xor eax, eax
inc ecx
mov ax, word [ecx]
push eax
call fcn.004ab8fe
add esp, 4
test al, al
jne 0x422952
mov cx, word [ecx]
cmp cx, bx
je 0x422981
cmp cx, 0x7c
je 0x422981
cmp cx, 0x3a
je 0x422981
mov dword [ebp + 0x64], 0x4c0a1c
mov eax, dword [ebp + 0x64]
cmp eax, ebx
je 0x42298e
cmp word [eax], 0x23
je 0x422998
mov dword [ebp + 0x64], 0x4c0a1c
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x4229c4
add eax, 2
cmp word [eax], 0x23
jne 0x4229c4
inc dword [ebp + 0x70]
mov dword [ebp + 0x64], eax
add eax, 2
cmp word [eax], 0x23
je 0x4229a6
cmp dword [ebp + 0x70], ebx
jle 0x4229c4
lea eax, [ebp + 0x18]
push eax
call fcn.00405b6e
pop ecx
cmp byte [ebp + 0x51], bl
je 0x422b64
push dword [ebp + 0x7c]
call fcn.004142f8
pop ecx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x7c], eax
call fcn.00444cbe
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.00405b4a
mov eax, dword [ebp + 0x38]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x70]
call fcn.0044e68a
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x26
je 0x422a38
mov ecx, dword [ebp + 0x6c]
cmp byte [ecx + 9], bl
jne 0x422a38
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0044df88
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 0x422ab5
mov edi, 0x4dcd58
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.00410d4d
cmp eax, ebx
mov dword [ebp + 0x3c], eax
jne 0x422a79
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x70]
call fcn.0043e679
lea ecx, [ebp + 0x44]
call fcn.0043e679
xor esi, esi
inc esi
jmp 0x4231fb
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.00444d00
mov eax, dword [ebp + 0x3c]
push esi
push dword [eax + 4]
push dword [ebp + 0x44]
call fcn.00414409
mov eax, dword [ebp + 0x44]
push 0x10
add esi, eax
push ebx
push esi
call fcn.004adaa0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x4da2d8], bl
jge 0x422ac4
mov byte [0x4da2d8], 1
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.0049d75e
call fcn.00412ab2
push ebx
push ebx
push dword [ebp + 0x44]
mov esi, eax
call fcn.00412b0d
push ebx
push dword [ebp + 0x6c]
lea eax, [ebp + 0x44]
push eax
call fcn.00421db8
push ebx
push dword [ebp + 0x44]
movzx edi, si
call fcn.00412a99
inc eax
inc eax
push eax
push edi
push dword [ebp + 0x44]
call fcn.00412b0d
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push edi
call fcn.0041a4e9
mov esi, dword [ebp + 0x44]
add esp, 0x48
push 0xffffffffffffffff
push 0x4c52a8
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x44], ebx
call fcn.0044e6a3
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.0048b9b5
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x10], eax
call fcn.0043e679
lea ecx, [ebp + 0x70]
call fcn.0043e679
lea ecx, [ebp + 0x44]
jmp 0x423186
cmp dword [ebp + 0x40], ebx
jle 0x422c9e
lea ecx, [ebp + 0x44]
call fcn.00444cbe
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.00444d00
push esi
push dword [ebp + 0xc]
mov dword [ebp + 0x4c], esi
push dword [ebp + 0x44]
mov dword [ebp + 0x48], esi
call fcn.00414409
mov eax, dword [ebp + 0x44]
push 0x14
add eax, esi
push ebx
push eax
call fcn.004adaa0
add esp, 0x18
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.0049d75e
call fcn.00412ab2
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.00412b0d
push dword [ebp + 0x38]
lea eax, [ebp + 0x44]
push dword [ebp + 0x6c]
push eax
call fcn.00421db8
push esi
push dword [ebp + 0x44]
call fcn.00412a99
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.00412b0d
add esp, 0x34
cmp byte [0x4da2d8], bl
jge 0x422c63
mov byte [0x4da2d8], 1
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push esi
call fcn.0041a4e9
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.0048b9b5
mov dword [ebp + 0x10], eax
jmp 0x422b5c
cmp byte [ebp + 0x53], bl
je 0x422db0
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.00444e50
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 0x422d14
add dword [ebp + 0x7c], 2
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x5c
jne 0x422d21
add dword [ebp + 0x7c], 2
mov ecx, 0x5dc
xor eax, eax
sub ecx, dword [ebp + 0x60]
mov dword [ebp + 0x3c], ecx
jmp 0x422d9e
mov cx, word [edi]
cmp cx, word [ebp + 0x1c]
jb 0x422d93
cmp eax, dword [ebp + 0x3c]
jge 0x422d93
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.004ad289
add esp, 0x14
test eax, eax
je 0x422d93
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.00421f66
cmp byte [ebp + 0x52], bl
mov dword [ebp + 0x10], eax
je 0x422da3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x422d30
lea ecx, [ebp + 0x38]
call fcn.0043e679
jmp 0x4231b7
mov ecx, dword [ebp + 0x64]
mov ax, word [ecx]
cmp ax, bx
je 0x42318d
cmp ax, 0x23
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x70], str.SCRIPT
mov edi, ecx
jne 0x422deb
xor eax, eax
lea edx, [ecx + 2]
mov ax, word [edx]
push eax
call fcn.004ab8fe
add esp, 4
test al, al
jne 0x422deb
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 0x422e0a
cmp ax, 0x3a
je 0x422e3c
cmp ax, 0x7c
je 0x422e11
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
jne 0x422df9
jmp 0x422e46
lea eax, [esi + 2]
cmp word [eax], bx
je 0x422e46
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00441162
mov eax, dword [ebp + 0x5c]
mov ax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x422e43
cmp ax, 0x7c
je 0x422e43
mov edx, esi
mov dword [ebp + 0x68], edx
jmp 0x422e46
mov edx, dword [ebp + 0x68]
cmp edx, ebx
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xc], ebx
je 0x422e83
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 0x422e6d
mov eax, edi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
mov ax, word [eax]
cmp ax, 0x22
je 0x422e7f
cmp ax, 0x27
jne 0x422e83
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 0x422e9c
mov dword [ebp + 0x68], 0x4c0a1c
jmp 0x422ead
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 0x422ec3
mov cx, word [eax]
cmp cx, 0x22
je 0x422eca
cmp cx, 0x27
je 0x422eca
inc eax
inc eax
cmp word [eax], bx
jne 0x422eb2
jmp 0x422ecd
mov word [eax], bx
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x40], 0x7fffffff
cmp word [eax], bx
je 0x422ef1
push 0x7c
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004148c3
add esp, 0xc
mov eax, dword [ebp + 0x68]
cmp word [eax], 0x2c
jne 0x422f09
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.00441162
pop ecx
pop ecx
cmp dword [ebp + 0x40], ebx
jle 0x422fe8
cmp dword [ebp + 0x30], ebx
jl 0x422fe8
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 0x422f49
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 0x422a71
mov eax, dword [ebp + 0x60]
mov word [eax], di
call fcn.00412ab2
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.00444cbe
push dword [ebp + 0x64]
lea ecx, [ebp + 0x20]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.0044e66d
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x20]
push esi
call fcn.004153c9
add esp, 0x14
lea ecx, [ebp + 0x20]
call fcn.0043e679
or dword [ebp + 0x60], edi
cmp dword [ebp + 0xc], ebx
je 0x422fb6
mov ax, word [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
cmp dword [ebp + 0x1c], ebx
je 0x422fc4
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 0x422fd0
xor ecx, ecx
mov eax, dword [ebp + 0x40]
cmp eax, ecx
jle 0x422fdc
mov eax, ecx
mov dword [ebp + 0x40], eax
cmp eax, ebx
jg 0x422ff2
lea ecx, [ebp]
call fcn.0043e679
mov esi, 0x80070057
jmp 0x4231fb
cmp edx, ebx
mov esi, dword [ebp]
je 0x42300a
push eax
lea eax, [esi + edx]
push eax
push esi
call fcn.004143bf
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.004adaa0
mov eax, dword [ebp + 0x60]
or eax, 1
push eax
lea eax, [ebp]
push eax
call fcn.0049d75e
add esp, 0x14
push ebx
push dword [ebp + 0x6c]
lea ecx, [ebp - 0xb8]
call fcn.00414d4c
mov ax, word [ebp + 0x5c]
push dword [ebp + 0x3c]
lea ecx, [ebp - 0xb8]
mov word [ebp - 0x8c], ax
call fcn.0044348d
push dword [ebp + 0x60]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp]
push eax
call fcn.00421db8
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.00412b0d
movzx eax, word [ebp + 0x60]
mov edi, esi
shl edi, 0x10
add esp, 0x18
or edi, eax
cmp byte [0x4da2d8], bl
jge 0x4230a7
mov byte [0x4da2d8], 1
mov eax, dword [ebp]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 4]
cmp word [eax], bx
je 0x4230c9
push dword [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.00421e9e
add esp, 0x10
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x14]
cmp word [eax], bx
je 0x4230ee
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.0041a4e9
add esp, 0x14
mov dword [ebp + 0x70], eax
push ebx
lea ecx, [ebp - 0xb8]
call fcn.00435ea3
lea ecx, [ebp - 0x78]
call fcn.0043e679
cmp byte [ebp + 0x5b], bl
mov dword [ebp + 0x28], ebx
je 0x423154
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x109
push eax
lea ecx, [ebp + 0x28]
call fcn.00444e77
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 0x42317b
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.0048b9b5
mov dword [ebp + 0x10], eax
lea ecx, [ebp + 0x28]
call fcn.0043e679
lea ecx, [ebp]
call fcn.0043e679
jmp 0x4231b7
push dword [ebp + 0x7c]
call fcn.004142f8
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.00421f66
mov dword [ebp + 0x10], eax
cmp byte [0x4dc047], 3
jne 0x4231c9
push dword [ebp + 0x6c]
call fcn.0041a6cf
pop ecx
cmp byte [ebp + 0x37], 1
jne 0x4231ef
push dword [ebp + 0x6c]
or byte [0x4dc047], 1
call fcn.00412b8a
mov dword [esp], str.sysinit_end
push dword [ebp + 0x6c]
call fcn.0041a64b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ebx
call fcn.0046e8cd
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0043e679
lea ecx, [ebp - 8]
call fcn.0043e679
lea ecx, [ebp - 4]
call fcn.0043e679
lea ecx, [ebp - 0x1c]
call fcn.0043e679
lea ecx, [ebp + 0x2c]
call fcn.0043e679
lea ecx, [ebp + 0x14]
call fcn.0043e679
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4