Function at 0x41d845
Capabilities:
Allocate thread local storage
Delete directory
Get disk information
Get file attributes
Log keystrokes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov dword [ebp - 0xc], 0xffff
mov dword [ebp - 4], 9
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x40], ecx
mov dword [ebp - 8], 0
jmp 0x41d883
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xdc], 0x6eb6b9dd
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x41d872
inc dword [ebp - 0xc]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push edi
push 1
pop ebx
push 3
mov dword [ebp - 0xc], 0xffffffe4
pop edi
jmp 0x41d9ca
mov dword [ebp - 8], 0xfebb6748
mov dword [ebp - 8], 0x10
jmp 0x41d9bd
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 0x1c], 0x920a6ff
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x41d8dd
push 0x2366
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x20], 0
jmp 0x41da3e
push edi
lea ecx, [ebp - 0xc8]
call fcn.00415aed
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x41d90b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc8]
mov dword [eax + ecx*4], edi
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x41d8fc
cmp dword [ebp - 0xc], edx
jne 0x41d91c
mov eax, edx
cmp dword [ebp - 0x20], edx
je 0x41d91e
mov eax, ebx
mov dword [ebp - 0x1c], eax
mov ecx, 0x5206
mov eax, dword [ebp - 0xdc]
sub ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc8]
imul edx, ecx
xor ecx, ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0xdc]
cmp eax, edx
sete cl
xor eax, eax
cmp ecx, 0x1479
setg al
imul eax, dword [ebp - 8]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xcf7d1649
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x881826fb
jne 0x41da1c
mov dword [ebp - 4], 0
jmp 0x41d99f
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x41d99c
push 0
call esi
push eax
call dword [sym.imp.USER32.dll_ValidateRgn]
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xb
jge 0x41d987
cmp dword [ebp - 0x28], 0
je 0x41da30
lea ecx, [ebp - 0xc8]
call fcn.00415bbf
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xb
jne 0x41d8ba
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x2b
jl 0x41d8a7
mov dword [ebp - 0x2c], 0xfffffff7
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x2c], 0x7a7c2039
mov dword [ebp - 0x2c], 0x2167fa5c
mov dword [ebp - 0x2c], 0x666a756a
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x2c], ebx
push 4
call fcn.00415aed
xor edx, edx
mov dword [ebp - 0x1c], 0xaaf5bfb6
mov dword [ebp - 8], edx
jmp 0x41da5f
mov dword [ebp - 0x24], 0x540f
mov dword [ebp - 0x30], 0x357f039d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0xc8]
call fcn.00415bbf
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ebx
jle 0x41d8e9
jmp 0x41d9ba
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x19c]
mov dword [eax + ecx*4], 7
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x41da4c
mov byte [ebp - 0x15], dl
cmp byte [ebp - 0x15], dl
je 0x41da83
push 0x369
push edx
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_Polygon]
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x19c]
call fcn.00415bbf
mov dword [ebp - 0x20], 0xfffffff6
mov eax, 0x30de9bf9
mov dword [ebp - 0xc], 0xc204e2db
xor ecx, ecx
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0xfffffffe
jle 0x41db22
or edx, 0xffffffff
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 8], ecx
jmp 0x41dafb
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c4], 0x3a0b8ee4
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x41daea
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x140], edx
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffffe
jg 0x41daca
push 2
pop esi
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x15c]
push esi
call fcn.00415aed
mov dword [ebp - 0x2c], 0xffffffff
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x2c], 0xfffffff6
mov dword [ebp - 0x2c], 0x8c443eb6
push ebx
call fcn.00415aed
push ebx
lea ecx, [ebp - 0xf4]
call fcn.00415aed
xor edx, edx
mov dword [ebp - 0x14], edx
jmp 0x41db88
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x15c]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x41db79
mov dword [ebp - 0x14], edx
jmp 0x41dba2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x180]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x41db92
mov dword [ebp - 0x14], edx
jmp 0x41dbbf
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xf4]
mov dword [eax + ecx*4], 0x7182
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jl 0x41dbac
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0xf4]
inc dword [eax]
call fcn.00415bbf
lea ecx, [ebp - 0x180]
call fcn.00415bbf
lea ecx, [ebp - 0x15c]
call fcn.00415bbf
mov dword [ebp - 0x3c], 0xa6d
lea ecx, [ebp - 0xa4]
push edi
call fcn.00415aed
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], edx
jmp 0x41dc1d
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xa4]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x41dc0d
mov dword [ebp - 0xc], edx
jmp 0x41dc48
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa4]
push 2
mov eax, dword [eax + ecx*4]
mov dword [edx + esi*4], eax
mov dword [ebp - 0x24], eax
inc dword [ebp - 0xc]
pop esi
cmp dword [ebp - 0xc], esi
jle 0x41dc27
lea ecx, [ebp - 0xa4]
call fcn.00415bbf
mov dword [ebp - 0x1c], 0xd0e834ab
mov dword [ebp - 0x44], 0xdb5a
mov dword [ebp - 8], 0xe0648261
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 8], 0
jmp 0x41dc92
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
je 0x41dc8f
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffef
jg 0x41dc7d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0xfffa
mov dword [ebp - 0x20], 0
jmp 0x41dcbc
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x4c], 4
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x41dcae
mov dword [ebp - 0x20], 0
jmp 0x41dcd7
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xe8], esi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x41dcca
mov dword [ebp - 0xc], 0xb110c93b
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0x35984225
mov dword [ebp - 0x1c], 0xfff6
mov dword [ebp - 0xc], 8
jmp 0x41ddbb
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 0
jmp 0x41dd21
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1a8], 0x59ec1348
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x41dd10
mov dword [ebp - 4], 0xa
jmp 0x41ddae
mov dword [ebp - 0x24], 0
cmp dword [ebp - 4], 0
je 0x41dd67
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4], 0xffff9364
neg eax
sbb eax, eax
xor edx, edx
neg eax
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
add ecx, dword [ebp - 0x24]
je 0x41dd67
mov edx, ebx
jmp 0x41dd69
xor edx, edx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 4]
cmp edx, eax
setg cl
cmp ecx, dword [ebp - 0x20]
jle 0x41dd87
cmp dword [ebp - 4], 0
jne 0x41dd87
xor eax, eax
jmp 0x41dd89
mov eax, ebx
inc eax
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x20], ecx
jl 0x41ddab
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jns 0x41dda3
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x14
jge 0x41dd2f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffff7
je 0x41dd04
mov dword [ebp - 0x20], 0xe
cmp dword [ebp - 0x20], 0xfffffffa
jle 0x41e074
mov dword [ebp - 0x10], 0xfffffffc
mov dword [ebp - 0x10], 0
jmp 0x41e058
push 7
pop eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0x574417f9
mov dword [ebp - 0xc], eax
push edi
call fcn.00415aed
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x41de1c
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xbc]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x41de0c
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
je 0x41dffa
push 0xfffffffffffffffd
pop esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x28], 0x1ad7ba96
mov dword [ebp - 0x24], 8
mov dword [ebp - 8], edx
jmp 0x41de54
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jl 0x41de46
mov dword [ebp - 0x34], 0xffffffec
jmp 0x41dfe5
mov dword [ebp - 0x38], 0xfffffffa
mov dword [ebp - 4], edx
jmp 0x41de7f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x78], 0x650ba430
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41de71
mov dword [ebp - 4], edx
jmp 0x41de9a
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x168], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x41de89
cmp dword [ebp - 0x14], edx
je 0x41df1c
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x34]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
setle cl
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x28], eax
jg 0x41dee3
mov eax, ebx
cmp dword [ebp - 0x34], edx
jne 0x41dee5
mov eax, edx
mov edx, dword [ebp - 0x38]
xor ecx, ecx
add edx, eax
mov eax, dword [ebp - 0x34]
cmp edx, eax
setne cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
imul eax, eax, 0x3b94
test eax, eax
je 0x41df1a
mov edx, ebx
jmp 0x41df1c
xor edx, edx
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x38]
sete cl
xor edx, edx
imul eax, ecx
test eax, eax
je 0x41dfc8
mov dword [ebp - 0x1c], 0x45a3
mov dword [ebp - 4], edx
cmp dword [ebp - 4], edx
jl 0x41dfe2
mov dword [ebp - 0x30], esi
mov dword [ebp - 8], edx
jmp 0x41df86
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], edx
jl 0x41df83
mov byte [ebp - 0x15], dl
cmp byte [ebp - 0x15], 0
je 0x41df7e
push edx
push edx
push 0xeb2
push edx
push 0x1c25
push edx
push 0x17cd
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
dec dword [ebp - 0xc]
jns 0x41df59
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jle 0x41df51
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1c], edx
jne 0x41df96
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push 0
mov dword [ebp + eax*4 - 0x78], edx
mov eax, dword [ebp - 0x1c]
cmp eax, edx
pop edx
setle cl
add ecx, ecx
mov dword [ebp - 0x168], ecx
dec dword [ebp - 4]
jns 0x41df49
jmp 0x41dfe0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x15], dl
cmp byte [ebp - 0x15], dl
je 0x41dfe2
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor edx, edx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], esi
jge 0x41de65
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jne 0x41de30
mov eax, dword [ebp - 0x14]
add eax, 8
jne 0x41e01a
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jne 0x41e01a
mov eax, dword [ebp - 0xbc]
mov esi, edx
cmp dword [eax + 8], edx
je 0x41e01c
mov esi, ebx
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
setne dl
xor eax, eax
cmp esi, 0xffffffff
setl al
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0xbc]
cmp edx, dword [eax + 8]
setg cl
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xbc]
call fcn.00415bbf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jge 0x41dde9
mov eax, dword [ebp - 0x48]
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffffa
jg 0x41ddd6
push 2
pop esi
push 4
lea ecx, [ebp - 0xb0]
call fcn.00415aed
mov dword [ebp - 0x14], 0x4a18885c
mov eax, 0x925d3c09
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x10], 0
jmp 0x41e0c1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xb0]
mov dword [eax + ecx*4], 0xb3198a8f
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x41e0ae
mov dword [ebp - 0x14], 0
jmp 0x41e258
mov dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x30], 0x4393
mov dword [ebp - 0x24], 0xffffffff
push ebx
call fcn.00415aed
xor edx, edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
jmp 0x41e112
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x174], 0x69d1fe90
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x41e101
mov dword [ebp - 4], edx
jmp 0x41e12f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x100]
mov dword [eax + ecx*4], 0x9d6b80f4
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41e11c
mov dword [ebp - 0xc], edx
jmp 0x41e241
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0xafe497d6
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, 0xbf2b8319
setle cl
cmp eax, ecx
sbb eax, eax
inc eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x174], eax
neg eax
jne 0x41e191
cmp dword [ebp - 0x94], 0
jne 0x41e191
xor eax, eax
jmp 0x41e193
mov eax, ebx
cmp eax, dword [ebp - 0x14]
je 0x41e19e
mov eax, dword [ebp - 0x90]
mov eax, dword [ebp - 0xc]
mov edx, 0x8c53
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb0]
sub edx, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb0]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, edx
test ecx, ecx
je 0x41e1de
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, ecx
mov eax, dword [ebp - 8]
setg dl
xor ecx, ecx
cmp edx, 0x5357
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 8]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x100]
setl cl
xor edx, edx
cmp ecx, 4
setne dl
xor ecx, ecx
mov dword [eax], edx
mov eax, dword [ebp - 8]
cmp edx, eax
setg cl
sub ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jle 0x41e13c
lea ecx, [ebp - 0x100]
call fcn.00415bbf
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x41e0d3
lea ecx, [ebp - 0xb0]
call fcn.00415bbf
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov eax, dword [ebp - 0x48]
cmp eax, 0x8fc3a8a
mov eax, dword [ebp - 0x3c]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x20]
push 5
setge dl
add edx, 0xfc80ae84
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
mov eax, dword [ebp - 0x3c]
setl cl
sub ecx, eax
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, 0xa77b
mov eax, dword [ebp - 0x48]
setne cl
sub eax, ecx
pop ecx
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x44], ecx
jl 0x41e4fe
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x124]
push esi
call fcn.00415aed
xor edx, edx
mov dword [ebp - 4], edx
jmp 0x41e306
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x58], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x41e2fc
mov dword [ebp - 4], edx
jmp 0x41e320
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x124]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x41e310
mov dword [ebp - 4], esi
cmp dword [ebp - 4], edx
jl 0x41e4a2
push esi
lea ecx, [ebp - 0x118]
call fcn.00415aed
mov dword [ebp - 0x2c], 0x9b41dbc4
xor edx, edx
mov dword [ebp - 0xc], 0xb167d3d8
mov dword [ebp - 0x10], edx
jmp 0x41e361
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x118]
mov dword [eax + ecx*4], esi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x41e352
mov esi, dword [ebp - 0x118]
mov dword [esi + 4], 2
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x2c], 0xfffffffb
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x30], 0x2089ce3
mov dword [ebp - 0x1c], 2
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 4], eax
setne al
xor ecx, ecx
cmp eax, 0xe0c0
sete cl
xor eax, eax
cmp dword [esi + 4], ecx
setge al
cmp eax, ebx
jle 0x41e3f1
mov dword [ebp - 0x2c], 0xfa1b4415
inc dword [ebp - 0xc]
jmp 0x41e480
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
jmp 0x41e476
mov eax, dword [esi + 4]
mov eax, dword [ebp + eax*4 - 0x58]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc], edx
je 0x41e40b
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 2
cmp dword [ebp - 0x10], edx
jl 0x41e473
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jg 0x41e45b
mov edx, dword [ebp - 0x124]
mov eax, dword [esi + 4]
mov ecx, 0x8afc
mov eax, dword [ebp + eax*4 - 0x58]
sub ecx, eax
mov dword [edx + 4], ecx
mov eax, dword [esi + 4]
cmp dword [ebp + eax*4 - 0x58], 0
jne 0x41e459
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jle 0x41e435
xor edx, edx
mov byte [ebp - 0x15], dl
cmp byte [ebp - 0x15], 0
je 0x41e46e
push edx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
xor edx, edx
dec dword [ebp - 0x10]
jns 0x41e426
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jle 0x41e3f9
dec dword [esi + 4]
jns 0x41e373
lea ecx, [ebp - 0x118]
call fcn.00415bbf
dec dword [ebp - 4]
push 2
pop esi
jns 0x41e331
xor edx, edx
mov byte [ebp - 0x15], dl
cmp byte [ebp - 0x15], 0
je 0x41e4b2
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [ebp - 0x124]
call fcn.00415bbf
mov dword [ebp - 0x1c], ebx
inc dword [ebp - 0x1c]
xor edx, edx
push 6
pop esi
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 8], 0x5052061f
mov dword [ebp - 0x1c], 0x9d5fac12
mov dword [ebp - 0x1c], 0x932e3ca3
mov dword [ebp - 0x28], 0x49c23edb
mov dword [ebp - 8], edx
jmp 0x41e6a5
xor edx, edx
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x10], edx
jmp 0x41e51c
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x190], ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x41e50f
mov dword [ebp - 0x20], 0x18
cmp dword [ebp - 0x20], 0xfffffff5
jle 0x41e4c5
push 6
pop esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], 0x4e26
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x188]
cmp esi, eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
mov eax, dword [ebp - 0x4c]
setg dl
xor ecx, ecx
cmp eax, edx
setl cl
xor edx, edx
mov dword [ebp - 0x188], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
setge dl
sub edx, dword [ebp - 0x28]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
imul edx, dword [ebp - 0x28]
cmp edx, 0x978c
setne cl
imul eax, dword [ebp - 0x24], 0xa183
xor edx, edx
cmp eax, ecx
jne 0x41e5b1
mov eax, ebx
cmp dword [ebp - 0x18c], edx
jne 0x41e5b3
mov eax, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], 0xfe298319
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xfffffff5
jg 0x41e532
jmp 0x41e4c8
mov dword [ebp - 0x14], 0xfffffffa
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], edi
jg 0x41e6a2
mov dword [ebp - 0x2c], 0x6e1ee67b
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x88]
test eax, eax
mov eax, dword [ebp - 0x14]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setle cl
xor edx, edx
test ecx, ecx
mov eax, dword [ebp + eax*4 - 0x88]
setle dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, ebx
cmp dword [ebp - 0x28], ecx
jne 0x41e630
mov eax, ecx
add eax, 3
je 0x41e63a
cmp dword [ebp - 0x14], ecx
jne 0x41e63c
mov ebx, ecx
mov dword [ebp - 0x1c], 0xcba8
mov ecx, dword [ebp - 0x14]
imul ecx, ebx
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
xor ebx, ebx
inc ecx
mov eax, dword [ebp + eax*4 - 0x88]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setne bl
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x88]
imul eax, dword [ebp - 0x1c]
add ebx, eax
mov eax, dword [ebp - 8]
cmp ebx, eax
mov eax, dword [ebp - 0x14]
setl dl
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x14], edx
jne 0x41e69f
inc dword [ebp - 0x14]
push 1
pop ebx
cmp dword [ebp - 0x14], edi
jle 0x41e5e2
xor ebx, ebx
inc ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x41e5cf
cmp byte [ebp - 0x16], 0
je 0x41ebe7
mov dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xfffffffa
mov dword [ebp - 4], edx
mov dword [ebp - 0x44], 9
mov dword [ebp - 0x1c], 0x5969a22d
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x20], 0xec326874
mov dword [ebp - 0x24], 0x38e486ae
mov dword [ebp - 8], 0xc93cc254
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], 0xcd546735
mov dword [ebp - 0x38], ebx
push edi
call fcn.00415aed
mov esi, 0xfffc
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], 0xd60280e4
push 4
call fcn.00415aed
mov dword [ebp - 4], 0
jmp 0x41e73e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
mov dword [eax + ecx*4], 0xedfc3e8c
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x41e72e
mov dword [ebp - 4], 0
jmp 0x41e75f
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
mov dword [eax + ecx*4], 0x9bdf
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x41e74c
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x28]
je 0x41e786
mov eax, dword [ebp - 0xc]
mov ecx, 0xd61fb9a3
cmp ecx, eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x10]
jle 0x41e786
mov edx, ebx
jmp 0x41e788
xor edx, edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
add ecx, edx
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x64]
setg dl
sub edx, esi
neg edx
sbb edx, edx
inc edx
imul edx, dword [eax]
mov eax, dword [ebp - 4]
imul ecx, edx, 0xedf4
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x64]
setge dl
xor ecx, ecx
cmp edx, eax
setg cl
xor edx, edx
mov dword [esi + 4], ecx
cmp ecx, dword [ebp - 0x38]
jg 0x41e7f9
cmp dword [ebp - 8], edx
je 0x41e7f9
mov byte [ebp - 0x16], dl
cmp byte [ebp - 0x16], dl
je 0x41e8a8
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
jmp 0x41e8a6
mov dword [ebp - 0x10], ebx
xor ecx, ecx
mov dword [ebp - 0x30], 0x3ccf75ba
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x30], 0xff79c94d
mov dword [ebp - 0x38], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 8], edx
je 0x41e84f
mov eax, ebx
cmp dword [ebp - 0x10], edx
jne 0x41e851
mov eax, edx
cmp eax, dword [ebp - 0x38]
jl 0x41e85d
mov ecx, ebx
cmp dword [ebp - 0x1c], edx
jne 0x41e85f
mov ecx, edx
mov eax, dword [ebp - 0x38]
xor edx, edx
cmp ecx, eax
setl dl
xor ecx, ecx
add edx, dword [ebp - 0x10]
imul edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
cmp eax, edx
setg cl
imul eax, ecx, 0x4e4a
test eax, eax
je 0x41e88e
cmp dword [ebp - 0x14], 0
je 0x41e88e
mov ecx, ebx
jmp 0x41e890
xor ecx, ecx
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x44]
imul edx, ecx
xor ecx, ecx
cmp eax, edx
setle cl
mov dword [ebp - 4], ecx
xor edx, edx
cmp dword [ebp - 0x20], edx
jne 0x41e8e8
cmp dword [ebp - 0x44], 0xd0e4
jl 0x41e8bf
mov eax, dword [ebp - 0x64]
mov ecx, ebx
cmp dword [eax], edx
jne 0x41e8c1
mov ecx, edx
mov eax, dword [ebp - 0x10c]
mov dword [eax], ecx
mov ecx, edx
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x64]
mov dword [esi + 4], 0x782e
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 4], edx
je 0x41e8ea
mov ecx, ebx
mov eax, dword [ebp - 0x44]
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
xor edx, edx
cmp ecx, 0xc7e6
setge dl
xor eax, eax
cmp edx, 0x38bc
setl al
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
neg edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
setge cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setne cl
xor edx, edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 8]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
call fcn.00415bbf
lea ecx, [ebp - 0x64]
call fcn.00415bbf
push edi
lea ecx, [ebp - 0xd4]
call fcn.00415aed
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], 0x4dde9ab5
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x41e9c6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xd4]
mov dword [eax + ecx*4], 0x5e00fe1c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x41e9b3
mov byte [ebp - 0x16], 0
cmp byte [ebp - 0x16], 0
je 0x41e9db
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [ebp - 0xd4]
xor ecx, ecx
mov esi, dword [edi + 4]
lea eax, [esi + esi]
cmp eax, esi
setle cl
xor edx, edx
cmp ecx, esi
setle dl
xor eax, eax
cmp esi, 4
sete al
xor ecx, ecx
sub eax, edx
cmp eax, 0x42b9193c
setne cl
sub ecx, esi
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
cmp eax, ecx
mov ecx, dword [ebp - 0xd4]
setge dl
xor eax, eax
cmp edx, ebx
setg al
cmp dword [edi + 4], eax
jge 0x41ea3b
cmp dword [ecx], 0
je 0x41ea3b
mov eax, ebx
jmp 0x41ea3d
xor eax, eax
sub eax, dword [ecx + 8]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
call fcn.00415bbf
mov eax, 0xe91a049f
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xc], 0xb22124f8
push ebx
call fcn.00415aed
xor edx, edx
mov dword [ebp - 0x10], edx
jmp 0x41ea92
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x130]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jl 0x41ea7f
push 3
mov dword [ebp - 0xc], edx
pop edi
cmp dword [ebp - 0xc], edi
jg 0x41eb98
mov esi, 0xb055cc25
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], 0xfffffffd
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edx
jl 0x41eb8c
mov dword [ebp - 0x10], edx
jmp 0x41eade
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1b4], 0xfffffffa
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x41eacd
mov byte [ebp - 0x16], dl
cmp byte [ebp - 0x16], 0
je 0x41eafa
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [ebp - 4]
dec eax
neg eax
sbb eax, eax
neg eax
sub eax, dword [ebp - 0x74]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0xc]
jne 0x41eb15
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, ebx
xor edx, edx
push 1
mov eax, dword [ebp + eax*4 - 0x74]
mov eax, dword [ebp - 0x130]
mov dword [eax], esi
mov eax, dword [ebp - 0x70]
sub ecx, eax
mov eax, dword [ebp - 4]
add eax, ecx
cmp eax, 0x2adaa237
mov eax, dword [ebp - 0xc]
setg dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x74]
cmp eax, edx
mov eax, dword [ebp - 0xc]
setle cl
xor edx, edx
cmp ecx, 0xfffffff9
setl dl
xor ebx, ebx
imul edx, dword [ebp + eax*4 - 0x74]
sub edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp edx, 0xa094
setle bl
sub ebx, esi
neg ebx
sbb ebx, ebx
xor ecx, ecx
inc ebx
cmp ebx, eax
pop ebx
setne cl
mov dword [ebp - 0x1b0], ecx
dec dword [ebp - 4]
push 0
pop edx
jns 0x41eac8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jle 0x41eaab
mov byte [ebp - 0x16], dl
cmp byte [ebp - 0x16], 0
je 0x41ebb2
push edx
push 0x6dc
push 0x262c
call dword [sym.imp.USER32.dll_AttachThreadInput]
lea ecx, [ebp - 0x130]
call fcn.00415bbf
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], edi
jge 0x41ecf4
mov esi, dword [ebp - 0x40]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xb1b5
inc dword [edx]
cmp dword [edx], edi
jl 0x41ebd1
jmp 0x41ecf4
mov dword [ebp - 8], 0xfffffff8
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x16], dl
cmp byte [ebp - 0x16], 0
je 0x41ec02
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x41ec51
mov dword [ebp - 0x28], 0xd0374c7a
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 8], edx
je 0x41ec1d
mov eax, ebx
cmp dword [ebp - 0x28], edx
jne 0x41ec1f
mov eax, edx
add eax, 0xf494e3ba
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
imul eax, dword [ebp - 0x28]
cmp eax, 0xfffffffd
mov eax, esi
setne cl
sub eax, ecx
xor ecx, ecx
imul eax, dword [ebp - 0x28]
imul eax, eax, 0xd0
cmp eax, 0xffffffff
setle cl
mov dword [ebp - 0x40], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x10
jl 0x41ec07
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], 0x703d9b95
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x24], 0x70512a30
mov dword [ebp - 0x24], 0xd66c4a87
mov dword [ebp - 0x40], edx
mov byte [ebp - 0x16], dl
cmp byte [ebp - 0x16], 0
je 0x41ec85
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x10]
mov ecx, 0x37c1d6b3
mov eax, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
sub ecx, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
setge dl
xor eax, eax
cmp edx, 0xfffffffb
setne al
imul eax, dword [ebp - 0x10]
imul eax, eax, 0xffff
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
imul eax, eax, 0xba33
test eax, eax
je 0x41ecd3
cmp dword [ebp - 0x1c], ecx
jne 0x41ecd5
mov ebx, ecx
push ecx
push 0x168f
push ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push ecx
push ecx
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret