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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x128
push ebx
push esi
mov dword [ebp + 0x50], ecx
xor ebx, ebx
push edi
lea ecx, [ebp + 0x7c]
mov dword [ebp - 4], ebx
call fcn.0040b43e
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x22
mov ecx, dword [0x4a6e00]
mov dword [ebp + 0x48], ecx
jne 0x4206a8
cmp word [eax + 2], 0x2e
jne 0x4206a8
cmp word [eax + 4], 0x22
jne 0x4206a8
add eax, 6
cmp word [eax], 0x23
jne 0x4206a8
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x48], ecx
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x40], ebx
call fcn.00433c24
mov eax, dword [ebp + 0x7c]
mov ax, word [eax]
cmp ax, 0x2d
mov byte [ebp + 0x57], bl
mov byte [ebp + 0x56], bl
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x4c], ebx
mov cl, 0x2a
jne 0x4206d5
mov cl, al
movsx edi, cl
movzx eax, ax
jmp 0x420868
add dword [ebp + 0x7c], 2
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x492140
call fcn.00435950
add esp, 0xc
test al, al
je 0x420704
or dword [ebp + 0x4c], 8
jmp 0x420862
push ebx
lea eax, [ebp + 0x7c]
push eax
push 0x4906be
call fcn.00435950
add esp, 0xc
test al, al
je 0x420723
or dword [ebp + 0x4c], 4
jmp 0x420862
push 7
lea eax, [ebp + 0x7c]
push eax
push str.sysinit
call fcn.00435950
add esp, 0xc
test al, al
jne 0x420862
mov eax, dword [ebp + 0x7c]
movzx eax, word [eax]
cmp edi, eax
jne 0x420878
add dword [ebp + 0x7c], 2
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x490534
call fcn.00435950
add esp, 0xc
test al, al
je 0x420770
or byte [ebp + 0x57], 1
jmp 0x420862
push 1
lea eax, [ebp + 0x7c]
push eax
push 0x492930
call fcn.00435950
add esp, 0xc
test al, al
je 0x420790
or byte [ebp + 0x56], 1
jmp 0x420862
push 5
lea eax, [ebp + 0x7c]
push eax
push str.local
call fcn.00435950
add esp, 0xc
test al, al
je 0x4207b4
or dword [ebp + 0x4c], 0x10
or dword [ebp + 0x30], 0x10
jmp 0x420862
push 8
lea eax, [ebp + 0x7c]
push eax
push str.EnviMode
call fcn.00435950
add esp, 0xc
test al, al
je 0x4207d8
or dword [ebp + 0x4c], 0x20
or dword [ebp + 0x30], 0x20
jmp 0x420862
push 3
lea eax, [ebp + 0x7c]
push eax
push 0x492978
call fcn.00435950
add esp, 0xc
test al, al
je 0x4207f5
or dword [ebp + 0x4c], 0x40
jmp 0x420862
push 5
push dword [ebp + 0x7c]
push str.logs:
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x420872
add dword [ebp + 0x7c], 0xa
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x68], eax
push 1
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x58], ebx
call fcn.00414faa
add esp, 0xc
cmp dword [ebp + 0x58], ebx
mov dword [ebp + 0x7c], eax
jle 0x42085a
push dword [ebp + 0x58]
lea ecx, [ebp + 0x44]
push dword [ebp + 0x68]
call fcn.0043dde6
mov ecx, dword [ebp + 0x50]
push 1
push ebx
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x44]
call fcn.0043b011
lea ecx, [ebp + 0x44]
call fcn.0042eb98
lea ecx, [ebp + 0x7c]
call fcn.0040b43e
mov eax, dword [ebp + 0x7c]
movzx eax, word [eax]
cmp edi, eax
je 0x4206e0
jmp 0x42087c
sub dword [ebp + 0x7c], 4
jmp 0x42087c
sub dword [ebp + 0x7c], 2
push dword [ebp + 0x50]
call fcn.0040e66e
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x22
push 5
push eax
mov esi, str.map:
push esi
sete byte [ebp + 0x63]
mov dword [ebp + 0x64], ebx
call fcn.0042fae7
add esp, 0x10
test al, al
jne 0x4208bb
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x2a
jne 0x4208bb
add dword [ebp + 0x7c], 2
mov dword [ebp + 0x64], 1
mov edi, dword [ebp + 0x7c]
push 0x21
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x58], ebx
call fcn.00414faa
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x7c]
mov cx, word [eax]
add esp, 0xc
cmp cx, 0x22
mov edx, eax
jne 0x4208ea
lea edx, [eax + 2]
cmp word [edx], 0x5c
jne 0x4208fb
cmp word [edx + 2], 0x5c
mov byte [ebp + 0x3b], 1
jne 0x4208fe
mov byte [ebp + 0x3b], bl
cmp cx, 0x2a
jne 0x420910
inc eax
inc eax
mov dword [ebp + 0x7c], eax
mov dword [ebp + 0x64], 1
lea ecx, [ebp + 0x3c]
call fcn.00433c24
mov eax, dword [ebp + 0x44]
sub eax, edi
sar eax, 1
push eax
push edi
lea ecx, [ebp + 0x6c]
call fcn.0043dde6
mov eax, dword [ebp + 0x6c]
mov cx, word [eax]
cmp cx, 0x22
jne 0x42095c
push 0x22
pop ecx
cmp cx, 0x22
je 0x420948
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x420938
cmp word [eax], bx
je 0x420961
inc eax
inc eax
jmp 0x420961
cmp cx, 0x2c
je 0x420961
inc eax
inc eax
mov cx, word [eax]
cmp cx, bx
jne 0x420951
cmp word [eax], 0x2c
jne 0x420976
mov word [eax], bx
movzx eax, word [eax + 2]
and eax, 0xffdf
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebp + 0x50]
push 1
push ebx
lea eax, [ebp + 0x3c]
push eax
push dword [ebp + 0x6c]
call fcn.0043c245
mov edi, dword [ebp + 0x3c]
cmp word [edi], 0x22
je 0x4209f6
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x68], edi
call fcn.00404167
mov eax, dword [ebp + 0x68]
cmp word [eax], bx
pop ecx
je 0x4209f6
push edi
lea ecx, [ebp + 0x6c]
call fcn.0043de31
push dword [ebp + 0x6c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [edi + 3]
push eax
lea ecx, [ebp + 0x3c]
call fcn.00433c6b
mov eax, dword [ebp + 0x3c]
mov word [eax + edi*2 + 4], bx
mov eax, dword [ebp + 0x3c]
push edi
push dword [ebp + 0x6c]
add eax, 2
push eax
call fcn.0040414f
mov eax, dword [ebp + 0x3c]
mov word [eax + edi*2 + 2], 0x22
mov eax, dword [ebp + 0x3c]
mov word [eax], 0x22
mov edi, dword [ebp + 0x3c]
add esp, 0xc
push 0x20
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp + 0x7c], edi
call fcn.00414faa
mov ecx, dword [ebp + 0x50]
add esp, 0xc
push 1
push ebx
lea eax, [ebp + 0x6c]
push eax
push dword [ebp + 0x44]
call fcn.0043c245
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x3c]
call fcn.00433c92
mov eax, dword [ebp + 0x3c]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x7c], eax
call fcn.0042eb98
mov edi, dword [ebp + 0x7c]
push 5
push edi
push esi
call fcn.0042fae7
add esp, 0xc
test al, al
je 0x420a52
mov dword [ebp + 0x5c], 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 word [eax], bx
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x5c]
cmp eax, ebx
mov dword [ebp + 0x6c], edi
mov word [ebp + 0x68], cx
mov dword [ebp - 0x14], ebx
je 0x420af4
mov ecx, dword [ebp + 0x7c]
add eax, 0xa
mov word [ecx + esi*2], bx
mov dword [ebp + 0x7c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x7c]
push eax
mov dword [ebp - 0x10], ebx
call fcn.004369c5
mov eax, dword [ebp - 0x10]
cmp eax, ebx
pop ecx
pop ecx
jg 0x420aa7
mov esi, 0x80070057
jmp 0x421480
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
push ebx
push ebx
push 6
push eax
mov dword [ebp + 0x40], eax
call edi
cmp eax, ebx
jne 0x420ac4
xor esi, esi
inc esi
jmp 0x421480
mov ecx, dword [eax]
push eax
mov dword [ebp + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp + 0x34]
cmp eax, ebx
jle 0x420abc
add eax, 4
push eax
push ebx
push ebx
push 6
push dword [ebp + 0x40]
call edi
cmp eax, ebx
mov dword [ebp + 0x5c], eax
je 0x420abc
mov edi, dword [ebp + 0x6c]
add eax, 4
mov dword [ebp + 0x40], eax
lea ecx, [ebp - 0xc]
call fcn.00433c24
cmp word [edi], 0x2a
mov eax, edi
jne 0x420b07
lea eax, [edi + 2]
push 0x2a
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
cmp edi, ebx
je 0x420bcd
cmp word [edi + 2], 0x2a
jne 0x420b23
xor edi, edi
cmp edi, ebx
je 0x420bcd
mov eax, dword [ebp + 0x6c]
mov esi, edi
sub esi, eax
sar esi, 1
cmp word [eax + esi*2 - 2], 0x22
mov dword [ebp + 0x58], esi
jne 0x420b43
dec esi
mov dword [ebp + 0x58], esi
inc edi
inc edi
cmp word [edi], bx
mov dword [ebp + 0x70], edi
je 0x420b6f
xor ecx, ecx
mov cx, word [edi]
mov eax, ecx
call fcn.00402b47
test al, al
jne 0x420b6a
cmp cx, 0x22
je 0x420b6a
inc edi
inc edi
cmp word [edi], bx
jne 0x420b4d
cmp edi, dword [ebp + 0x70]
jne 0x420b77
xor esi, esi
inc esi
jmp 0x421478
cmp byte [ebp + 0x63], bl
je 0x420c24
cmp word [edi], 0x22
jne 0x420c24
mov byte [ebp + 0x63], 1
mov word [edi], 0x20
push dword [ebp + 0x70]
lea ecx, [ebp - 0xc]
call fcn.0043de8d
sub dword [ebp + 0x70], 2
cmp byte [ebp + 0x63], bl
mov edx, dword [ebp + 0x70]
je 0x420bb1
mov word [edx], 0x22
inc edx
inc edx
cmp edx, edi
jae 0x420bcd
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 + 0x68]
mov ecx, dword [ebp + 0x44]
push esi
push dword [ebp + 0x6c]
mov word [ecx], ax
lea ecx, [ebp - 8]
call fcn.0043dde6
mov eax, dword [ebp - 8]
mov word [eax + esi*2], bx
mov eax, dword [ebp - 8]
mov dword [ebp + 0x7c], eax
xor esi, esi
cmp word [eax], 0x22
mov dword [ebp + 0x6c], eax
mov dword [ebp + 0x70], eax
jne 0x420c44
add eax, 2
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x70], eax
push 0x22
lea eax, [ebp + 0x68]
call fcn.00433886
mov eax, dword [ebp + 0x68]
pop ecx
mov cx, word [eax]
cmp cx, 0x22
jne 0x420c2c
or dword [ebp + 0x64], 0x10
jmp 0x420c31
mov byte [ebp + 0x63], bl
jmp 0x420b93
cmp cx, bx
je 0x420c36
mov word [eax], bx
inc eax
inc eax
cmp dword [ebp + 0x64], ebx
je 0x420cc3
mov dword [ebp + 0x6c], eax
jmp 0x420cc3
cmp dword [ebp + 0x64], ebx
je 0x420cc3
mov edi, dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x5c
push ebx
push eax
call edi
cmp eax, ebx
jne 0x420c5c
mov eax, dword [ebp + 0x70]
push 0x23
push ebx
push eax
call edi
cmp eax, ebx
mov dword [ebp + 0x6c], eax
je 0x420cd1
cmp word [eax], 0x23
mov ecx, eax
jne 0x420c79
inc ecx
inc ecx
cmp word [ecx], 0x23
je 0x420c71
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.00433834
add esp, 4
cmp al, bl
jne 0x420c94
mov dword [ebp + 0x6c], 0x496134
jmp 0x420ca8
inc ecx
xor eax, eax
inc ecx
mov ax, word [ecx]
push eax
call fcn.00433834
add esp, 4
test al, al
jne 0x420c94
mov cx, word [ecx]
cmp cx, bx
je 0x420cc3
cmp cx, 0x7c
je 0x420cc3
cmp cx, 0x3a
je 0x420cc3
mov dword [ebp + 0x6c], 0x496134
cmp dword [ebp + 0x6c], ebx
je 0x420cd1
mov eax, dword [ebp + 0x6c]
cmp word [eax], 0x23
je 0x420cd8
mov dword [ebp + 0x6c], 0x496134
mov edi, dword [ebp + 0x6c]
cmp word [edi], bx
je 0x420d06
lea eax, [edi + 2]
cmp word [eax], 0x23
jne 0x420d06
mov edi, eax
lea eax, [edi + 2]
inc esi
cmp word [eax], 0x23
mov dword [ebp + 0x6c], edi
je 0x420ce9
cmp esi, ebx
jle 0x420d06
lea eax, [ebp + 0x28]
push eax
call fcn.0040418b
pop ecx
cmp byte [ebp + 0x57], bl
je 0x420ead
push dword [ebp + 0x7c]
call fcn.00410341
pop ecx
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x7c], eax
call fcn.00433afb
mov esi, dword [ebp + 0x7c]
lea eax, [ebp + 0x68]
push eax
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x68], esi
call fcn.00404167
mov eax, dword [ebp + 0x68]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp + 0x70]
call fcn.0043dde6
mov eax, dword [ebp + 0x70]
cmp word [eax], 0x26
je 0x420d7d
mov ecx, dword [ebp + 0x50]
cmp byte [ecx + 0xb], bl
jne 0x420d7d
lea ecx, [ebp + 0x18]
push ecx
push eax
call fcn.0043cd46
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 0x420dff
mov esi, 0x4a7658
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x50]
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x70]
call fcn.0040c4d0
cmp eax, ebx
mov dword [ebp + 0x48], eax
jne 0x420dbd
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp + 0x70]
call fcn.0042eb98
lea ecx, [ebp + 0x18]
call fcn.0042eb98
xor esi, esi
inc esi
jmp 0x421470
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.00433b3f
mov eax, dword [ebp + 0x48]
push edi
push dword [eax + 4]
push dword [ebp + 0x18]
call fcn.0047b530
mov eax, dword [ebp + 0x18]
push 0x10
add edi, eax
push ebx
push edi
call fcn.0047b210
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [0x4a5280], bl
jge 0x420e0e
mov byte [0x4a5280], 1
lea eax, [ebp + 0x18]
push 1
push eax
call fcn.00472a56
call fcn.0040e368
push ebx
push ebx
push dword [ebp + 0x18]
mov esi, eax
call fcn.0040e3c3
push ebx
push dword [ebp + 0x50]
lea eax, [ebp + 0x18]
push eax
call fcn.00420376
push ebx
push dword [ebp + 0x18]
movzx edi, si
call fcn.0040e34f
inc eax
inc eax
push eax
push edi
push dword [ebp + 0x18]
call fcn.0040e3c3
push ebx
push dword [ebp + 0x30]
lea eax, [ebp + 0x18]
push dword [ebp + 0x24]
push eax
push edi
call fcn.0040e3fc
mov esi, dword [ebp + 0x18]
add esp, 0x48
push 0xffffffffffffffff
push 0x493238
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x18], ebx
call fcn.0043ddff
mov eax, dword [eax]
mov ecx, dword [ebp + 0x50]
push ebx
shl edi, 0x10
or edi, dword [ebp + 0x4c]
push ebx
or edi, 0x40
push edi
push eax
push dword [ebp + 0x28]
push esi
call fcn.0046d0be
lea ecx, [ebp + 0x48]
mov esi, eax
call fcn.0042eb98
lea ecx, [ebp + 0x70]
call fcn.0042eb98
lea ecx, [ebp + 0x18]
jmp 0x420fc8
cmp dword [ebp + 0x34], ebx
jle 0x420fd2
lea ecx, [ebp + 0xc]
call fcn.00433afb
mov esi, dword [ebp + 0x34]
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
call fcn.00433b3f
push esi
push dword [ebp + 0x40]
mov dword [ebp + 0x14], esi
push dword [ebp + 0xc]
mov dword [ebp + 0x10], esi
call fcn.0047b530
mov eax, dword [ebp + 0xc]
push 0x14
add eax, esi
push ebx
push eax
call fcn.0047b210
add esp, 0x18
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea eax, [ebp + 0xc]
push 1
push eax
call fcn.00472a56
call fcn.0040e368
mov dword [ebp + 0x48], eax
xor eax, eax
mov ah, byte [ebp + 0x7c]
push ebx
mov al, ah
mov edi, eax
movzx esi, di
push esi
push dword [ebp + 0xc]
call fcn.0040e3c3
push esi
push dword [ebp + 0x50]
lea eax, [ebp + 0xc]
push eax
call fcn.00420376
push edi
push dword [ebp + 0xc]
call fcn.0040e34f
mov edx, dword [ebp + 0xc]
mov ecx, edi
xor ecx, 0xd
mov word [edx + eax*2], cx
mov edx, dword [ebp + 0xc]
inc eax
mov ecx, edi
xor ecx, 0xa
mov word [edx + eax*2], cx
mov ecx, dword [ebp + 0xc]
mov word [ecx + eax*2 + 4], di
mov ecx, dword [ebp + 0xc]
inc eax
add eax, 2
mov word [ecx + eax*2], di
movzx edi, word [ebp + 0x48]
push eax
mov eax, edi
xor eax, esi
push eax
push dword [ebp + 0xc]
call fcn.0040e3c3
add esp, 0x34
cmp byte [0x4a5280], bl
jge 0x420f8e
mov byte [0x4a5280], 1
push ebx
push dword [ebp + 0x30]
lea eax, [ebp + 0xc]
push dword [ebp + 0x24]
push eax
push edi
call fcn.0040e3fc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x50]
add esp, 0x14
push ebx
shl edi, 0x10
or edi, dword [ebp + 0x4c]
push ebx
or edi, 0x40
push edi
push dword [ebp - 8]
mov dword [ebp + 0xc], ebx
push dword [ebp + 0x28]
push eax
call fcn.0046d0be
mov esi, eax
lea ecx, [ebp + 0xc]
call fcn.0042eb98
jmp 0x421470
cmp byte [ebp + 0x3b], bl
je 0x4210e4
push dword [ebp + 0x28]
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 + 0x40]
call fcn.00433c42
mov edi, dword [ebp + 0x40]
mov dword [ebp + 0x5c], edi
add edi, 0xbca
push edi
push 0x324
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ecx, dword [ebp + 0x28]
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 + 0x44], eax
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x22
mov dword [ebp + 0x68], ecx
jne 0x421048
add dword [ebp + 0x7c], 2
mov eax, dword [ebp + 0x7c]
cmp word [eax], 0x5c
jne 0x421055
add dword [ebp + 0x7c], 2
mov ecx, 0x5dc
xor eax, eax
sub ecx, dword [ebp + 0x58]
mov dword [ebp + 0x48], ecx
jmp 0x4210d2
mov cx, word [edi]
cmp cx, word [ebp + 0x2c]
jb 0x4210c7
cmp eax, dword [ebp + 0x48]
jge 0x4210c7
push dword [ebp + 0x7c]
push edi
push str._s_s
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_wsprintfW]
push dword [ebp + 0x5c]
call fcn.0047acb6
add esp, 0x14
test eax, eax
je 0x4210c7
push dword [ebp + 0x68]
push edi
push str._s_s
push dword [ebp + 0x44]
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp + 0x4c]
or eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x50]
add esp, 0x10
push dword [ebp + 0x24]
push ebx
push eax
push esi
push dword [ebp + 0x5c]
call fcn.0042045c
cmp byte [ebp + 0x56], bl
mov dword [ebp - 4], eax
je 0x4210d7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
cmp word [edi], bx
jne 0x421064
lea ecx, [ebp + 0x40]
call fcn.0042eb98
jmp 0x421464
mov ax, word [edi]
cmp ax, bx
je 0x42143a
cmp ax, 0x23
mov esi, str.SCRIPT
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x40], edi
jne 0x42111e
xor eax, eax
lea ecx, [edi + 2]
mov ax, word [ecx]
push eax
call fcn.00433834
add esp, 4
test al, al
jne 0x42111e
mov edi, ecx
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x64], ebx
xor eax, eax
jmp 0x421133
cmp ax, 0x3a
je 0x421168
cmp ax, 0x7c
je 0x42113d
inc edi
inc edi
mov ax, word [edi]
cmp ax, bx
jne 0x421125
jmp 0x42119f
lea eax, [edi + 2]
cmp word [eax], bx
je 0x42119f
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x2c]
push eax
call fcn.004369c5
mov eax, dword [ebp + 0x2c]
mov ax, word [eax]
cmp ax, bx
pop ecx
pop ecx
je 0x42116b
cmp ax, 0x7c
je 0x42116b
mov dword [ebp + 0x64], edi
mov eax, dword [ebp + 0x64]
cmp eax, ebx
je 0x42119f
mov word [eax], bx
mov eax, dword [ebp + 0x64]
inc eax
inc eax
mov dword [ebp + 0x64], eax
cmp word [eax], 0x7c
mov dword [ebp + 0x40], eax
je 0x42118b
mov esi, eax
mov dword [ebp + 0x5c], esi
mov ax, word [esi]
cmp ax, 0x22
je 0x42119a
cmp ax, 0x27
jne 0x42119f
inc esi
inc esi
mov dword [ebp + 0x5c], esi
push 0x7c
push dword [ebp + 0x40]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
cmp eax, ebx
mov dword [ebp + 0x64], eax
jne 0x4211ba
mov dword [ebp + 0x64], 0x496134
jmp 0x4211c1
mov word [eax], bx
add dword [ebp + 0x64], 2
cmp word [esi], bx
mov eax, esi
je 0x4211e3
mov cx, word [eax]
cmp cx, 0x22
je 0x4211e0
cmp cx, 0x27
je 0x4211e0
inc eax
inc eax
cmp word [eax], bx
jne 0x4211c8
jmp 0x4211e3
mov word [eax], bx
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x58], 0x7fffffff
cmp word [eax], bx
je 0x421207
push 0x7c
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.00436745
add esp, 0xc
mov eax, dword [ebp + 0x64]
cmp word [eax], 0x2c
jne 0x42121f
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x64]
push eax
call fcn.004369c5
pop ecx
pop ecx
cmp dword [ebp + 0x58], ebx
jle 0x4212ef
cmp dword [ebp + 0x44], ebx
jl 0x4212ef
mov eax, dword [ebp + 0x68]
mov di, word [eax]
mov esi, dword [ebp + 0x48]
mov word [eax], bx
mov eax, dword [ebp + 0x70]
cmp word [eax], bx
mov dword [ebp + 0x34], ebx
je 0x42125f
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x34], esi
je 0x420db5
mov eax, dword [ebp + 0x68]
mov word [eax], di
call fcn.0040e368
xor ecx, ecx
mov ch, al
mov dword [ebp + 0x40], eax
mov cl, al
movzx edi, cx
mov dword [ebp + 0x68], ecx
mov dword [ebp + 0x2c], edi
shl edi, 0x10
lea ecx, [ebp]
mov dword [ebp + 0x70], edi
call fcn.00433afb
push dword [ebp + 0x6c]
lea ecx, [ebp + 0x48]
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.0043ddc9
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp]
push eax
push dword [ebp + 0x5c]
push dword [ebp + 0x48]
push esi
call fcn.004108f8
add esp, 0x14
lea ecx, [ebp + 0x48]
call fcn.0042eb98
or dword [ebp + 0x70], edi
cmp dword [ebp + 0x34], ebx
je 0x4212cb
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x44]
sub ecx, edx
jns 0x4212d7
xor ecx, ecx
mov eax, dword [ebp + 0x58]
cmp eax, ecx
jle 0x4212e3
mov eax, ecx
mov dword [ebp + 0x58], eax
cmp eax, ebx
jg 0x4212f9
lea ecx, [ebp]
call fcn.0042eb98
mov esi, 0x80070057
jmp 0x421470
cmp edx, ebx
mov esi, dword [ebp]
je 0x421311
push eax
lea eax, [esi + edx]
push eax
push esi
call fcn.0047b870
mov eax, dword [ebp + 0x58]
add esp, 0xc
movzx ecx, byte [ebp + 0x68]
push 0xc
push ecx
add esi, eax
push esi
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.0047b210
mov eax, dword [ebp + 0x70]
or eax, 1
push eax
lea eax, [ebp]
push eax
call fcn.00472a56
add esp, 0x14
push ebx
push dword [ebp + 0x50]
lea ecx, [ebp - 0xb4]
call fcn.0041fe8f
mov ax, word [ebp + 0x68]
push dword [ebp + 0x2c]
lea ecx, [ebp - 0xb4]
mov word [ebp - 0xac], ax
call fcn.00432b58
push dword [ebp + 0x70]
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp]
push eax
call fcn.00420376
or dword [ebp + 0x70], eax
mov eax, dword [ebp + 4]
movzx esi, word [ebp + 0x40]
shr eax, 1
inc eax
inc eax
push eax
mov eax, esi
xor eax, dword [ebp + 0x2c]
push eax
push dword [ebp]
call fcn.0040e3c3
movzx eax, word [ebp + 0x70]
mov edi, esi
shl edi, 0x10
add esp, 0x18
or edi, eax
cmp byte [0x4a5280], bl
jge 0x4213ae
mov byte [0x4a5280], 1
mov eax, dword [ebp]
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp - 0xc]
cmp word [eax], bx
je 0x4213d0
push dword [ebp + 0x28]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.0041e0ef
add esp, 0x10
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x24]
cmp word [eax], bx
je 0x4213f5
mov ecx, dword [ebp + 0x5c]
sub ecx, dword [ebp]
sar ecx, 1
push ecx
push dword [ebp + 0x30]
push eax
lea eax, [ebp]
push eax
push esi
call fcn.0040e3fc
add esp, 0x14
mov dword [ebp + 0x5c], eax
push ebx
lea ecx, [ebp - 0xb4]
call fcn.0041f8fd
lea ecx, [ebp - 0x70]
call fcn.0042eb98
mov eax, dword [ebp]
cmp eax, ebx
mov dword [ebp], ebx
je 0x421430
or edi, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x50]
push ebx
push dword [ebp + 0x5c]
or edi, 0x40
push edi
push dword [ebp + 0x7c]
push dword [ebp + 0x28]
push eax
call fcn.0046d0be
mov dword [ebp - 4], eax
lea ecx, [ebp]
call fcn.0042eb98
jmp 0x421464
push dword [ebp + 0x7c]
call fcn.00410341
pop ecx
push dword [ebp + 0x24]
mov ecx, dword [ebp + 0x50]
push dword [ebp - 0xc]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp + 0x4c]
or eax, dword [ebp + 0x30]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x7c]
call fcn.0042045c
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x50]
push ebx
call fcn.004453fa
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0042eb98
lea ecx, [ebp - 0xc]
call fcn.0042eb98
lea ecx, [ebp - 0x14]
call fcn.0042eb98
lea ecx, [ebp + 0x3c]
call fcn.0042eb98
lea ecx, [ebp + 0x24]
call fcn.0042eb98
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4