Function at 0x41ee80
Capabilities:
Check if file exists
Delete directory
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x5e9db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2f4]
mov esi, ecx
push eax
mov dword [ebp - 0x26c], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x278], ecx
cmp ecx, eax
je 0x420086
mov edi, dword [ebp - 0x278]
lea ecx, [ebp - 0x268]
add edi, 8
push ecx
call fcn.0041c2c0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x248], 0
jne 0x420055
mov edi, dword [ebp - 0x268]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x41ef2b
cmp eax, dword [edi - 0x10]
jne 0x41ef2b
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41ef63
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4200cd
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054fc42
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x27c], ebx
lea ecx, [ebp - 0x2a8]
push ecx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x2a8]
sub eax, dword [ebp - 0x2f4]
mov ecx, dword [ebp - 0x2a4]
mov ebx, dword [ebp - 0x2f0]
push 0
push 0x2710
sbb ecx, ebx
push ecx
push eax
call fcn.0055e6a0
push 0
push 0x3e8
push edx
push eax
call fcn.0055e6a0
mov ecx, edx
mov edx, dword [ebp - 0x26c]
mov edi, eax
mov eax, dword [edx + 0x10]
cdq
cmp ecx, edx
ja 0x4200d2
jb 0x41efd3
cmp edi, eax
ja 0x4200d2
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41effe
push str.regkey
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41effe
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41f035
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41f13d
push str.REG_KEY
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f13d
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41f13d
push str.HKEY_LOCAL_MACHINE
push str.hklm
lea ecx, [ebp - 0x25c]
call fcn.00404a70
push str.HKEY_LOCAL_MACHINE
push str.HKLM
lea ecx, [ebp - 0x25c]
call fcn.00404a70
push str.HKEY_CURRENT_USER
push str.HKCU
lea ecx, [ebp - 0x25c]
call fcn.00404a70
push str.HKEY_CURRENT_USER
push str.hkcu
lea ecx, [ebp - 0x25c]
call fcn.00404a70
push 0x5afbc8
lea ecx, [ebp - 0x2bc]
call fcn.00401d50
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 7
call fcn.0043c3c0
test al, al
je 0x41f117
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41f0e5
push str.exists
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f0e5
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41f0e5
mov byte [ebp - 0x248], 1
mov eax, dword [ebp - 0x254]
cmp dword [eax - 0xc], 0
jl 0x41f117
push str.exists
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f117
sub eax, dword [ebp - 0x254]
sar eax, 1
cmp eax, 0xffffffff
je 0x41f117
mov byte [ebp - 0x248], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2bc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f13d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41f168
push str.regvalue
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f168
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41f19f
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41f3e0
push str.REG_VALUE
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f3e0
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41f3e0
push 0x5afbc8
lea ecx, [ebp - 0x244]
call fcn.00401d50
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 8
call fcn.0043d200
test al, al
je 0x41f3ba
mov esi, dword [ebp - 0x254]
mov ecx, str.equals
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f206
test dx, dx
je 0x41f202
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f206
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f1e0
xor eax, eax
jmp 0x41f20b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f267
mov ecx, dword [ebp - 0x250]
test ecx, ecx
setne al
test eax, eax
je 0x42024d
mov eax, dword [ebp - 0x244]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f24e
test dx, dx
je 0x41f24a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f24e
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f228
xor eax, eax
jmp 0x41f253
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f3ba
mov byte [ebp - 0x248], 1
jmp 0x41f3ba
cmp dword [esi - 0xc], 0
jl 0x41f3ba
push str.contains
push esi
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f3ba
sub eax, dword [ebp - 0x254]
sar eax, 1
cmp eax, 0xffffffff
je 0x41f3ba
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x41f2de
mov ecx, dword [ebp - 0x244]
cmp dword [ecx - 0xc], 0
jl 0x41f2de
push eax
push ecx
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f2d8
sub eax, dword [ebp - 0x244]
sar eax, 1
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x250]
je 0x41f2de
mov byte [ebp - 0x248], 1
jmp 0x41f2de
mov eax, dword [ebp - 0x250]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x420257
cmp ecx, edx
jg 0x420257
cmp word [eax + ecx*2], 0x2a
jne 0x41f3ba
add eax, 0xfffffff0
push eax
call fcn.004052f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x240], eax
mov bl, 9
mov byte [ebp - 4], bl
mov eax, dword [eax - 0xc]
dec eax
push eax
lea edx, [ebp - 0x2e0]
push edx
lea ecx, [ebp - 0x240]
call fcn.0041b9f0
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xa
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2e0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f365
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x240]
test edi, edi
je 0x41f39a
mov eax, dword [ebp - 0x244]
cmp dword [eax - 0xc], 0
jl 0x41f39a
push edi
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f39a
sub eax, dword [ebp - 0x244]
sar eax, 1
jne 0x41f39a
mov byte [ebp - 0x248], 1
lea eax, [edi - 0x10]
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f3ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f3e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41f40b
push str.file
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f40b
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41f442
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41f917
push str.FILE
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f917
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41f917
mov eax, dword [ebp - 0x25c]
cmp dword [eax - 0xc], 0
jge 0x41f456
or esi, 0xffffffff
jmp 0x41f638
push str.ff
push eax
call fcn.005500f6
add esp, 8
test eax, eax
jne 0x41f470
or esi, 0xffffffff
jmp 0x41f638
sub eax, dword [ebp - 0x25c]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x41f638
push str._appdata_
lea ecx, [ebp - 0x2b0]
call fcn.00401d50
push 0x104
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x2b0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.extensions.sqlite
lea ecx, [ebp - 0x2b8]
call fcn.00401d50
xor eax, eax
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xd
call fcn.00401d50
lea ecx, [ebp - 0x2dc]
push ecx
lea edx, [ebp - 0x2b8]
push edx
push eax
lea ecx, [ebp - 0x28d]
mov byte [ebp - 4], 0xe
call fcn.004284f0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2c0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f52e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x2d8]
sub ecx, dword [ebp - 0x2dc]
sar ecx, 2
test ecx, ecx
je 0x41f5dd
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx - 0xc]
sub eax, esi
sub eax, 4
push eax
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0041b970
mov bl, 0xf
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x2dc]
push eax
push ecx
lea edx, [ebp - 0x2c8]
push edx
call fcn.0041ba90
add esp, 0xc
push eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x10
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x2cc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xc
call fcn.00421950
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2b8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f612
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2b0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f638
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
push eax
call fcn.004052f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x240], eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x25c]
cmp dword [eax - 0xc], 0
jl 0x41f87b
push 0x5af97c
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f87b
sub eax, dword [ebp - 0x25c]
sar eax, 1
mov edi, eax
cmp edi, 0xffffffff
je 0x41f87b
cmp esi, 0xffffffff
jne 0x41f87b
push edi
lea ecx, [ebp - 0x2e8]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.0041b9f0
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x12
call fcn.00405080
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2e8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f6e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ecx - 0xc]
sub eax, edi
sub eax, 2
push eax
lea edx, [ebp - 0x2c4]
push edx
lea ecx, [ebp - 0x25c]
call fcn.0041b970
push eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x13
call fcn.00405080
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x2c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f738
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x240]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x5b28c8
lea ecx, [ebp - 0x298]
call fcn.00401d50
mov edi, eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x14
call fcn.00401d50
push edi
push eax
lea ecx, [ebp - 0x2ec]
push ecx
mov byte [ebp - 4], 0x15
call fcn.0041ba90
add esp, 0xc
lea edx, [ebp - 0x25c]
push edx
push eax
lea eax, [ebp - 0x2e4]
mov bl, 0x16
push eax
mov byte [ebp - 4], bl
call fcn.0041ba90
add esp, 0xc
push eax
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x17
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2e4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f7df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2ec]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f805
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f82b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x298]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5af97c
push 0x5b28c8
lea ecx, [ebp - 0x25c]
call fcn.00404a70
push 0x5b28c8
push 0x5af97c
lea ecx, [ebp - 0x25c]
call fcn.00404a70
mov eax, dword [ebp - 0x254]
mov ecx, str.exists
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f8ac
test dx, dx
je 0x41f8a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f8ac
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f886
xor eax, eax
jmp 0x41f8b1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f8f1
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f8f1
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x23c]
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x41f8ea
cmp dword [ebp - 0x21c], 0
je 0x41f8f1
mov byte [ebp - 0x248], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f917
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41f942
push str.user
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41f942
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41f979
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41fab1
push str.USER
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41fab1
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41fab1
mov eax, dword [ebp - 0x254]
mov ecx, str.equals
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f9aa
test dx, dx
je 0x41f9a6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f9aa
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f984
xor eax, eax
jmp 0x41f9af
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [ebp - 0x250]
test eax, eax
jne 0x41fa1c
cmp dword [edi - 0xc], eax
jl 0x41fa1c
push str.admin
push edi
call fcn.005500f6
mov edi, dword [ebp - 0x250]
add esp, 8
test eax, eax
je 0x41f9df
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x41fa06
cmp dword [edi - 0xc], 0
jl 0x41fa1c
push str.ADMIN
push edi
call fcn.005500f6
mov edi, dword [ebp - 0x250]
add esp, 8
test eax, eax
je 0x41fa1c
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x41fa1c
call fcn.0043deb0
mov edi, dword [ebp - 0x250]
test eax, eax
je 0x41fa1c
mov byte [ebp - 0x248], 1
mov eax, dword [ebp - 0x254]
mov ecx, str.notequals
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41fa4d
test dx, dx
je 0x41fa49
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41fa4d
add eax, 4
add ecx, 4
test dx, dx
jne 0x41fa27
xor eax, eax
jmp 0x41fa52
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41fab1
cmp dword [edi - 0xc], eax
jl 0x41fab1
push str.admin
push edi
call fcn.005500f6
mov edi, dword [ebp - 0x250]
add esp, 8
test eax, eax
je 0x41fa7c
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x41faa1
cmp dword [edi - 0xc], 0
jl 0x41fab1
push str.ADMIN
push edi
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41fab1
sub eax, dword [ebp - 0x250]
sar eax, 1
cmp eax, 0xffffffff
je 0x41fab1
call fcn.0043deb0
test eax, eax
jne 0x41fab1
mov byte [ebp - 0x248], 1
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41fadc
push 0x5b2bfc
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41fadc
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41fb13
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41fe24
push 0x5b2c04
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41fe24
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41fe24
lea ecx, [ebp - 0x308]
push ecx
call fcn.004223b0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x25c]
cmp dword [edx - 0xc], 0
jle 0x41fddc
push 0x5afbc8
lea ecx, [ebp - 0x280]
call fcn.00401d50
push 0x5afbc8
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x19
call fcn.00401d50
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x25c]
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0x1a
call fcn.00423710
test al, al
je 0x41fd90
mov eax, dword [ebp - 0x24c]
add eax, 0xfffffff0
push eax
call fcn.004052f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x240], eax
push 0x5af97c
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x294]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0041bb50
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
push eax
lea edx, [ebp - 0x28c]
mov bl, 0x1c
push edx
mov byte [ebp - 4], bl
call fcn.0041ba90
add esp, 0xc
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x1d
call fcn.00405080
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x28c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x294]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fc33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5af97c
push 0x5b28c8
lea ecx, [ebp - 0x240]
call fcn.00404a70
push 0x5afbc8
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x288], 0xffffffff
call fcn.00401d50
lea ecx, [ebp - 0x288]
push ecx
mov bl, 0x1e
lea edx, [ebp - 0x2b4]
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], bl
call fcn.0043bac0
test al, al
je 0x41fd37
mov eax, dword [ebp - 0x288]
push 0xa
lea edx, [ebp - 0x238]
push edx
push eax
call fcn.0056db4e
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x29c]
call fcn.0041b810
push str.exists
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x1f
call fcn.0041b8b0
test eax, eax
je 0x41fcf5
push str.equals
lea ecx, [ebp - 0x254]
call fcn.0041b8b0
test eax, eax
je 0x41fcf5
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0x29c]
call fcn.0041b8b0
test eax, eax
je 0x41fd12
jmp 0x41fd0b
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0041b8b0
test eax, eax
jne 0x41fd12
mov byte [ebp - 0x248], 1
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x29c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x2b4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fd6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fddc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x304]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x308]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41fe4f
push str.browser
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41fe4f
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41fe86
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41ff08
push str.BROWSER
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41ff08
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41ff08
push 0x5afbc8
lea ecx, [ebp - 0x284]
call fcn.00401d50
lea ecx, [ebp - 0x284]
push ecx
mov byte [ebp - 4], 0x20
call fcn.0041d030
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x41fee2
mov ecx, dword [ebp - 0x284]
cmp dword [ecx - 0xc], 0
jl 0x41fee8
push eax
push ecx
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41fee2
mov ecx, dword [ebp - 0x284]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x41fee8
mov byte [ebp - 0x248], 1
jmp 0x41fee8
mov ecx, dword [ebp - 0x284]
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ff08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41ff33
push 0x5b2c2c
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41ff33
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
jne 0x41ff6a
mov eax, dword [ebp - 0x260]
cmp dword [eax - 0xc], 0
jl 0x41ffeb
push 0x5b2c34
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41ffeb
sub eax, dword [ebp - 0x260]
sar eax, 1
cmp eax, 0xffffffff
je 0x41ffeb
push 0x5afbc8
lea ecx, [ebp - 0x270]
call fcn.00401d50
lea esi, [ebp - 0x270]
mov byte [ebp - 4], 0x21
call fcn.0043dc60
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x41ffc5
mov ecx, dword [ebp - 0x270]
cmp dword [ecx - 0xc], 0
jl 0x41ffcb
push eax
push ecx
call fcn.005500f6
add esp, 8
test eax, eax
je 0x41ffc5
mov ecx, dword [ebp - 0x270]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x41ffcb
mov byte [ebp - 0x248], 1
jmp 0x41ffcb
mov ecx, dword [ebp - 0x270]
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ffeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x248], 1
jne 0x42002f
mov esi, dword [ebp - 0x26c]
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x268]
push ecx
push edx
push edi
call fcn.0041c0f0
mov ecx, dword [esi + 0x18]
mov edx, 0x71c71c6
sub edx, ecx
cmp edx, 1
jb 0x420261
inc ecx
mov dword [esi + 0x18], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420055
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x268]
mov dword [ebp - 4], 0xffffffff
call fcn.00406d30
mov ecx, dword [ebp - 0x278]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x278], eax
cmp eax, dword [edx + 0x14]
jne 0x41eed6
mov esi, edx
mov eax, dword [esi + 0x20]
mov esi, dword [eax]
mov dword [ebp - 0x274], esi
cmp esi, eax
je 0x42081e
mov edi, dword [esi + 8]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x42026b
cmp eax, dword [edi - 0x10]
jne 0x42026b
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4202a3
call fcn.00402290
lea eax, [ebp - 0x274]
push eax
call fcn.00434070
push 0x5afbc8
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 2
call fcn.00401d50
mov edi, eax
push 0x5aff34
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.00401d50
mov ebx, eax
push 0x5aff34
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 4
call fcn.00401d50
mov esi, eax
push 0x5b2ac0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 5
call fcn.00401d50
mov ecx, dword [ebp - 0x26c]
push edi
push ebx
push esi
push eax
add ecx, 4
push ecx
lea edx, [ebp - 0x274]
push edx
mov ecx, 1
mov byte [ebp - 4], 6
call fcn.00438b00
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x294]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42017d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x298]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420215
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42023b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x268]
call fcn.00406d30
xor al, al
jmp 0x420820
push 0x80004005
call fcn.00401090
push 0x80070057
call fcn.00401090
push str.list_T__too_long
call fcn.0056ce23
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4200cd
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054fc42
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 4], 0x22
mov edi, dword [esi + 0xc]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea edx, [edi - 4]
jl 0x4202dc
cmp eax, dword [edi - 0x10]
jne 0x4202dc
lea ebx, [edi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x420314
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4200cd
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054fc42
add esp, 0x10
mov al, byte [esi + 0x10]
lea edi, [ebx + 0x10]
mov dword [ebp - 0x2a8], edi
mov byte [ebp - 0x2a4], al
mov dword [ebp - 4], 0x23
test al, al
jne 0x4207b6
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x42035b
cmp eax, dword [edi - 0x10]
jne 0x42035b
lea ebx, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x420393
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4200cd
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054fc42
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x240], ebx
mov ecx, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x24
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x278], esi
cmp esi, eax
je 0x42073a
lea esp, [esp]
lea edx, [ebp - 0x23c]
lea edi, [esi + 8]
push edx
call fcn.0041c2c0
mov byte [ebp - 4], 0x25
mov edi, dword [ebp - 0x23c]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x4203ff
cmp eax, dword [edi - 0x10]
jne 0x4203ff
lea ebx, [edi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x420437
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4200cd
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.0054fc42
add esp, 0x10
add ebx, 0x10
mov dword [ebp - 0x27c], ebx
mov byte [ebp - 4], 0x26
call fcn.00469967
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42024d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x244], eax
mov ecx, 0x5b0974
mov byte [ebp - 4], 0x27
test ecx, 0xffff0000
jne 0x420499
mov edx, ecx
movzx edi, dx
push edi
call fcn.004636d7
test eax, eax
je 0x4204ab
push edi
push eax
lea ecx, [ebp - 0x244]
call fcn.00401f60
jmp 0x4204ab
push 1
push 0x5b0974
lea ecx, [ebp - 0x244]
call fcn.00402180
mov byte [ebp - 4], 0x28
cmp byte [ebp - 0x21c], 0
je 0x42060e
call fcn.00469967
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42024d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x270], ebx
mov ecx, 0x5b0200
mov byte [ebp - 4], 0x29
test ecx, 0xffff0000
jne 0x420511
mov edx, ecx
movzx edi, dx
push edi
call fcn.004636d7
test eax, eax
je 0x420529
push edi
push eax
lea ecx, [ebp - 0x270]
call fcn.00401f60
jmp 0x420523
push 1
push 0x5b0200
lea ecx, [ebp - 0x270]
call fcn.00402180
mov ebx, dword [ebp - 0x270]
mov byte [ebp - 4], 0x2a
mov esi, dword [ebp - 0x244]
lea edi, [ebx - 0x10]
add esi, 0xfffffff0
cmp edi, esi
je 0x4205e5
cmp dword [esi + 0xc], 0
jl 0x4205d5
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x4205d5
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x420576
cmp eax, dword [edi]
jne 0x420576
mov ebx, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4205b1
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4200cd
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.0054fc42
add esp, 0x10
lea eax, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x4205ca
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0x10
mov dword [ebp - 0x244], ebx
jmp 0x4205e5
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x244]
call fcn.00402180
mov byte [ebp - 4], 0x28
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x420602
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov esi, dword [ebp - 0x278]
mov ebx, dword [ebp - 0x27c]
test ebx, ebx
je 0x4206ce
mov eax, dword [ebp - 0x240]
cmp dword [eax - 0xc], 0
jl 0x4206ce
push ebx
push eax
call fcn.005500f6
add esp, 8
test eax, eax
je 0x4206ce
sub eax, dword [ebp - 0x240]
sar eax, 1
cmp eax, 0xffffffff
je 0x4206ce
mov ecx, 0x5b0200
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x420676
test dx, dx
je 0x420672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x420676
add eax, 4
add ecx, 4
test dx, dx
jne 0x420650
xor eax, eax
jmp 0x42067b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4206ce
mov ecx, 0x5b0974
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4206ac
test dx, dx
je 0x4206a8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4206ac
add eax, 4
add ecx, 4
test dx, dx
jne 0x420686
xor eax, eax
jmp 0x4206b1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4206ce
lea ecx, [ebp - 0x244]
push ecx
lea edx, [ebp - 0x23c]
push edx
lea edi, [ebp - 0x240]
call fcn.004213a0
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4206f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x25
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420714
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x24
call fcn.00406d30
mov esi, dword [esi]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x278], esi
cmp esi, dword [ecx + 0x14]
jne 0x4203c0
mov ecx, dword [ebp - 0x26c]
lea edx, [ebp - 0x240]
push edx
call fcn.00420840
mov byte [ebp - 0x2a4], al
cmp al, 1
jne 0x420790
mov esi, dword [ebp - 0x26c]
mov eax, dword [esi + 0x20]
mov edi, dword [eax]
mov eax, dword [edi + 4]
push eax
push edi
lea ecx, [ebp - 0x2ac]
call fcn.0041c1b0
mov ecx, dword [esi + 0x24]
mov edx, 0x15555554
sub edx, ecx
cmp edx, 1
jb 0x420261
inc ecx
mov dword [esi + 0x24], ecx
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2ac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x274]
mov esi, dword [ecx]
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x274], esi
cmp esi, dword [edx + 0x20]
jne 0x420099
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f72c
mov esp, ebp
pop ebp
ret