Function at 0x41d918
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b4
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
xor ebx, ebx
inc ebx
and dword [ebp + 0x10], ebx
lea ecx, [ebp - 0x64]
and esi, 0xf0
call fcn.004403c3
mov eax, dword [ebp + 0xc]
or dword [ebp - 0x38], 0xffffffff
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x4c], eax
call fcn.0040bc51
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x1b], 0xff
mov byte [ebp - 0x11], 0xff
mov byte [ebp - 0x12], 0
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov byte [ebp - 9], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x42], 0
mov dword [ebp - 0x3c], 0xffff0000
call fcn.00435d62
and word [ebp - 0x2b8], 0
push ebx
lea eax, [ebp + 0xc]
push eax
push 0x4972e8
call fcn.00437ad0
add esp, 0xc
test al, al
jne 0x41d9a8
test esi, esi
mov byte [ebp - 0x1a], al
je 0x41d9ae
mov byte [ebp - 0x1a], 1
test esi, esi
setne byte [ebp - 0x1d]
cmp byte [ebp - 0x1a], 0
je 0x41d9c0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp + 0xc]
mov ax, word [ecx]
cmp ax, 0x2d
mov dl, 0x2a
jne 0x41d9d0
mov dl, al
movsx edi, dl
movzx eax, ax
cmp eax, edi
push 3
pop esi
jne 0x41dca9
movzx eax, word [ecx + 2]
cmp eax, edi
jne 0x41dc8a
push ebx
lea eax, [ebp + 0xc]
push eax
add ecx, 4
push 0x497f98
mov dword [ebp + 0xc], ecx
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41da11
mov dword [ebp + 0x10], ebx
jmp 0x41dc7c
push 2
lea eax, [ebp + 0xc]
push eax
push 0x497f94
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41da31
mov byte [ebp - 0x1b], 1
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f90
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41da50
mov byte [ebp - 0x1b], 0
jmp 0x41dc7c
push 4
lea eax, [ebp + 0xc]
push eax
push str.nrcd
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41da70
mov byte [ebp - 0x11], 2
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f84
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41da8f
mov byte [ebp - 0x11], 0
jmp 0x41dc7c
push 2
lea eax, [ebp + 0xc]
push eax
push 0x497f80
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41daaf
mov byte [ebp - 1], 1
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f7c
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41dace
mov byte [ebp - 1], 0x23
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f78
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41daed
mov byte [ebp - 1], 0x2a
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f74
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41db0c
mov byte [ebp - 1], 0x24
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f70
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41db2b
mov byte [ebp - 1], 0x40
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f6c
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41db4a
mov byte [ebp - 1], 0x3d
jmp 0x41dc7c
push 2
lea eax, [ebp + 0xc]
push eax
push 0x497f68
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41db69
mov dword [ebp - 0x3c], ebx
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f64
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41db88
and dword [ebp - 0x3c], 0
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f60
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41dba7
mov byte [ebp - 0x19], 1
jmp 0x41dc7c
push esi
lea eax, [ebp + 0xc]
push eax
push 0x497f5c
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41dbc6
mov byte [ebp - 0x1c], 1
jmp 0x41dc7c
push ebx
lea eax, [ebp + 0xc]
push eax
push 0x497f58
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41dbe5
mov byte [ebp - 0x42], 1
jmp 0x41dc7c
push 4
push dword [ebp + 0xc]
push str.ret:
call fcn.004318b1
add esp, 0xc
test al, al
lea eax, [ebp + 0xc]
je 0x41dc59
add dword [ebp + 0xc], 8
mov esi, dword [ebp + 0xc]
push eax
call fcn.00404579
mov eax, dword [ebp + 0xc]
pop ecx
sub eax, esi
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00435e88
lea ecx, [ebp + 0xc]
call fcn.0040bc51
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00402c4d
push dword [ebp - 0x40]
mov byte [ebp - 2], 1
push 0x497f4c
call dword [sym.imp.KERNEL32.DLL_lstrcmpW]
test eax, eax
push 3
pop esi
jne 0x41dc7c
mov eax, dword [ebp - 0x40]
and word [eax], 0
mov byte [ebp - 2], 3
jmp 0x41dc7c
push ebx
push eax
push 0x497f48
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41dc72
mov byte [ebp - 9], 1
jmp 0x41dc7c
lea eax, [ebp + 0xc]
push eax
call fcn.0040459d
pop ecx
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx]
cmp eax, edi
je 0x41d9e1
cmp byte [ebp - 0x19], 0
je 0x41dca9
push 0xffffffffffffff9c
push 0x4949a4
push 0
push ecx
mov ecx, dword [ebp + 8]
call fcn.0044ceaa
mov esi, eax
jmp 0x41e809
push 0x6e
pop ecx
xor edx, edx
xor eax, eax
push 0x6a
mov dword [ebp - 0x224], edx
lea edi, [ebp - 0x220]
rep stosd dword es:[edi], eax
pop ecx
push 0x69
lea edi, [ebp - 0x460]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x608]
rep stosd dword es:[edi], eax
push 0x69
pop ecx
mov dword [ebp - 0x7b4], edx
lea edi, [ebp - 0x7b0]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x60], edx
call fcn.00435fd2
mov esi, dword [sym.imp.SHLWAPI.dll_StrChrW]
lea eax, [ebp - 0x464]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
push 0x2c
push eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x60c], eax
mov dword [ebp - 0x48], ebx
call esi
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0x10], ecx
je 0x41dd35
sub eax, dword [ebp - 0x4c]
sar eax, 1
inc ecx
inc ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
mov dword [ebp - 0x460], ecx
mov dword [ebp - 0x608], ecx
je 0x41dd5d
push 0xc
push ecx
push str._LoadLibrary
call fcn.004318b1
add esp, 0xc
test al, al
mov byte [ebp - 0x32], 1
jne 0x41dd61
mov byte [ebp - 0x32], 0
cmp dword [ebp - 0x10], 0
je 0x41dd81
push 0xf
push dword [ebp - 0x10]
push str._GetProcAddress
call fcn.004318b1
add esp, 0xc
test al, al
mov byte [ebp - 0x31], 1
jne 0x41dd85
mov byte [ebp - 0x31], 0
cmp dword [ebp - 0x10], 0
je 0x41dda5
push 0xc
push dword [ebp - 0x10]
push str._FreeLibrary
call fcn.004318b1
add esp, 0xc
test al, al
mov byte [ebp - 0x19], 1
jne 0x41dda9
mov byte [ebp - 0x19], 0
mov bl, byte [ebp - 0x19]
or bl, byte [ebp - 0x31]
mov eax, dword [ebp - 0x10]
or bl, byte [ebp - 0x32]
xor edi, edi
cmp eax, edi
je 0x41ddc7
cmp word [eax], 0x2a
jne 0x41ddc7
mov byte [ebp - 0x41], 1
jmp 0x41dddb
cmp byte [ebp - 0x1a], 0
mov byte [ebp - 0x41], 0
jne 0x41dddb
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 0x25], 1
je 0x41dddf
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x1c], 0
jne 0x41de33
cmp byte [ebp - 0x25], 0
je 0x41de33
mov eax, dword [ebp + 0x14]
cmp eax, edi
mov dword [ebp - 0x30], eax
jne 0x41ddfb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], 1
push 0x2c
push dword [ebp - 0x30]
call esi
cmp eax, edi
mov dword [ebp - 0x30], eax
je 0x41de33
mov word [eax], di
add dword [ebp - 0x30], 2
cmp dword [ebp - 0x48], 2
jl 0x41de2a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
mov dword [ebp + ecx*4 - 0x464], eax
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 0x6a
jl 0x41de02
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x18], edi
je 0x41de57
push 0x2c
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0x18], eax
je 0x41de57
mov eax, dword [ebp - 0x10]
mov word [eax - 2], di
mov eax, dword [ebp + 0xc]
cmp word [eax], di
jne 0x41de6d
test bl, bl
jne 0x41de6d
mov esi, 0x80070057
jmp 0x41e7f3
cmp dword [ebp - 0x18], edi
je 0x41de7c
mov eax, dword [ebp - 0x18]
mov word [eax], di
add dword [ebp - 0x18], 2
mov cl, byte [ebp - 2]
and cl, 2
mov byte [ebp - 0x51], cl
je 0x41de96
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x41de96
cmp word [eax], di
jne 0x41de96
mov dword [ebp - 0x10], edi
test cl, cl
je 0x41debd
cmp dword [ebp - 0x18], edi
je 0x41debd
mov ecx, dword [ebp + 8]
push edi
push 0x2c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0042c70d
mov eax, dword [ebp - 0x18]
cmp word [eax], di
jne 0x41debd
mov dword [ebp - 0x18], edi
xor ebx, ebx
cmp byte [ebp - 0x32], bl
mov dword [ebp - 8], ebx
je 0x41dee0
cmp dword [ebp - 0x18], edi
je 0x41ded7
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
mov byte [ebp - 0x12], 1
jmp 0x41f7f3
cmp byte [ebp - 0x31], 0
je 0x41df3b
cmp dword [ebp - 0x18], edi
mov byte [ebp - 0x12], 1
je 0x41f7f3
add dword [ebp - 0x18], 2
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
call fcn.00438b6a
cmp dword [ebp - 0x18], edi
pop ecx
pop ecx
je 0x41df15
add dword [ebp - 0x18], 2
push dword [ebp - 0x18]
lea ecx, [ebp + 0x10]
call fcn.0040bba7
push dword [ebp + 0x10]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea ecx, [ebp + 0x10]
mov ebx, eax
call fcn.0043092f
jmp 0x41f7f3
cmp byte [ebp - 0x19], 0
je 0x41df77
cmp dword [ebp - 0x18], edi
mov byte [ebp - 0x12], 1
je 0x41f7f3
add dword [ebp - 0x18], 2
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
call fcn.00438b6a
pop ecx
pop ecx
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ebx, eax
jmp 0x41f7f3
cmp dword [ebp - 0x18], edi
mov byte [ebp - 2], 0
jne 0x41e09d
cmp dword [ebp - 0x10], edi
jne 0x41df92
mov dword [ebp - 0x10], 0x497ef2
jmp 0x41dfb8
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
push 0x497ef2
call esi
test eax, eax
je 0x41dfb8
push dword [ebp - 0x10]
push 0x497ec6
call esi
test eax, eax
jne 0x41e09d
cmp dword [ebp - 0x3c], edi
mov byte [ebp - 2], 0xff
jge 0x41dfc8
mov dword [ebp - 0x3c], 0x31
cmp byte [ebp - 0x3c], 0
je 0x41e09d
lea ecx, [ebp + 0x10]
call fcn.00435d62
push 0xffffffffffffffff
push str.___exe:_
lea ecx, [ebp + 0x14]
call fcn.004403f9
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x10]
call fcn.00440459
lea ecx, [ebp + 0x14]
call fcn.0043092f
push 0x51c
lea ecx, [ebp + 0x10]
call fcn.00435da9
mov eax, dword [ebp + 0x10]
push 0x208
add eax, 0x10
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0xffffffffffffffff
push str.____nowin___nfb___hide_PECMDpecmd_cmd_CALL__
lea ecx, [ebp + 0x14]
call fcn.004403f9
push dword [eax]
lea ecx, [ebp + 0x10]
call fcn.00435dd0
lea ecx, [ebp + 0x14]
call fcn.0043092f
mov eax, dword [ebp - 0x38]
cmp eax, edi
jl 0x41e04c
mov ecx, dword [ebp - 0x64]
mov word [ecx + eax*2], di
push dword [ebp - 0x64]
lea ecx, [ebp + 0x10]
call fcn.00435dd0
push 0xffffffffffffffff
push 0x497e80
lea ecx, [ebp + 0x14]
call fcn.004403f9
push dword [eax]
lea ecx, [ebp + 0x10]
call fcn.00435dd0
lea ecx, [ebp + 0x14]
call fcn.0043092f
push dword [ebp - 0x10]
lea ecx, [ebp + 0x10]
call fcn.00435dd0
mov ecx, dword [ebp + 8]
push edi
push edi
push edi
push edi
push ecx
push dword [ebp + 0x10]
call fcn.004072ee
mov esi, eax
lea ecx, [ebp + 0x10]
jmp 0x41e7ee
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x41f88d
cmp word [eax], di
je 0x41f88d
cmp byte [ebp - 0x1c], 0
jne 0x41e10e
cmp byte [ebp - 0x25], 0
je 0x41e10e
cmp dword [ebp + 0x14], edi
je 0x41e10e
push 2
pop esi
cmp dword [ebp - 0x48], esi
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x24], eax
mov dword [ebp + 0x14], edi
jle 0x41e106
mov ecx, dword [ebp + 8]
push 1
push edi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + esi*4 - 0x464]
call fcn.0043e7f3
mov eax, dword [ebp + 0x14]
mov dword [ebp + esi*4 - 0x60c], eax
mov dword [ebp + esi*4 - 0x7b4], eax
inc esi
cmp esi, dword [ebp - 0x48]
mov dword [ebp + 0x14], edi
jl 0x41e0d6
lea ecx, [ebp + 0x14]
call fcn.0043092f
cmp byte [ebp - 0x1c], 0
push 2
pop eax
jne 0x41e2ad
cmp byte [ebp - 0x25], 0
je 0x41e2ad
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 4], 0
je 0x41e2ad
cmp byte [ebp - 0x51], 0
je 0x41e145
mov ecx, dword [ecx + 8]
test ecx, ecx
mov dword [ebp - 0x30], ecx
je 0x41e145
push 3
pop eax
mov ecx, dword [ebp - 0x24]
shl eax, 2
lea edi, [eax + ecx]
lea eax, [ebp + eax - 0x468]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
add dword [ebp - 0x24], 4
add edi, 4
test eax, eax
mov dword [ebp - 0x30], eax
je 0x41e2ad
mov esi, dword [ebp - 0x60]
mov cx, word [eax]
lea esi, [ebp + esi*4 - 0x224]
xor dl, dl
cmp byte [ebp - 1], 0x23
mov dword [esi], eax
je 0x41e273
cmp byte [ebp - 1], 0x2a
je 0x41e218
cmp byte [ebp - 1], 0x24
je 0x41e298
cmp byte [ebp - 1], 0x40
je 0x41e1cd
cmp byte [ebp - 1], 0x3d
je 0x41e208
cmp byte [ebp - 1], dl
je 0x41e26d
inc eax
inc eax
movzx ecx, cx
inc dl
cmp ecx, 0x2a
mov dword [ebp - 0x30], eax
je 0x41e218
cmp ecx, 0x3d
je 0x41e208
cmp ecx, 0x40
jne 0x41e298
test eax, eax
je 0x41e298
push 4
call fcn.00480078
test eax, eax
pop ecx
je 0x41e1ed
push dword [ebp - 0x30]
mov ecx, eax
call fcn.0040bba7
jmp 0x41e1ef
xor eax, eax
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.0040bc7d
mov eax, dword [ebp - 0x30]
jmp 0x41e298
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
movsx eax, dl
lea eax, [ecx + eax*2]
jmp 0x41e298
cmp word [eax], 0x2a
jne 0x41e223
inc eax
inc eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp + 0x14], eax
call fcn.00435d62
mov ecx, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x2c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.0042c70d
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x2c]
mov dword [ebp + 0x14], ebx
call fcn.0040cb92
cmp eax, ebx
je 0x41e25e
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
mov dword [esi], eax
call fcn.0043092f
jmp 0x41e29a
cmp cx, 0x23
jne 0x41e29a
cmp cx, 0x23
jne 0x41e27e
inc eax
inc eax
mov dword [ebp - 0x30], eax
and dword [ebp - 0x50], 0
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00438b6a
mov eax, dword [ebp - 0x50]
pop ecx
pop ecx
mov dword [esi], eax
inc dword [ebp - 0x60]
cmp byte [ebp - 0x42], 0
jne 0x41e2ad
cmp dword [ebp - 0x60], 0x64
jbe 0x41e158
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
push str._DllRegisterServer
push dword [ebp - 0x10]
call esi
xor edi, edi
test eax, eax
jne 0x41e2de
cmp dword [ebp - 0x3c], edi
mov dword [ebp - 0x10], 0x497ef2
mov byte [ebp - 2], 0xff
jge 0x41e2da
mov dword [ebp - 0x3c], 0x31
mov byte [ebp - 0x1b], 1
push str._DllUnregisterServer
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x41e307
cmp dword [ebp - 0x3c], edi
mov dword [ebp - 0x10], 0x497ec6
mov byte [ebp - 2], 0xff
jge 0x41e303
mov dword [ebp - 0x3c], 0x71
mov byte [ebp - 0x1b], 1
push 0x20a
lea ecx, [ebp - 0x68]
call fcn.00435d80
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
cmp word [eax], 0x23
mov dword [ebp - 0x2c], edi
jne 0x41e376
cmp word [eax + 2], di
jne 0x41e376
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00438b6a
mov eax, dword [ebp - 0x5c]
pop ecx
pop ecx
mov ecx, eax
or ecx, dword [ebp - 0x58]
jne 0x41e365
mov al, byte [ebp - 0x1d]
neg al
lea ecx, [ebp - 0x68]
sbb eax, eax
and eax, 0x7ff8ffa9
add eax, 0x80070057
mov ebx, eax
call fcn.0043092f
jmp 0x41f822
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 2], 1
jge 0x41e376
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
mov dword [ebp - 0x24], edi
mov byte [ebp + 0x17], 0
mov dword [ebp - 0x4c], edi
je 0x41e3a0
cmp word [ecx], 0x22
jne 0x41e394
mov dword [ebp - 0x4c], 1
push ecx
call fcn.0040eec0
pop ecx
mov ecx, eax
mov dword [ebp + 0xc], ecx
mov ax, word [ecx]
cmp ax, 0x2a
jne 0x41e3ad
mov byte [ebp - 9], 1
xor esi, esi
cmp ax, si
mov edi, ecx
jne 0x41e3b8
xor edi, edi
cmp byte [ebp - 0x11], 0
jg 0x41e3cc
push dword [ebp - 0x68]
push 0x208
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
cmp edi, esi
je 0x41e3e0
cmp word [edi], 0x2e
jne 0x41e3e0
cmp word [edi + 2], si
jne 0x41e3e0
mov bl, 1
jmp 0x41e3e2
xor bl, bl
cmp byte [ebp - 0x41], 0
je 0x41e428
cmp byte [ebp - 9], 0
jne 0x41e428
test bl, bl
je 0x41e3f9
mov eax, dword [0x4ace04]
jmp 0x41e400
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, esi
jne 0x41e411
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, esi
je 0x41e415
xor eax, eax
jmp 0x41e421
cmp byte [ebp - 0x1d], 0
jne 0x41e411
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x41e7eb
cmp byte [ebp - 0x1b], 0
jle 0x41e461
push 0x5c
push esi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
cmp eax, esi
je 0x41e461
sub eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
sar eax, 1
inc eax
push eax
push dword [ebp + 0xc]
call fcn.004403e0
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea ecx, [ebp - 0x38]
call fcn.0043092f
cmp dword [ebp - 0x2c], esi
jne 0x41e788
cmp byte [ebp - 9], 0
jne 0x41e4c8
mov esi, 0x4ad684
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [ebp - 2], 0
jne 0x41e4c1
test edi, edi
je 0x41e49d
cmp word [edi], 0x2e
jne 0x41e49d
cmp word [edi + 2], 0
jne 0x41e49d
mov eax, dword [0x4ace04]
mov dword [ebp - 0x24], eax
jmp 0x41e4af
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
mov dword [ebp - 0x24], eax
je 0x41e4b5
mov byte [ebp + 0x17], 0xff
cmp dword [ebp - 0x24], 0
jne 0x41e4b9
mov byte [ebp - 2], 1
test edi, edi
jne 0x41e4c1
mov byte [ebp - 2], 2
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
test edi, edi
je 0x41e649
cmp byte [ebp - 9], 0
je 0x41e61b
xor ecx, ecx
cmp dword [ebp - 0x4c], ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
mov esi, edi
jne 0x41e50e
cmp word [edi], 0x23
jne 0x41e50e
xor eax, eax
mov ax, word [edi + 2]
push eax
call fcn.004103b8
add esp, 4
test al, al
jne 0x41e518
cmp word [edi], 0x2a
jne 0x41e583
inc edi
inc edi
mov esi, edi
cmp word [edi], cx
mov eax, dword [0x4ace04]
mov dword [ebp - 0x38], ecx
je 0x41e532
cmp word [esi], 0x23
je 0x41e532
inc esi
inc esi
cmp word [esi], cx
jne 0x41e525
mov bx, word [esi]
cmp bx, 0x23
jne 0x41e592
and word [esi], 0
cmp word [edi], 0
je 0x41e553
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov dword [ebp - 0x38], eax
test eax, eax
mov word [esi], bx
je 0x41e572
push 0
lea ecx, [ebp - 0x234]
push ecx
push str.EXEDATA
push esi
push eax
call fcn.00410a1a
add esp, 0x14
cmp dword [ebp - 0x38], 0
je 0x41e592
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
jmp 0x41e592
lea eax, [ebp - 0x234]
push eax
push edi
call fcn.00410567
pop ecx
pop ecx
mov edi, dword [ebp - 0x234]
test edi, edi
mov ebx, dword [ebp - 0x230]
jne 0x41e5b9
lea ecx, [ebp - 0x234]
mov dword [ebp - 8], 0x80004005
call fcn.0043092f
jmp 0x41e64f
push 0x18
call fcn.00480078
test eax, eax
pop ecx
je 0x41e5d0
mov ecx, eax
call fcn.0040c6e7
mov esi, eax
jmp 0x41e5d2
xor esi, esi
push ebx
push edi
mov ecx, esi
call fcn.0041a464
test eax, eax
je 0x41e604
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
call fcn.0040bba7
push dword [eax]
mov ecx, esi
call fcn.0040c723
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
call fcn.0043092f
cmp dword [ebp - 0x2c], 0
jne 0x41e60b
mov dword [ebp - 8], 0x80004005
lea ecx, [ebp - 0x234]
call fcn.0043092f
jmp 0x41e788
test bl, bl
je 0x41e626
mov eax, dword [0x4ace04]
jmp 0x41e637
cmp byte [ebp + 0x17], 0
jne 0x41e63a
push edi
mov byte [ebp + 0x17], 1
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41e65e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x24], 0
jne 0x41e65e
cmp byte [ebp - 0x1a], 0
jne 0x41e7ad
jmp 0x41f7c4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
call fcn.0040bba7
push dword [eax]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push dword [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
call fcn.0043092f
cmp dword [ebp - 0x2c], 0
jne 0x41e788
cmp byte [ebp - 0x1c], 0
je 0x41e779
cmp byte [ebp - 1], 0
jne 0x41e779
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov dword [ebp - 0x4c], eax
lea esi, [eax + eax]
mov eax, dword [ebp - 0x10]
movzx eax, word [esi + eax - 2]
cmp ax, 0x61
jb 0x41e6c5
cmp ax, 0x5a
ja 0x41e6c5
xor eax, 0x20
cmp ax, 0x41
je 0x41e779
cmp ax, 0x57
je 0x41e779
push 4
call fcn.00480078
test eax, eax
pop ecx
je 0x41e6f5
mov ecx, dword [ebp - 0x4c]
inc ecx
push ecx
mov ecx, eax
call fcn.00435d80
mov edi, eax
jmp 0x41e6f7
xor edi, edi
push edi
lea ecx, [ebp - 0x240]
call fcn.0040bc7d
push dword [ebp - 0x4c]
push dword [ebp - 0x10]
push dword [edi]
call fcn.00404561
mov edi, dword [edi]
mov dword [ebp - 0x10], edi
mov word [esi + edi], 0x57
mov eax, dword [ebp - 0x10]
and word [esi + eax + 2], 0
mov eax, dword [ebp - 0x10]
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
add esi, eax
call fcn.0040bba7
push dword [eax]
push dword [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
call fcn.0043092f
cmp dword [ebp - 0x2c], 0
jne 0x41e788
mov word [esi], 0x41
push dword [ebp - 0x10]
lea ecx, [ebp - 0x4c]
call fcn.0040bba7
push dword [eax]
push dword [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
call fcn.0043092f
cmp dword [ebp - 0x2c], 0
je 0x41e77f
mov byte [ebp - 1], 0x40
cmp dword [ebp - 0x2c], 0
jne 0x41e788
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 8], eax
cmp byte [ebp - 0x1a], 0
je 0x41e820
cmp byte [ebp + 0x17], 0
jle 0x41e7ad
cmp byte [ebp - 2], 0
jg 0x41e7ad
cmp dword [ebp - 0x24], 0
je 0x41e7ad
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp byte [ebp - 0x1d], 0
je 0x41e7b8
mov esi, dword [ebp - 0x2c]
jmp 0x41e7eb
cmp dword [ebp - 0x2c], 0
je 0x41e7d6
push dword [ebp - 0x2c]
lea eax, [ebp - 0x2b8]
push str.0x_p
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x40]
call fcn.00435749
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x68]
call fcn.0043092f
lea ecx, [ebp - 0x228]
call fcn.0041a304
lea ecx, [ebp - 0x240]
call fcn.0044ab53
lea ecx, [ebp - 0x40]
call fcn.0043092f
lea ecx, [ebp - 0x64]
call fcn.0043092f
mov eax, esi
jmp 0x41f8c4
mov edi, dword [ebp - 0x2c]
xor ebx, ebx
cmp edi, ebx
mov byte [ebp - 9], 0
je case.default.0x41f207
test byte [ebp - 0x3c], 7
je 0x41e888
call fcn.00434f2e
cmp dword [ebp - 0x3c], ebx
je 0x41e888
cmp dword [0x4ad26c], ebx
je 0x41e888
cmp dword [0x4ad270], ebx
je 0x41e888
mov esi, 0x4ad684
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0xe]
test al, 2
jne 0x41e881
test al, 1
jne 0x41e86f
mov byte [ebp - 9], 1
or byte [ebp - 9], 2
or al, 3
push ebx
mov byte [ecx + 0xe], al
call dword [0x4ad26c]
jmp 0x41e888
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp - 0x1c], 0
je 0x41e93a
cmp byte [ebp - 1], 0x40
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x12], 1
mov word [ebp + 0x12], bx
jne 0x41e8bd
cmp dword [ebp - 0x18], ebx
je 0x41e8c2
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
call fcn.00435cea
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
jne 0x41e8c8
lea eax, [ebp + 0x12]
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
mov esi, dword [0x4ace04]
call fcn.0040e9a4
cmp dword [ebp - 0x10], 0
pop ecx
push 5
pop ebx
je 0x41e914
push 0x12
push dword [ebp - 0x10]
push str.InstallHinfSection
call fcn.004318b1
add esp, 0xc
test al, al
je 0x41e914
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x24], 0
je 0x41e910
mov word [eax + 0x24], 1
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x26], 0
jne 0x41e914
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 0x18]
push esi
push dword [eax + 0x28]
call fcn.00430dd1
pop ecx
push eax
call edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 8], eax
call fcn.0043092f
xor ebx, ebx
jmp case.default.0x41f207
cmp dword [ebp + 0x10], 1
mov ecx, dword [ebp - 0x60]
jne 0x41f1f2
push 0x64
pop eax
cmp eax, ecx
sbb al, al
inc al
cmp ecx, 0x10
mov byte [ebp - 0x12], al
ja case.default.0x41e95c
jmp dword [ecx*4 + 0x41f8cb]
push dword [ebp - 0x224]
call edi
jmp 0x41e97c
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
pop ecx
pop ecx
jmp 0x41f785
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0xc
jmp 0x41f785
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x10
jmp 0x41f785
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x14
jmp 0x41f785
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x18
jmp 0x41f785
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x1c
jmp 0x41f785
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x20
jmp 0x41f785
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x24
jmp 0x41f785
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x28
jmp 0x41f785
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x2c
jmp 0x41f785
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x30
jmp 0x41f785
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x34
jmp 0x41f785
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x38
jmp 0x41f785
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x3c
jmp 0x41f785
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x40
jmp 0x41f785
cmp ecx, 0x14
ja 0x41edb7
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x50
jmp 0x41f785
cmp ecx, 0x1e
ja 0x41ee7e
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x78
jmp 0x41f785
cmp ecx, 0x28
ja 0x41ef84
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
push dword [ebp - 0x194]
push dword [ebp - 0x198]
push dword [ebp - 0x19c]
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0xa0
jmp 0x41f785
cmp ecx, 0x64
ja case.default.0x41f207
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
push dword [ebp - 0x164]
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
push dword [ebp - 0x174]
push dword [ebp - 0x178]
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
push dword [ebp - 0x184]
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
push dword [ebp - 0x194]
push dword [ebp - 0x198]
push dword [ebp - 0x19c]
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
push dword [ebp - 0x1c0]
push dword [ebp - 0x1c4]
push dword [ebp - 0x1c8]
push dword [ebp - 0x1cc]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
add esp, 0x190
jmp 0x41f785
push 0x14
pop eax
cmp eax, ecx
sbb al, al
inc al
cmp ecx, 0x14
mov byte [ebp - 0x12], al
ja case.default.0x41f207
jmp dword [ecx*4 + 0x41f90f]
call edi
jmp 0x41f785
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
jmp 0x41f785
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x1e0]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push dword [ebp - 0x204]
push dword [ebp - 0x208]
push dword [ebp - 0x20c]
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call edi
mov dword [ebp - 8], eax
cmp byte [ebp + 0x17], 0
jle 0x41f7a2
cmp byte [ebp - 2], 0
jg 0x41f7a2
cmp dword [ebp - 0x24], ebx
je 0x41f7a2
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp byte [ebp - 9], 0
je 0x41f7c4
call dword [0x4ad270]
mov cl, byte [ebp - 9]
mov eax, dword [ebp + 8]
not cl
and byte [eax + 0xe], cl
push 0x4ad684
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp - 0x11], 0
jg 0x41f7d3
push dword [ebp - 0x68]
call fcn.0040e0a2
pop ecx
mov eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x58]
je 0x41f7e1
cmp byte [ebp - 0x11], 0
jg 0x41f7e6
call fcn.004105cd
lea ecx, [ebp - 0x68]
call fcn.0043092f
mov ebx, dword [ebp - 8]
xor edi, edi
mov eax, dword [ebp - 0x40]
mov ax, word [eax]
cmp ax, di
je 0x41f843
cmp ax, 0x2a
je 0x41f81e
cmp byte [ebp - 0x12], 0
je 0x41f81e
mov eax, ebx
cdq
push edx
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.004752d0
add esp, 0xc
xor ebx, ebx
xor edi, edi
mov ecx, dword [ebp - 0x40]
mov ax, word [ecx]
cmp ax, di
je 0x41f843
cmp ax, 0x2a
je 0x41f843
lea eax, [ebp - 0x2b8]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00435749
mov esi, dword [ebp - 0x48]
test esi, esi
jge 0x41f863
mov eax, dword [ebp + esi*4 - 0x7b4]
test eax, eax
je 0x41f860
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0043092f
inc esi
js 0x41f84a
lea ecx, [ebp - 0x228]
call fcn.0041a304
lea ecx, [ebp - 0x240]
call fcn.0044ab53
lea ecx, [ebp - 0x40]
call fcn.0043092f
lea ecx, [ebp - 0x64]
call fcn.0043092f
mov eax, ebx
jmp 0x41f8c4
lea ecx, [ebp - 0x228]
call fcn.0041a304
lea ecx, [ebp - 0x240]
call fcn.0044ab53
lea ecx, [ebp - 0x40]
call fcn.0043092f
lea ecx, [ebp - 0x64]
call fcn.0043092f
mov al, byte [ebp - 0x1d]
neg al
sbb eax, eax
and eax, 0x7ff8ffa9
add eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 0x10