Function at 0x422e2f
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.0040f369
mov eax, dword [0x4d7fa0]
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.00443f5b
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c1280
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0x37], bl
call fcn.00445f31
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 0x422ea1
mov esi, edi
push 8
lea eax, [ebp + 0x7c]
push eax
push str.sysinit
call fcn.00445f31
add esp, 0xc
test al, al
je 0x422ece
mov eax, dword [ebp + 0x7c]
cmp word [eax], di
push 0x2a
pop esi
jne 0x422fb5
mov esi, edi
jmp 0x422fb5
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x423122
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c0318
call fcn.00445f31
add esp, 0xc
test al, al
je 0x422efc
or dword [ebp + 0x54], 8
jmp 0x422ece
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x4bd7b2
call fcn.00445f31
add esp, 0xc
test al, al
je 0x422f18
or dword [ebp + 0x54], 4
jmp 0x422ece
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c1270
call fcn.00445f31
add esp, 0xc
test al, al
jne 0x423106
push 4
lea eax, [ebp + 0x7c]
push eax
push str.this
call fcn.00445f31
add esp, 0xc
test al, al
jne 0x423106
push 8
lea eax, [ebp + 0x7c]
push eax
push str.2sysinit
call fcn.00445f31
add esp, 0xc
test al, al
je 0x422f9e
push ebx
push dword [ebp + 0x6c]
mov byte [0x4d8037], 1
call fcn.00412371
push dword [ebp + 0x6c]
call fcn.0043ffac
mov edi, eax
push edi
call fcn.0043ffbe
mov ecx, dword [ebp + 0x6c]
add esp, 0x10
push ebx
push ebx
push 5
call fcn.004159e8
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x422fc0
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x4c1254
call fcn.00445f31
add esp, 0xc
test al, al
je 0x422fdb
mov dword [ebp + 0x1c], 0x4c1244
mov byte [ebp + 0x37], 1
mov ecx, dword [ebp + 0x6c]
push 0x4c1240
push 0x4c1220
call fcn.00443666
or byte [ebp + 0x55], 1
jmp 0x422ece
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x42311d
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4bdd3c
call fcn.00445f31
add esp, 0xc
test al, al
je 0x42300c
or byte [ebp + 0x51], 1
jmp 0x422ece
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x4c121c
call fcn.00445f31
add esp, 0xc
test al, al
je 0x42302c
or byte [ebp + 0x52], 1
jmp 0x422ece
push 5
lea eax, [ebp + 0x7c]
push eax
push str.local
call fcn.00445f31
add esp, 0xc
test al, al
je 0x423050
or dword [ebp + 0x54], 0x10
or dword [ebp + 0x24], 0x10
jmp 0x422ece
push 8
lea eax, [ebp + 0x7c]
push eax
push str.EnviMode
call fcn.00445f31
add esp, 0xc
test al, al
je 0x423074
or dword [ebp + 0x54], 0x20
or dword [ebp + 0x24], 0x20
jmp 0x422ece
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4c1210
call fcn.00445f31
add esp, 0xc
test al, al
je 0x423094
or dword [ebp + 0x54], 0x40
jmp 0x422ece
push 5
push dword [ebp + 0x7c]
push str.logs:
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x423115
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.00419ccc
add esp, 0xc
cmp dword [ebp + 0x70], ebx
mov dword [ebp + 0x7c], eax
jle 0x4230f9
push dword [ebp + 0x70]
lea ecx, [ebp + 0x30]
push dword [ebp + 0x5c]
call fcn.0044cd91
mov ecx, dword [ebp + 0x6c]
push 1
push ebx
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x30]
call fcn.004537c3
lea ecx, [ebp + 0x30]
call fcn.0043db4f
lea ecx, [ebp + 0x7c]
call fcn.0040f369
jmp 0x422ece
or word [ebp + 0x54], 0x204
or byte [ebp + 0x25], 2
jmp 0x422ece
mov eax, dword [ebp + 0x7c]
sub eax, 4
jmp 0x42311f
dec eax
dec eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x2a
mov dword [ebp + 0x70], eax
jne 0x423130
inc eax
inc eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x22
jne 0x423161
cmp word [eax + 2], 0x2e
jne 0x423161
cmp word [eax + 4], 0x22
jne 0x423161
lea ecx, [eax + 6]
cmp word [ecx], 0x23
jne 0x423161
mov eax, dword [0x4d7c84]
mov dword [ebp + 0x38], eax
mov eax, ecx
sub eax, dword [ebp + 0x70]
sar eax, 1
mov byte [ebp + 0x5b], al
jmp 0x423164
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
mov dword [ebp + 0x7c], ecx
je 0x423187
cmp byte [ebp + 0x53], bl
jne 0x423187
cmp byte [0x4d8037], bl
jne 0x423187
mov byte [0x4d8037], 3
mov dword [0x4d8038], 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.0043eeea
add esp, 0xc
test al, al
jne 0x4231bb
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
jne 0x4231bb
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.00419ccc
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x7c]
mov cx, word [eax]
add esp, 0xc
cmp cx, 0x22
mov edx, eax
jne 0x4231ea
lea edx, [eax + 2]
cmp word [edx], 0x5c
jne 0x4231fb
cmp word [edx + 2], 0x5c
mov byte [ebp + 0x53], 1
jne 0x4231fe
mov byte [ebp + 0x53], bl
cmp cx, 0x2a
jne 0x423210
inc eax
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x68], 1
lea ecx, [ebp + 0x2c]
call fcn.00443f5b
mov eax, dword [ebp + 0x30]
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp + 0x64]
call fcn.0044cd91
mov eax, dword [ebp + 0x64]
mov cx, word [eax]
cmp cx, 0x22
jne 0x42325c
push 0x22
pop ecx
cmp cx, 0x22
je 0x423248
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x423238
cmp word [eax], bx
je 0x423261
inc eax
inc eax
jmp 0x423261
cmp cx, 0x2c
je 0x423261
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x423251
cmp word [eax], 0x2c
jne 0x423276
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.00454bdd
mov edi, dword [ebp + 0x2c]
cmp word [edi], 0x22
je 0x4232f6
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp + 0x5c], edi
call fcn.00405615
mov eax, dword [ebp + 0x5c]
cmp word [eax], bx
pop ecx
je 0x4232f6
push edi
lea ecx, [ebp + 0x64]
call fcn.0044cddc
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.00443fa0
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.004055fd
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.00419ccc
mov ecx, dword [ebp + 0x6c]
add esp, 0xc
push 1
push ebx
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x30]
call fcn.00454bdd
push dword [ebp + 0x64]
lea ecx, [ebp + 0x2c]
call fcn.00443fc7
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x7c], eax
call fcn.0043db4f
mov edi, dword [ebp + 0x7c]
push 5
push edi
push esi
call fcn.0043eeea
add esp, 0xc
test al, al
je 0x423352
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 0x4233f5
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.004503bc
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop ecx
jg 0x4233a7
mov esi, 0x80070057
jmp 0x423e69
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 0x4233c5
xor esi, esi
inc esi
jmp 0x423e69
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 0x4233bd
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 0x4233bd
add eax, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 4]
call fcn.00443f5b
cmp word [esi], 0x2a
mov eax, esi
jne 0x423408
lea eax, [esi + 2]
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, ebx
je 0x4234c2
cmp word [edi + 2], 0x2a
jne 0x423424
xor edi, edi
cmp edi, ebx
je 0x4234c2
mov eax, edi
sub eax, esi
sar eax, 1
cmp word [esi + eax*2 - 2], 0x22
mov dword [ebp + 0x60], eax
jne 0x423441
dec eax
mov dword [ebp + 0x60], eax
inc edi
inc edi
cmp word [edi], bx
mov esi, edi
je 0x42346b
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.0043daaf
test al, al
jne 0x423467
cmp cx, 0x22
je 0x423467
inc edi
inc edi
cmp word [edi], bx
jne 0x42344a
cmp edi, esi
jne 0x423473
xor esi, esi
inc esi
jmp 0x423e61
cmp byte [ebp + 0x5a], bl
je 0x423541
cmp word [edi], 0x22
jne 0x423541
mov byte [ebp + 0x5a], 1
mov word [edi], 0x20
push esi
lea ecx, [ebp - 4]
call fcn.0044ce38
dec esi
dec esi
cmp byte [ebp + 0x5a], bl
je 0x4234a6
mov word [esi], 0x22
inc esi
inc esi
cmp esi, edi
jae 0x4234c2
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 0x4234d7
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.0044cd91
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.0044cd74
cmp word [edi], 0x22
mov dword [ebp + 0x70], ebx
jne 0x42355d
lea eax, [edi + 2]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x20], eax
push 0x22
lea eax, [ebp + 0x5c]
call fcn.004a7e7b
mov eax, dword [ebp + 0x5c]
pop ecx
mov cx, word [eax]
cmp cx, 0x22
jne 0x423549
or dword [ebp + 0x68], 0x10
jmp 0x42354e
mov byte [ebp + 0x5a], bl
jmp 0x42348f
cmp cx, bx
je 0x423553
mov word [eax], bx
inc eax
inc eax
cmp dword [ebp + 0x68], ebx
je 0x4235d7
mov dword [ebp + 0x64], eax
jmp 0x4235d7
cmp dword [ebp + 0x68], ebx
je 0x4235d7
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
push edi
call esi
cmp eax, ebx
jne 0x423574
mov eax, edi
push 0x23
push ebx
push eax
call esi
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x4235e4
mov ecx, eax
jmp 0x423587
inc ecx
inc ecx
cmp word [ecx], 0x23
je 0x423585
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.004439f7
add esp, 4
cmp al, bl
jne 0x4235a8
mov dword [ebp + 0x64], 0x4bca0c
jmp 0x4235bc
inc ecx
xor eax, eax
inc ecx
mov ax, word [ecx]
push eax
call fcn.004439f7
add esp, 4
test al, al
jne 0x4235a8
mov cx, word [ecx]
cmp cx, bx
je 0x4235d7
cmp cx, 0x7c
je 0x4235d7
cmp cx, 0x3a
je 0x4235d7
mov dword [ebp + 0x64], 0x4bca0c
mov eax, dword [ebp + 0x64]
cmp eax, ebx
je 0x4235e4
cmp word [eax], 0x23
je 0x4235ee
mov dword [ebp + 0x64], 0x4bca0c
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x42361a
add eax, 2
cmp word [eax], 0x23
jne 0x42361a
inc dword [ebp + 0x70]
mov dword [ebp + 0x64], eax
add eax, 2
cmp word [eax], 0x23
je 0x4235fc
cmp dword [ebp + 0x70], ebx
jle 0x42361a
lea eax, [ebp + 0x18]
push eax
call fcn.00408ddd
pop ecx
cmp byte [ebp + 0x51], bl
je 0x4237ba
push dword [ebp + 0x7c]
call fcn.00413cd3
pop ecx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x7c], eax
call fcn.00443de7
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.00405615
mov eax, dword [ebp + 0x38]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x70]
call fcn.0044cd91
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x26
je 0x42368e
mov ecx, dword [ebp + 0x6c]
cmp byte [ecx + 9], bl
jne 0x42368e
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.0044c6a5
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 0x42370b
mov edi, 0x4d8d24
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.00410728
cmp eax, ebx
mov dword [ebp + 0x3c], eax
jne 0x4236cf
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x70]
call fcn.0043db4f
lea ecx, [ebp + 0x44]
call fcn.0043db4f
xor esi, esi
inc esi
jmp 0x423e51
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.00443e29
mov eax, dword [ebp + 0x3c]
push esi
push dword [eax + 4]
push dword [ebp + 0x44]
call fcn.00413de4
mov eax, dword [ebp + 0x44]
push 0x10
add esi, eax
push ebx
push esi
call fcn.004aa020
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x4d62d8], bl
jge 0x42371a
mov byte [0x4d62d8], 1
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.00499e81
call fcn.0041248d
push ebx
push ebx
push dword [ebp + 0x44]
mov esi, eax
call fcn.004124e8
push ebx
push dword [ebp + 0x6c]
lea eax, [ebp + 0x44]
push eax
call fcn.00422a0e
push ebx
push dword [ebp + 0x44]
movzx edi, si
call fcn.00412474
inc eax
inc eax
push eax
push edi
push dword [ebp + 0x44]
call fcn.004124e8
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push edi
call fcn.00419e9e
mov esi, dword [ebp + 0x44]
add esp, 0x48
push 0xffffffffffffffff
push str.mem
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x44], ebx
call fcn.0044cdaa
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.004883ef
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x10], eax
call fcn.0043db4f
lea ecx, [ebp + 0x70]
call fcn.0043db4f
lea ecx, [ebp + 0x44]
jmp 0x423ddc
cmp dword [ebp + 0x40], ebx
jle 0x4238f4
lea ecx, [ebp + 0x44]
call fcn.00443de7
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.00443e29
push esi
push dword [ebp + 0xc]
mov dword [ebp + 0x4c], esi
push dword [ebp + 0x44]
mov dword [ebp + 0x48], esi
call fcn.00413de4
mov eax, dword [ebp + 0x44]
push 0x14
add eax, esi
push ebx
push eax
call fcn.004aa020
add esp, 0x18
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.00499e81
call fcn.0041248d
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.004124e8
push dword [ebp + 0x38]
lea eax, [ebp + 0x44]
push dword [ebp + 0x6c]
push eax
call fcn.00422a0e
push esi
push dword [ebp + 0x44]
call fcn.00412474
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.004124e8
add esp, 0x34
cmp byte [0x4d62d8], bl
jge 0x4238b9
mov byte [0x4d62d8], 1
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push esi
call fcn.00419e9e
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.004883ef
mov dword [ebp + 0x10], eax
jmp 0x4237b2
cmp byte [ebp + 0x53], bl
je 0x423a06
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.00443f79
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 0x42396a
add dword [ebp + 0x7c], 2
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x5c
jne 0x423977
add dword [ebp + 0x7c], 2
mov ecx, 0x5dc
xor eax, eax
sub ecx, dword [ebp + 0x60]
mov dword [ebp + 0x3c], ecx
jmp 0x4239f4
mov cx, word [edi]
cmp cx, word [ebp + 0x1c]
jb 0x4239e9
cmp eax, dword [ebp + 0x3c]
jge 0x4239e9
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.004a980e
add esp, 0x14
test eax, eax
je 0x4239e9
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.00422bbc
cmp byte [ebp + 0x52], bl
mov dword [ebp + 0x10], eax
je 0x4239f9
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x423986
lea ecx, [ebp + 0x38]
call fcn.0043db4f
jmp 0x423e0d
mov ecx, dword [ebp + 0x64]
mov ax, word [ecx]
cmp ax, bx
je 0x423de3
cmp ax, 0x23
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x70], 0x4c11e4
mov edi, ecx
jne 0x423a41
xor eax, eax
lea edx, [ecx + 2]
mov ax, word [edx]
push eax
call fcn.004439f7
add esp, 4
test al, al
jne 0x423a41
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 0x423a60
cmp ax, 0x3a
je 0x423a92
cmp ax, 0x7c
je 0x423a67
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
jne 0x423a4f
jmp 0x423a9c
lea eax, [esi + 2]
cmp word [eax], bx
je 0x423a9c
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.004404ef
mov eax, dword [ebp + 0x5c]
mov ax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x423a99
cmp ax, 0x7c
je 0x423a99
mov edx, esi
mov dword [ebp + 0x68], edx
jmp 0x423a9c
mov edx, dword [ebp + 0x68]
cmp edx, ebx
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xc], ebx
je 0x423ad9
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 0x423ac3
mov eax, edi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
mov ax, word [eax]
cmp ax, 0x22
je 0x423ad5
cmp ax, 0x27
jne 0x423ad9
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 0x423af2
mov dword [ebp + 0x68], 0x4bca0c
jmp 0x423b03
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 0x423b19
mov cx, word [eax]
cmp cx, 0x22
je 0x423b20
cmp cx, 0x27
je 0x423b20
inc eax
inc eax
cmp word [eax], bx
jne 0x423b08
jmp 0x423b23
mov word [eax], bx
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x40], 0x7fffffff
cmp word [eax], bx
je 0x423b47
push 0x7c
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.00446fd5
add esp, 0xc
mov eax, dword [ebp + 0x68]
cmp word [eax], 0x2c
jne 0x423b5f
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004404ef
pop ecx
pop ecx
cmp dword [ebp + 0x40], ebx
jle 0x423c3e
cmp dword [ebp + 0x30], ebx
jl 0x423c3e
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 0x423b9f
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 0x4236c7
mov eax, dword [ebp + 0x60]
mov word [eax], di
call fcn.0041248d
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.00443de7
push dword [ebp + 0x64]
lea ecx, [ebp + 0x20]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.0044cd74
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x20]
push esi
call fcn.00414db6
add esp, 0x14
lea ecx, [ebp + 0x20]
call fcn.0043db4f
or dword [ebp + 0x60], edi
cmp dword [ebp + 0xc], ebx
je 0x423c0c
mov ax, word [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
cmp dword [ebp + 0x1c], ebx
je 0x423c1a
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 0x423c26
xor ecx, ecx
mov eax, dword [ebp + 0x40]
cmp eax, ecx
jle 0x423c32
mov eax, ecx
mov dword [ebp + 0x40], eax
cmp eax, ebx
jg 0x423c48
lea ecx, [ebp]
call fcn.0043db4f
mov esi, 0x80070057
jmp 0x423e51
cmp edx, ebx
mov esi, dword [ebp]
je 0x423c60
push eax
lea eax, [esi + edx]
push eax
push esi
call fcn.00413d9a
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.004aa020
mov eax, dword [ebp + 0x60]
or eax, 1
push eax
lea eax, [ebp]
push eax
call fcn.00499e81
add esp, 0x14
push ebx
push dword [ebp + 0x6c]
lea ecx, [ebp - 0xb8]
call fcn.00414756
mov ax, word [ebp + 0x5c]
push dword [ebp + 0x3c]
lea ecx, [ebp - 0xb8]
mov word [ebp - 0x8c], ax
call fcn.00442712
push dword [ebp + 0x60]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp]
push eax
call fcn.00422a0e
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.004124e8
movzx eax, word [ebp + 0x60]
mov edi, esi
shl edi, 0x10
add esp, 0x18
or edi, eax
cmp byte [0x4d62d8], bl
jge 0x423cfd
mov byte [0x4d62d8], 1
mov eax, dword [ebp]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 4]
cmp word [eax], bx
je 0x423d1f
push dword [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.00422af4
add esp, 0x10
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x14]
cmp word [eax], bx
je 0x423d44
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.00419e9e
add esp, 0x14
mov dword [ebp + 0x70], eax
push ebx
lea ecx, [ebp - 0xb8]
call fcn.004353b6
lea ecx, [ebp - 0x78]
call fcn.0043db4f
cmp byte [ebp + 0x5b], bl
mov dword [ebp + 0x28], ebx
je 0x423daa
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x109
push eax
lea ecx, [ebp + 0x28]
call fcn.00443fa0
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 0x423dd1
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.004883ef
mov dword [ebp + 0x10], eax
lea ecx, [ebp + 0x28]
call fcn.0043db4f
lea ecx, [ebp]
call fcn.0043db4f
jmp 0x423e0d
push dword [ebp + 0x7c]
call fcn.00413cd3
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.00422bbc
mov dword [ebp + 0x10], eax
cmp byte [0x4d8037], 3
jne 0x423e1f
push dword [ebp + 0x6c]
call fcn.0041a084
pop ecx
cmp byte [ebp + 0x37], 1
jne 0x423e45
push dword [ebp + 0x6c]
or byte [0x4d8037], 1
call fcn.00412565
mov dword [esp], str.sysinit_end
push dword [ebp + 0x6c]
call fcn.0041a000
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ebx
call fcn.0046b6f3
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.0043db4f
lea ecx, [ebp - 8]
call fcn.0043db4f
lea ecx, [ebp - 4]
call fcn.0043db4f
lea ecx, [ebp - 0x1c]
call fcn.0043db4f
lea ecx, [ebp + 0x2c]
call fcn.0043db4f
lea ecx, [ebp + 0x14]
call fcn.0043db4f
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4