Function at 0x1002335d
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.1000f804
mov eax, dword [0x100e2fc0]
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.10046123
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x100cb468
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0x37], bl
call fcn.10048195
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 0x100233cf
mov esi, edi
push 8
lea eax, [ebp + 0x7c]
push eax
push str.sysinit
call fcn.10048195
add esp, 0xc
test al, al
je 0x100233fc
mov eax, dword [ebp + 0x7c]
cmp word [eax], di
push 0x2a
pop esi
jne 0x100234e3
mov esi, edi
jmp 0x100234e3
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x10023650
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x100ca4c8
call fcn.10048195
add esp, 0xc
test al, al
je 0x1002342a
or dword [ebp + 0x54], 8
jmp 0x100233fc
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x100c78c2
call fcn.10048195
add esp, 0xc
test al, al
je 0x10023446
or dword [ebp + 0x54], 4
jmp 0x100233fc
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x100cb458
call fcn.10048195
add esp, 0xc
test al, al
jne 0x10023634
push 4
lea eax, [ebp + 0x7c]
push eax
push 0x100cb450
call fcn.10048195
add esp, 0xc
test al, al
jne 0x10023634
push 8
lea eax, [ebp + 0x7c]
push eax
push str.2sysinit
call fcn.10048195
add esp, 0xc
test al, al
je 0x100234cc
push ebx
push dword [ebp + 0x6c]
mov byte [0x100e3057], 1
call fcn.10012b49
push dword [ebp + 0x6c]
call fcn.10041ff7
mov edi, eax
push edi
call fcn.10042009
mov ecx, dword [ebp + 0x6c]
add esp, 0x10
push ebx
push ebx
push 5
call fcn.10011621
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x100234ee
push 7
lea eax, [ebp + 0x7c]
push eax
push 0x100cb43c
call fcn.10048195
add esp, 0xc
test al, al
je 0x10023509
mov dword [ebp + 0x1c], 0x100cb42c
mov byte [ebp + 0x37], 1
mov ecx, dword [ebp + 0x6c]
push 0x100cb428
push 0x100cb408
call fcn.100457c2
or byte [ebp + 0x55], 1
jmp 0x100233fc
mov eax, dword [ebp + 0x7c]
cmp si, word [eax]
jne 0x1002364b
inc eax
inc eax
mov dword [ebp + 0x7c], eax
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x100c7e4c
call fcn.10048195
add esp, 0xc
test al, al
je 0x1002353a
or byte [ebp + 0x51], 1
jmp 0x100233fc
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x100cb404
call fcn.10048195
add esp, 0xc
test al, al
je 0x1002355a
or byte [ebp + 0x52], 1
jmp 0x100233fc
push 5
lea eax, [ebp + 0x7c]
push eax
push str.local
call fcn.10048195
add esp, 0xc
test al, al
je 0x1002357e
or dword [ebp + 0x54], 0x10
or dword [ebp + 0x24], 0x10
jmp 0x100233fc
push 8
lea eax, [ebp + 0x7c]
push eax
push 0x100c7744
call fcn.10048195
add esp, 0xc
test al, al
je 0x100235a2
or dword [ebp + 0x54], 0x20
or dword [ebp + 0x24], 0x20
jmp 0x100233fc
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x100cb3f8
call fcn.10048195
add esp, 0xc
test al, al
je 0x100235c2
or dword [ebp + 0x54], 0x40
jmp 0x100233fc
push 5
push dword [ebp + 0x7c]
push str.logs:
call fcn.10040df5
add esp, 0xc
test al, al
je 0x10023643
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.1001a65a
add esp, 0xc
cmp dword [ebp + 0x70], ebx
mov dword [ebp + 0x7c], eax
jle 0x10023627
push dword [ebp + 0x70]
lea ecx, [ebp + 0x30]
push dword [ebp + 0x5c]
call fcn.10050208
mov ecx, dword [ebp + 0x6c]
push 1
push ebx
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x30]
call fcn.10057b62
lea ecx, [ebp + 0x30]
call fcn.1003f96c
lea ecx, [ebp + 0x7c]
call fcn.1000f804
jmp 0x100233fc
or word [ebp + 0x54], 0x204
or byte [ebp + 0x25], 2
jmp 0x100233fc
mov eax, dword [ebp + 0x7c]
sub eax, 4
jmp 0x1002364d
dec eax
dec eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x2a
mov dword [ebp + 0x70], eax
jne 0x1002365e
inc eax
inc eax
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x22
jne 0x1002368f
cmp word [eax + 2], 0x2e
jne 0x1002368f
cmp word [eax + 4], 0x22
jne 0x1002368f
lea ecx, [eax + 6]
cmp word [ecx], 0x23
jne 0x1002368f
mov eax, dword [0x100e2c88]
mov dword [ebp + 0x38], eax
mov eax, ecx
sub eax, dword [ebp + 0x70]
sar eax, 1
mov byte [ebp + 0x5b], al
jmp 0x10023692
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
mov dword [ebp + 0x7c], ecx
je 0x100236b5
cmp byte [ebp + 0x53], bl
jne 0x100236b5
cmp byte [0x100e3057], bl
jne 0x100236b5
mov byte [0x100e3057], 3
mov dword [0x100e3058], 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.10040df5
add esp, 0xc
test al, al
jne 0x100236e9
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
jne 0x100236e9
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.1001a65a
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x7c]
mov cx, word [eax]
add esp, 0xc
cmp cx, 0x22
mov edx, eax
jne 0x10023718
lea edx, [eax + 2]
cmp word [edx], 0x5c
jne 0x10023729
cmp word [edx + 2], 0x5c
mov byte [ebp + 0x53], 1
jne 0x1002372c
mov byte [ebp + 0x53], bl
cmp cx, 0x2a
jne 0x1002373e
inc eax
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x68], 1
lea ecx, [ebp + 0x2c]
call fcn.10046123
mov eax, dword [ebp + 0x30]
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp + 0x64]
call fcn.10050208
mov eax, dword [ebp + 0x64]
mov cx, word [eax]
cmp cx, 0x22
jne 0x1002378a
push 0x22
pop ecx
cmp cx, 0x22
je 0x10023776
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x10023766
cmp word [eax], bx
je 0x1002378f
inc eax
inc eax
jmp 0x1002378f
cmp cx, 0x2c
je 0x1002378f
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x1002377f
cmp word [eax], 0x2c
jne 0x100237a4
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.10058f7c
mov edi, dword [ebp + 0x2c]
cmp word [edi], 0x22
je 0x10023824
lea eax, [ebp + 0x5c]
push eax
mov dword [ebp + 0x5c], edi
call fcn.10005b74
mov eax, dword [ebp + 0x5c]
cmp word [eax], bx
pop ecx
je 0x10023824
push edi
lea ecx, [ebp + 0x64]
call fcn.1005026c
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.10046168
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.10005b3b
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.1001a65a
mov ecx, dword [ebp + 0x6c]
add esp, 0xc
push 1
push ebx
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x30]
call fcn.10058f7c
push dword [ebp + 0x64]
lea ecx, [ebp + 0x2c]
call fcn.1004618f
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x7c], eax
call fcn.1003f96c
mov edi, dword [ebp + 0x7c]
push 5
push edi
push esi
call fcn.10040df5
add esp, 0xc
test al, al
je 0x10023880
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 0x10023923
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.10053a89
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop ecx
jg 0x100238d5
mov esi, 0x80070057
jmp 0x10024397
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 0x100238f3
xor esi, esi
inc esi
jmp 0x10024397
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 0x100238eb
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 0x100238eb
add eax, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 4]
call fcn.10046123
cmp word [esi], 0x2a
mov eax, esi
jne 0x10023936
lea eax, [esi + 2]
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, ebx
je 0x100239f0
cmp word [edi + 2], 0x2a
jne 0x10023952
xor edi, edi
cmp edi, ebx
je 0x100239f0
mov eax, edi
sub eax, esi
sar eax, 1
cmp word [esi + eax*2 - 2], 0x22
mov dword [ebp + 0x60], eax
jne 0x1002396f
dec eax
mov dword [ebp + 0x60], eax
inc edi
inc edi
cmp word [edi], bx
mov esi, edi
je 0x10023999
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.10002df6
test al, al
jne 0x10023995
cmp cx, 0x22
je 0x10023995
inc edi
inc edi
cmp word [edi], bx
jne 0x10023978
cmp edi, esi
jne 0x100239a1
xor esi, esi
inc esi
jmp 0x1002438f
cmp byte [ebp + 0x5a], bl
je 0x10023a6f
cmp word [edi], 0x22
jne 0x10023a6f
mov byte [ebp + 0x5a], 1
mov word [edi], 0x20
push esi
lea ecx, [ebp - 4]
call fcn.100502c8
dec esi
dec esi
cmp byte [ebp + 0x5a], bl
je 0x100239d4
mov word [esi], 0x22
inc esi
inc esi
cmp esi, edi
jae 0x100239f0
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 0x10023a05
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.10050208
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.100501eb
cmp word [edi], 0x22
mov dword [ebp + 0x70], ebx
jne 0x10023a8b
lea eax, [edi + 2]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x20], eax
push 0x22
lea eax, [ebp + 0x5c]
call fcn.100a1095
mov eax, dword [ebp + 0x5c]
pop ecx
mov cx, word [eax]
cmp cx, 0x22
jne 0x10023a77
or dword [ebp + 0x68], 0x10
jmp 0x10023a7c
mov byte [ebp + 0x5a], bl
jmp 0x100239bd
cmp cx, bx
je 0x10023a81
mov word [eax], bx
inc eax
inc eax
cmp dword [ebp + 0x68], ebx
je 0x10023b05
mov dword [ebp + 0x64], eax
jmp 0x10023b05
cmp dword [ebp + 0x68], ebx
je 0x10023b05
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
push edi
call esi
cmp eax, ebx
jne 0x10023aa2
mov eax, edi
push 0x23
push ebx
push eax
call esi
cmp eax, ebx
mov dword [ebp + 0x64], eax
je 0x10023b12
mov ecx, eax
jmp 0x10023ab5
inc ecx
inc ecx
cmp word [ecx], 0x23
je 0x10023ab3
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.10045b88
add esp, 4
cmp al, bl
jne 0x10023ad6
mov dword [ebp + 0x64], 0x100c6a64
jmp 0x10023aea
inc ecx
xor eax, eax
inc ecx
mov ax, word [ecx]
push eax
call fcn.10045b88
add esp, 4
test al, al
jne 0x10023ad6
mov cx, word [ecx]
cmp cx, bx
je 0x10023b05
cmp cx, 0x7c
je 0x10023b05
cmp cx, 0x3a
je 0x10023b05
mov dword [ebp + 0x64], 0x100c6a64
mov eax, dword [ebp + 0x64]
cmp eax, ebx
je 0x10023b12
cmp word [eax], 0x23
je 0x10023b1c
mov dword [ebp + 0x64], 0x100c6a64
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
je 0x10023b48
add eax, 2
cmp word [eax], 0x23
jne 0x10023b48
inc dword [ebp + 0x70]
mov dword [ebp + 0x64], eax
add eax, 2
cmp word [eax], 0x23
je 0x10023b2a
cmp dword [ebp + 0x70], ebx
jle 0x10023b48
lea eax, [ebp + 0x18]
push eax
call fcn.10008e60
pop ecx
cmp byte [ebp + 0x51], bl
je 0x10023ce8
push dword [ebp + 0x7c]
call fcn.100143ee
pop ecx
lea ecx, [ebp + 0x44]
mov dword [ebp + 0x7c], eax
call fcn.10045faf
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.10005b74
mov eax, dword [ebp + 0x38]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x70]
call fcn.10050208
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x26
je 0x10023bbc
mov ecx, dword [ebp + 0x6c]
cmp byte [ecx + 9], bl
jne 0x10023bbc
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.1004faae
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 0x10023c39
mov edi, 0x100e3d7c
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.10010cdd
cmp eax, ebx
mov dword [ebp + 0x3c], eax
jne 0x10023bfd
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x70]
call fcn.1003f96c
lea ecx, [ebp + 0x44]
call fcn.1003f96c
xor esi, esi
inc esi
jmp 0x1002437f
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.10045ff1
mov eax, dword [ebp + 0x3c]
push esi
push dword [eax + 4]
push dword [ebp + 0x44]
call fcn.100144ff
mov eax, dword [ebp + 0x44]
push 0x10
add esi, eax
push ebx
push esi
call fcn.100b40f0
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x100e12d0], bl
jge 0x10023c48
mov byte [0x100e12d0], 1
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.100a3193
call fcn.10012c65
push ebx
push ebx
push dword [ebp + 0x44]
mov esi, eax
call fcn.10012cc0
push ebx
push dword [ebp + 0x6c]
lea eax, [ebp + 0x44]
push eax
call fcn.10022f3c
push ebx
push dword [ebp + 0x44]
movzx edi, si
call fcn.10012c4c
inc eax
inc eax
push eax
push edi
push dword [ebp + 0x44]
call fcn.10012cc0
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push edi
call fcn.1001a82c
mov esi, dword [ebp + 0x44]
add esp, 0x48
push 0xffffffffffffffff
push str.mem
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x44], ebx
call fcn.10050221
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.10090180
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x10], eax
call fcn.1003f96c
lea ecx, [ebp + 0x70]
call fcn.1003f96c
lea ecx, [ebp + 0x44]
jmp 0x1002430a
cmp dword [ebp + 0x40], ebx
jle 0x10023e22
lea ecx, [ebp + 0x44]
call fcn.10045faf
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.10045ff1
push esi
push dword [ebp + 0xc]
mov dword [ebp + 0x4c], esi
push dword [ebp + 0x44]
mov dword [ebp + 0x48], esi
call fcn.100144ff
mov eax, dword [ebp + 0x44]
push 0x14
add eax, esi
push ebx
push eax
call fcn.100b40f0
add esp, 0x18
push dword [ebp + 0x28]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp + 0x44]
push 1
push eax
call fcn.100a3193
call fcn.10012c65
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.10012cc0
push dword [ebp + 0x38]
lea eax, [ebp + 0x44]
push dword [ebp + 0x6c]
push eax
call fcn.10022f3c
push esi
push dword [ebp + 0x44]
call fcn.10012c4c
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.10012cc0
add esp, 0x34
cmp byte [0x100e12d0], bl
jge 0x10023de7
mov byte [0x100e12d0], 1
push ebx
push dword [ebp + 0x24]
lea eax, [ebp + 0x44]
push dword [ebp + 0x14]
push eax
push esi
call fcn.1001a82c
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.10090180
mov dword [ebp + 0x10], eax
jmp 0x10023ce0
cmp byte [ebp + 0x53], bl
je 0x10023f34
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.10046141
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 0x10023e98
add dword [ebp + 0x7c], 2
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x5c
jne 0x10023ea5
add dword [ebp + 0x7c], 2
mov ecx, 0x5dc
xor eax, eax
sub ecx, dword [ebp + 0x60]
mov dword [ebp + 0x3c], ecx
jmp 0x10023f22
mov cx, word [edi]
cmp cx, word [ebp + 0x1c]
jb 0x10023f17
cmp eax, dword [ebp + 0x3c]
jge 0x10023f17
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.100b3871
add esp, 0x14
test eax, eax
je 0x10023f17
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.100230ea
cmp byte [ebp + 0x52], bl
mov dword [ebp + 0x10], eax
je 0x10023f27
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x10023eb4
lea ecx, [ebp + 0x38]
call fcn.1003f96c
jmp 0x1002433b
mov ecx, dword [ebp + 0x64]
mov ax, word [ecx]
cmp ax, bx
je 0x10024311
cmp ax, 0x23
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x70], str.SCRIPT
mov edi, ecx
jne 0x10023f6f
xor eax, eax
lea edx, [ecx + 2]
mov ax, word [edx]
push eax
call fcn.10045b88
add esp, 4
test al, al
jne 0x10023f6f
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 0x10023f8e
cmp ax, 0x3a
je 0x10023fc0
cmp ax, 0x7c
je 0x10023f95
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
jne 0x10023f7d
jmp 0x10023fca
lea eax, [esi + 2]
cmp word [eax], bx
je 0x10023fca
mov dword [ebp + 0x5c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.10042554
mov eax, dword [ebp + 0x5c]
mov ax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x10023fc7
cmp ax, 0x7c
je 0x10023fc7
mov edx, esi
mov dword [ebp + 0x68], edx
jmp 0x10023fca
mov edx, dword [ebp + 0x68]
cmp edx, ebx
mov dword [ebp + 0xc], edx
mov dword [ebp - 0xc], ebx
je 0x10024007
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 0x10023ff1
mov eax, edi
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
mov ax, word [eax]
cmp ax, 0x22
je 0x10024003
cmp ax, 0x27
jne 0x10024007
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 0x10024020
mov dword [ebp + 0x68], 0x100c6a64
jmp 0x10024031
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 0x10024047
mov cx, word [eax]
cmp cx, 0x22
je 0x1002404e
cmp cx, 0x27
je 0x1002404e
inc eax
inc eax
cmp word [eax], bx
jne 0x10024036
jmp 0x10024051
mov word [eax], bx
mov eax, dword [ebp + 0x68]
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x40], 0x7fffffff
cmp word [eax], bx
je 0x10024075
push 0x7c
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.100149a9
add esp, 0xc
mov eax, dword [ebp + 0x68]
cmp word [eax], 0x2c
jne 0x1002408d
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.10042554
pop ecx
pop ecx
cmp dword [ebp + 0x40], ebx
jle 0x1002416c
cmp dword [ebp + 0x30], ebx
jl 0x1002416c
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 0x100240cd
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 0x10023bf5
mov eax, dword [ebp + 0x60]
mov word [eax], di
call fcn.10012c65
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.10045faf
push dword [ebp + 0x64]
lea ecx, [ebp + 0x20]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.100501eb
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp]
push eax
push dword [ebp + 0x70]
push dword [ebp + 0x20]
push esi
call fcn.100155e3
add esp, 0x14
lea ecx, [ebp + 0x20]
call fcn.1003f96c
or dword [ebp + 0x60], edi
cmp dword [ebp + 0xc], ebx
je 0x1002413a
mov ax, word [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
cmp dword [ebp + 0x1c], ebx
je 0x10024148
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 0x10024154
xor ecx, ecx
mov eax, dword [ebp + 0x40]
cmp eax, ecx
jle 0x10024160
mov eax, ecx
mov dword [ebp + 0x40], eax
cmp eax, ebx
jg 0x10024176
lea ecx, [ebp]
call fcn.1003f96c
mov esi, 0x80070057
jmp 0x1002437f
cmp edx, ebx
mov esi, dword [ebp]
je 0x1002418e
push eax
lea eax, [esi + edx]
push eax
push esi
call fcn.100144b5
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.100b40f0
mov eax, dword [ebp + 0x60]
or eax, 1
push eax
lea eax, [ebp]
push eax
call fcn.100a3193
add esp, 0x14
push ebx
push dword [ebp + 0x6c]
lea ecx, [ebp - 0xb8]
call fcn.10014f6a
mov ax, word [ebp + 0x5c]
push dword [ebp + 0x3c]
lea ecx, [ebp - 0xb8]
mov word [ebp - 0x8c], ax
call fcn.10044a42
push dword [ebp + 0x60]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp]
push eax
call fcn.10022f3c
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.10012cc0
movzx eax, word [ebp + 0x60]
mov edi, esi
shl edi, 0x10
add esp, 0x18
or edi, eax
cmp byte [0x100e12d0], bl
jge 0x1002422b
mov byte [0x100e12d0], 1
mov eax, dword [ebp]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 4]
cmp word [eax], bx
je 0x1002424d
push dword [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.10023022
add esp, 0x10
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x14]
cmp word [eax], bx
je 0x10024272
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.1001a82c
add esp, 0x14
mov dword [ebp + 0x70], eax
push ebx
lea ecx, [ebp - 0xb8]
call fcn.10036b70
lea ecx, [ebp - 0x78]
call fcn.1003f96c
cmp byte [ebp + 0x5b], bl
mov dword [ebp + 0x28], ebx
je 0x100242d8
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x109
push eax
lea ecx, [ebp + 0x28]
call fcn.10046168
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 0x100242ff
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.10090180
mov dword [ebp + 0x10], eax
lea ecx, [ebp + 0x28]
call fcn.1003f96c
lea ecx, [ebp]
call fcn.1003f96c
jmp 0x1002433b
push dword [ebp + 0x7c]
call fcn.100143ee
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.100230ea
mov dword [ebp + 0x10], eax
cmp byte [0x100e3057], 3
jne 0x1002434d
push dword [ebp + 0x6c]
call fcn.1001aa17
pop ecx
cmp byte [ebp + 0x37], 1
jne 0x10024373
push dword [ebp + 0x6c]
or byte [0x100e3057], 1
call fcn.10012d3d
mov dword [esp], str.sysinit_end
push dword [ebp + 0x6c]
call fcn.1001a98e
pop ecx
pop ecx
mov ecx, dword [ebp + 0x6c]
push ebx
call fcn.100707a5
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.1003f96c
lea ecx, [ebp - 8]
call fcn.1003f96c
lea ecx, [ebp - 4]
call fcn.1003f96c
lea ecx, [ebp - 0x1c]
call fcn.1003f96c
lea ecx, [ebp + 0x2c]
call fcn.1003f96c
lea ecx, [ebp + 0x14]
call fcn.1003f96c
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4