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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x124
push ebx
push esi
mov dword [ebp + 0x4c], ecx
xor ebx, ebx
push edi
lea ecx, [ebp + 0x7c]
mov dword [ebp - 4], ebx
call fcn.0040ac34
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x68], ebx
mov dword [ebp + 0x44], ebx
call fcn.0042e1c4
mov eax, dword [ebp + 0x7c]
mov ax, word [eax]
cmp ax, 0x2d
mov byte [ebp + 0x57], bl
mov byte [ebp + 0x4b], bl
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x50], ebx
mov cl, 0x2a
jne 0x41e660
mov cl, al
movsx edi, cl
movzx eax, ax
jmp 0x41e7f3
add dword [ebp + 0x7c], 2
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x4874c8
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41e68f
or dword [ebp + 0x50], 8
jmp 0x41e7ed
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x4855be
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41e6ae
or dword [ebp + 0x50], 4
jmp 0x41e7ed
push 7
lea eax, [ebp + 0x7c]
push eax
push str.sysinit
call fcn.0042fc5f
add esp, 0xc
test al, al
jne 0x41e7ed
mov eax, dword [ebp + 0x7c]
movzx eax, word [eax]
cmp edi, eax
jne 0x41e803
add dword [ebp + 0x7c], 2
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x485454
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41e6fb
or byte [ebp + 0x57], 1
jmp 0x41e7ed
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x487dd8
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41e71b
or byte [ebp + 0x4b], 1
jmp 0x41e7ed
push 5
lea eax, [ebp + 0x7c]
push eax
push 0x487f94
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41e73f
or dword [ebp + 0x50], 0x10
or dword [ebp + 0x28], 0x10
jmp 0x41e7ed
push 8
lea eax, [ebp + 0x7c]
push eax
push str.EnviMode
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41e763
or dword [ebp + 0x50], 0x20
or dword [ebp + 0x28], 0x20
jmp 0x41e7ed
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x487e1c
call fcn.0042fc5f
add esp, 0xc
test al, al
je 0x41e780
or dword [ebp + 0x50], 0x40
jmp 0x41e7ed
push 5
push dword [ebp + 0x7c]
push str.logs:
call fcn.0042996a
add esp, 0xc
test al, al
je 0x41e7fd
add dword [ebp + 0x7c], 0xa
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x60], eax
push 1
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x58], ebx
call fcn.004149d8
add esp, 0xc
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x7c], eax
jle 0x41e7e5
push dword [ebp + 0x58]
lea ecx, [ebp + 0x6c]
push dword [ebp + 0x60]
call fcn.0043a4d7
mov ecx, dword [ebp + 0x4c]
push 1
push ebx
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x6c]
call fcn.00436312
lea ecx, [ebp + 0x6c]
call fcn.00428a48
lea ecx, [ebp + 0x7c]
call fcn.0040ac34
mov eax, dword [ebp + 0x7c]
movzx eax, word [eax]
cmp edi, eax
je 0x41e66b
jmp 0x41e807
sub dword [ebp + 0x7c], 4
jmp 0x41e807
sub dword [ebp + 0x7c], 2
push dword [ebp + 0x4c]
call fcn.0040d6fb
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x22
push 5
push eax
mov esi, str.map:
push esi
sete byte [ebp + 0x5f]
mov dword [ebp + 0x6c], ebx
call fcn.0042996a
add esp, 0x10
test al, al
jne 0x41e846
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
jne 0x41e846
add dword [ebp + 0x7c], 2
mov dword [ebp + 0x6c], 1
mov edi, dword [ebp + 0x7c]
push 0x21
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x58], ebx
call fcn.004149d8
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x7c]
mov cx, word [eax]
add esp, 0xc
cmp cx, 0x22
mov edx, eax
jne 0x41e875
lea edx, [eax + 2]
cmp word [edx], 0x5c
jne 0x41e886
cmp word [edx + 2], 0x5c
mov byte [ebp + 0x33], 1
jne 0x41e889
mov byte [ebp + 0x33], bl
cmp cx, 0x2a
jne 0x41e89b
inc eax
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x6c], 1
lea ecx, [ebp + 0x38]
call fcn.0042e1c4
mov eax, dword [ebp + 0x34]
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp + 0x70]
call fcn.0043a4d7
mov eax, dword [ebp + 0x70]
mov cx, word [eax]
cmp cx, 0x22
jne 0x41e8e7
push 0x22
pop ecx
cmp cx, 0x22
je 0x41e8d3
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x41e8c3
cmp word [eax], bx
je 0x41e8ec
inc eax
inc eax
jmp 0x41e8ec
cmp cx, 0x2c
je 0x41e8ec
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x41e8dc
cmp word [eax], 0x2c
jne 0x41e901
mov word [eax], bx
movzx eax, word [eax + 2]
and eax, 0xffdf
mov dword [ebp + 0x40], eax
mov ecx, dword [ebp + 0x4c]
push 1
push ebx
lea eax, [ebp + 0x38]
push eax
push dword [ebp + 0x70]
call fcn.00437546
mov edi, dword [ebp + 0x38]
cmp word [edi], 0x22
je 0x41e981
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x60], edi
call fcn.00403ff2
mov eax, dword [ebp + 0x60]
cmp word [eax], bx
pop ecx
je 0x41e981
push edi
lea ecx, [ebp + 0x70]
call fcn.0043a522
push dword [ebp + 0x70]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [edi + 3]
push eax
lea ecx, [ebp + 0x38]
call fcn.0042e20b
mov eax, dword [ebp + 0x38]
mov word [eax + edi*2 + 4], bx
mov eax, dword [ebp + 0x38]
push edi
push dword [ebp + 0x70]
add eax, 2
push eax
call fcn.00403fda
mov eax, dword [ebp + 0x38]
mov word [eax + edi*2 + 2], 0x22
mov eax, dword [ebp + 0x38]
mov word [eax], 0x22
mov edi, dword [ebp + 0x38]
add esp, 0xc
push 0x20
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], edi
call fcn.004149d8
mov ecx, dword [ebp + 0x4c]
add esp, 0xc
push 1
push ebx
lea eax, [ebp + 0x70]
push eax
push dword [ebp + 0x34]
call fcn.00437546
push dword [ebp + 0x70]
lea ecx, [ebp + 0x38]
call fcn.0042e232
mov eax, dword [ebp + 0x38]
lea ecx, [ebp + 0x70]
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x7c], eax
call fcn.00428a48
mov edi, dword [ebp + 0x7c]
push 5
push edi
push esi
call fcn.0042996a
add esp, 0xc
test al, al
je 0x41e9dd
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x7c], edi
mov eax, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x58]
mov edi, eax
lea eax, [eax + esi*2]
mov cx, word [eax]
mov dword [ebp + 0x70], eax
mov word [eax], bx
mov eax, dword [ebp + 0x68]
cmp eax, ebx
mov dword [ebp + 0x3c], edi
mov word [ebp + 0x60], cx
je 0x41ea7c
mov ecx, dword [ebp + 0x7c]
add eax, 0xa
mov word [ecx + esi*2], bx
mov dword [ebp + 0x7c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00430ad7
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop ecx
jg 0x41ea2f
mov esi, 0x80070057
jmp 0x41f3e1
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
push ebx
push ebx
push 6
push eax
mov dword [ebp + 0x44], eax
call edi
cmp eax, ebx
jne 0x41ea4c
xor esi, esi
inc esi
jmp 0x41f3e1
mov ecx, dword [eax]
push eax
mov dword [ebp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp + 0x2c]
cmp eax, ebx
jle 0x41ea44
add eax, 4
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x44]
call edi
cmp eax, ebx
mov dword [ebp + 0x68], eax
je 0x41ea44
mov edi, dword [ebp + 0x3c]
add eax, 4
mov dword [ebp + 0x44], eax
lea ecx, [ebp - 8]
call fcn.0042e1c4
cmp word [edi], 0x2a
mov eax, edi
jne 0x41ea8f
lea eax, [edi + 2]
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, ebx
je 0x41eb55
cmp word [edi + 2], 0x2a
jne 0x41eaab
xor edi, edi
cmp edi, ebx
je 0x41eb55
mov eax, dword [ebp + 0x3c]
mov esi, edi
sub esi, eax
sar esi, 1
cmp word [eax + esi*2 - 2], 0x22
mov dword [ebp + 0x58], esi
jne 0x41eacb
dec esi
mov dword [ebp + 0x58], esi
inc edi
inc edi
cmp word [edi], bx
mov dword [ebp + 0x64], edi
je 0x41eaf7
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.0040ac1b
test al, al
jne 0x41eaf2
cmp cx, 0x22
je 0x41eaf2
inc edi
inc edi
cmp word [edi], bx
jne 0x41ead5
cmp edi, dword [ebp + 0x64]
jne 0x41eaff
xor esi, esi
inc esi
jmp 0x41f3d9
cmp byte [ebp + 0x5f], bl
je 0x41ebb4
cmp word [edi], 0x22
jne 0x41ebb4
mov byte [ebp + 0x5f], 1
mov word [edi], 0x20
push dword [ebp + 0x64]
lea ecx, [ebp - 8]
call fcn.0043a57e
sub dword [ebp + 0x64], 2
cmp byte [ebp + 0x5f], bl
mov edx, dword [ebp + 0x64]
je 0x41eb39
mov word [edx], 0x22
inc edx
inc edx
cmp edx, edi
jae 0x41eb55
mov ecx, edi
sub ecx, edx
dec ecx
shr ecx, 1
inc ecx
shr ecx, 1
mov eax, 0x200020
mov edi, edx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ax, word [ebp + 0x60]
mov ecx, dword [ebp + 0x70]
push esi
push dword [ebp + 0x3c]
mov word [ecx], ax
lea ecx, [ebp - 0xc]
call fcn.0043a4d7
mov eax, dword [ebp - 0xc]
mov word [eax + esi*2], bx
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0x7c], eax
cmp word [eax], 0x22
mov esi, eax
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x70], ebx
mov edi, 0x484964
jne 0x41ebd3
add eax, 2
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], eax
push 0x22
lea eax, [ebp + 0x60]
call fcn.0040404e
mov eax, dword [ebp + 0x60]
pop ecx
mov cx, word [eax]
cmp cx, 0x22
jne 0x41ebbc
or dword [ebp + 0x6c], 0x10
jmp 0x41ebc1
mov byte [ebp + 0x5f], bl
jmp 0x41eb1b
cmp cx, bx
je 0x41ebc6
mov word [eax], bx
inc eax
inc eax
cmp dword [ebp + 0x6c], ebx
je 0x41ec50
mov esi, eax
jmp 0x41ec4d
cmp dword [ebp + 0x6c], ebx
je 0x41ec50
mov esi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
push eax
call esi
cmp eax, ebx
jne 0x41ebeb
mov eax, dword [ebp + 0x64]
push 0x23
push ebx
push eax
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x3c], esi
je 0x41ec5a
cmp word [esi], 0x23
mov ecx, esi
jne 0x41ec0a
inc ecx
inc ecx
cmp word [ecx], 0x23
je 0x41ec02
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.0040fd8a
add esp, 4
cmp al, bl
jne 0x41ec23
mov esi, edi
mov dword [ebp + 0x3c], esi
jmp 0x41ec37
inc ecx
xor eax, eax
inc ecx
mov ax, word [ecx]
push eax
call fcn.0040fd8a
add esp, 4
test al, al
jne 0x41ec23
mov cx, word [ecx]
cmp cx, bx
je 0x41ec50
cmp cx, 0x7c
je 0x41ec50
cmp cx, 0x3a
je 0x41ec50
mov esi, edi
mov dword [ebp + 0x3c], esi
cmp esi, ebx
je 0x41ec5a
cmp word [esi], 0x23
je 0x41ec5f
mov esi, edi
mov dword [ebp + 0x3c], esi
cmp word [esi], bx
je 0x41ec8d
lea eax, [esi + 2]
cmp word [eax], 0x23
jne 0x41ec8d
inc dword [ebp + 0x70]
mov esi, eax
lea eax, [esi + 2]
cmp word [eax], 0x23
mov dword [ebp + 0x3c], esi
je 0x41ec6d
cmp dword [ebp + 0x70], ebx
jle 0x41ec8d
lea eax, [ebp + 0x34]
push eax
call fcn.00404037
pop ecx
cmp byte [ebp + 0x57], bl
je 0x41ee34
push dword [ebp + 0x7c]
call fcn.0040fbe1
pop ecx
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x7c], eax
call fcn.0042e04e
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x60]
push eax
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x60], esi
call fcn.00403ff2
mov eax, dword [ebp + 0x60]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x6c]
call fcn.0043a4d7
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x26
je 0x41ed04
mov ecx, dword [ebp + 0x4c]
cmp byte [ecx + 0xb], bl
jne 0x41ed04
lea ecx, [ebp + 0x18]
push ecx
push eax
call fcn.0043815c
pop ecx
pop ecx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x1c], eax
jmp 0x41ed86
mov esi, 0x49b604
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x4c]
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x6c]
call fcn.0040bce3
cmp eax, ebx
mov dword [ebp + 0x40], eax
jne 0x41ed44
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x6c]
call fcn.00428a48
lea ecx, [ebp + 0x18]
call fcn.00428a48
xor esi, esi
inc esi
jmp 0x41f3d1
mov edi, dword [eax + 0xc]
and edi, 0x3fffffff
lea eax, [edi + 0x10]
push eax
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], edi
call fcn.0042e092
mov eax, dword [ebp + 0x40]
push edi
push dword [eax + 4]
push dword [ebp + 0x18]
call fcn.00470580
mov eax, dword [ebp + 0x18]
push 0x10
add edi, eax
push ebx
push edi
call fcn.00470340
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x499270], bl
jge 0x41ed95
mov byte [0x499270], 1
lea eax, [ebp + 0x18]
push 1
push eax
call fcn.0044244b
call fcn.0040d411
push ebx
push ebx
push dword [ebp + 0x18]
mov esi, eax
call fcn.0040d46c
push ebx
push dword [ebp + 0x4c]
lea eax, [ebp + 0x18]
push eax
call fcn.0041e330
push ebx
push dword [ebp + 0x18]
movzx edi, si
call fcn.0040d3f8
inc eax
inc eax
push eax
push edi
push dword [ebp + 0x18]
call fcn.0040d46c
push ebx
push dword [ebp + 0x28]
lea eax, [ebp + 0x18]
push dword [ebp + 0x24]
push eax
push edi
call fcn.0040d4a5
mov esi, dword [ebp + 0x18]
add esp, 0x48
push 0xffffffffffffffff
push str.mem
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x18], ebx
call fcn.0043a4f0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x4c]
push ebx
shl edi, 0x10
or edi, dword [ebp + 0x50]
push ebx
or edi, 0x40
push edi
push eax
push dword [ebp + 0x34]
push esi
call fcn.004654e7
lea ecx, [ebp + 0x40]
mov esi, eax
call fcn.00428a48
lea ecx, [ebp + 0x6c]
call fcn.00428a48
lea ecx, [ebp + 0x18]
jmp 0x41ef26
cmp dword [ebp + 0x2c], ebx
jle 0x41ef30
lea ecx, [ebp]
call fcn.0042e04e
mov esi, dword [ebp + 0x2c]
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.0042e092
push esi
push dword [ebp + 0x44]
mov dword [ebp + 8], esi
push dword [ebp]
mov dword [ebp + 4], esi
call fcn.00470580
mov eax, dword [ebp]
push 0x10
add eax, esi
push ebx
push eax
call fcn.00470340
add esp, 0x18
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp]
push 1
push eax
call fcn.0044244b
call fcn.0040d411
mov edi, eax
xor eax, eax
mov ah, byte [ebp + 0x68]
push ebx
mov al, ah
movzx esi, ax
push esi
push dword [ebp]
mov dword [ebp + 0x68], eax
call fcn.0040d46c
push esi
push dword [ebp + 0x4c]
lea eax, [ebp]
push eax
call fcn.0041e330
push dword [ebp + 0x68]
movzx edi, di
push dword [ebp]
call fcn.0040d3f8
inc eax
inc eax
push eax
mov eax, edi
xor eax, esi
push eax
push dword [ebp]
call fcn.0040d46c
add esp, 0x34
cmp byte [0x499270], bl
jge 0x41eeec
mov byte [0x499270], 1
push ebx
push dword [ebp + 0x28]
lea eax, [ebp]
push dword [ebp + 0x24]
push eax
push edi
call fcn.0040d4a5
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x4c]
add esp, 0x14
push ebx
shl edi, 0x10
or edi, dword [ebp + 0x50]
push ebx
or edi, 0x40
push edi
push dword [ebp - 0xc]
mov dword [ebp], ebx
push dword [ebp + 0x34]
push eax
call fcn.004654e7
mov esi, eax
lea ecx, [ebp]
call fcn.00428a48
jmp 0x41f3d1
cmp byte [ebp + 0x33], bl
je 0x41f042
push dword [ebp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
push dword [ebp + 0x7c]
mov edi, eax
call esi
lea eax, [eax + edi + 0x92a]
push eax
lea ecx, [ebp + 0x44]
call fcn.0042e1e2
mov edi, dword [ebp + 0x44]
mov dword [ebp + 0x68], edi
add edi, 0xbca
push edi
push 0x324
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ecx, dword [ebp + 0x34]
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 + 0x6c], eax
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x22
mov dword [ebp + 0x2c], ecx
jne 0x41efa6
add dword [ebp + 0x7c], 2
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x5c
jne 0x41efb3
add dword [ebp + 0x7c], 2
mov ecx, 0x5dc
xor eax, eax
sub ecx, dword [ebp + 0x58]
mov dword [ebp + 0x60], ecx
jmp 0x41f030
mov cx, word [edi]
cmp cx, word [ebp + 0x40]
jb 0x41f025
cmp eax, dword [ebp + 0x60]
jge 0x41f025
push dword [ebp + 0x7c]
push edi
push str._s_s
push dword [ebp + 0x68]
call dword [sym.imp.USER32.dll_wsprintfW]
push dword [ebp + 0x68]
call fcn.00470011
add esp, 0x14
test eax, eax
je 0x41f025
push dword [ebp + 0x2c]
push edi
push str._s_s
push dword [ebp + 0x6c]
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp + 0x50]
or eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x4c]
add esp, 0x10
push dword [ebp + 0x24]
push ebx
push eax
push esi
push dword [ebp + 0x68]
call fcn.0041e416
cmp byte [ebp + 0x4b], bl
mov dword [ebp - 4], eax
je 0x41f035
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x41efc2
lea ecx, [ebp + 0x44]
call fcn.00428a48
jmp 0x41f3c5
mov ax, word [esi]
cmp ax, bx
je 0x41f39b
cmp ax, 0x23
mov edi, str.SCRIPT
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x44], esi
jne 0x41f07c
xor eax, eax
lea ecx, [esi + 2]
mov ax, word [ecx]
push eax
call fcn.0040fd8a
add esp, 4
test al, al
jne 0x41f07c
mov esi, ecx
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x70], ebx
xor eax, eax
jmp 0x41f091
cmp ax, 0x3a
je 0x41f0c6
cmp ax, 0x7c
je 0x41f09b
inc esi
inc esi
mov ax, word [esi]
cmp ax, bx
jne 0x41f083
jmp 0x41f0fd
lea eax, [esi + 2]
cmp word [eax], bx
je 0x41f0fd
mov dword [ebp + 0x40], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.00430ad7
mov eax, dword [ebp + 0x40]
mov ax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x41f0c9
cmp ax, 0x7c
je 0x41f0c9
mov dword [ebp + 0x70], esi
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x41f0fd
mov word [eax], bx
mov eax, dword [ebp + 0x70]
inc eax
inc eax
mov dword [ebp + 0x70], eax
cmp word [eax], 0x7c
mov dword [ebp + 0x44], eax
je 0x41f0e9
mov edi, eax
mov dword [ebp + 0x68], edi
mov ax, word [edi]
cmp ax, 0x22
je 0x41f0f8
cmp ax, 0x27
jne 0x41f0fd
inc edi
inc edi
mov dword [ebp + 0x68], edi
push 0x7c
push dword [ebp + 0x44]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp + 0x70], eax
jne 0x41f118
mov dword [ebp + 0x70], 0x484964
jmp 0x41f11f
mov word [eax], bx
add dword [ebp + 0x70], 2
cmp word [edi], bx
mov eax, edi
je 0x41f141
mov cx, word [eax]
cmp cx, 0x22
je 0x41f13e
cmp cx, 0x27
je 0x41f13e
inc eax
inc eax
cmp word [eax], bx
jne 0x41f126
jmp 0x41f141
mov word [eax], bx
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x58], 0x7fffffff
cmp word [eax], bx
je 0x41f165
push 0x7c
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.00430857
add esp, 0xc
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x2c
jne 0x41f17d
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.00430ad7
pop ecx
pop ecx
cmp dword [ebp + 0x58], ebx
jle 0x41f250
cmp dword [ebp + 0x60], ebx
jl 0x41f250
mov eax, dword [ebp + 0x6c]
mov di, word [eax]
mov esi, dword [0x49addc]
mov word [eax], bx
mov eax, dword [ebp + 0x64]
cmp word [eax], bx
mov dword [ebp + 0x2c], ebx
je 0x41f1c0
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x2c], esi
je 0x41ed3c
mov eax, dword [ebp + 0x6c]
mov word [eax], di
call fcn.0040d411
xor ecx, ecx
mov ch, al
mov dword [ebp - 0x10], eax
mov cl, al
movzx edi, cx
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x44], edi
shl edi, 0x10
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x64], edi
call fcn.0042e04e
push dword [ebp + 0x3c]
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
call fcn.0043a4ba
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x68]
push dword [ebp + 0x40]
push esi
call fcn.004101ba
add esp, 0x14
lea ecx, [ebp + 0x40]
call fcn.00428a48
or dword [ebp + 0x64], edi
cmp dword [ebp + 0x2c], ebx
je 0x41f22c
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x60]
sub ecx, edx
jns 0x41f238
xor ecx, ecx
mov eax, dword [ebp + 0x58]
cmp eax, ecx
jle 0x41f244
mov eax, ecx
mov dword [ebp + 0x58], eax
cmp eax, ebx
jg 0x41f25a
lea ecx, [ebp + 0xc]
call fcn.00428a48
mov esi, 0x80070057
jmp 0x41f3d1
cmp edx, ebx
mov esi, dword [ebp + 0xc]
je 0x41f272
push eax
lea eax, [esi + edx]
push eax
push esi
call fcn.004708c0
mov eax, dword [ebp + 0x58]
add esp, 0xc
movzx ecx, byte [ebp + 0x6c]
push 0xc
push ecx
add esi, eax
push esi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], eax
call fcn.00470340
mov eax, dword [ebp + 0x64]
or eax, 1
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044244b
add esp, 0x14
push ebx
push dword [ebp + 0x4c]
lea ecx, [ebp - 0xb0]
call fcn.0041df36
mov ax, word [ebp + 0x6c]
push dword [ebp + 0x44]
lea ecx, [ebp - 0xb0]
mov word [ebp - 0xa8], ax
call fcn.0042c2e0
push dword [ebp + 0x64]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041e330
or dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x10]
movzx esi, word [ebp - 0x10]
shr eax, 1
inc eax
inc eax
push eax
mov eax, esi
xor eax, dword [ebp + 0x44]
push eax
push dword [ebp + 0xc]
call fcn.0040d46c
movzx eax, word [ebp + 0x64]
mov edi, esi
shl edi, 0x10
add esp, 0x18
or edi, eax
cmp byte [0x499270], bl
jge 0x41f30f
mov byte [0x499270], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x68], eax
mov eax, dword [ebp - 8]
cmp word [eax], bx
je 0x41f331
push dword [ebp + 0x34]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0041d977
add esp, 0x10
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x24]
cmp word [eax], bx
je 0x41f356
mov ecx, dword [ebp + 0x68]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push dword [ebp + 0x28]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0040d4a5
add esp, 0x14
mov dword [ebp + 0x68], eax
push ebx
lea ecx, [ebp - 0xb0]
call fcn.0041da45
lea ecx, [ebp - 0x6c]
call fcn.00428a48
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp + 0xc], ebx
je 0x41f391
or edi, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x4c]
push ebx
push dword [ebp + 0x68]
or edi, 0x40
push edi
push dword [ebp + 0x7c]
push dword [ebp + 0x34]
push eax
call fcn.004654e7
mov dword [ebp - 4], eax
lea ecx, [ebp + 0xc]
call fcn.00428a48
jmp 0x41f3c5
push dword [ebp + 0x7c]
call fcn.0040fbe1
pop ecx
push dword [ebp + 0x24]
mov ecx, dword [ebp + 0x4c]
push dword [ebp - 8]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x50]
or eax, dword [ebp + 0x28]
push eax
push dword [ebp + 0x34]
push dword [ebp + 0x7c]
call fcn.0041e416
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x4c]
push ebx
call fcn.004403ab
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0xc]
call fcn.00428a48
lea ecx, [ebp - 8]
call fcn.00428a48
lea ecx, [ebp + 0x38]
call fcn.00428a48
lea ecx, [ebp + 0x24]
call fcn.00428a48
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4