Function at 0x42ef50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f986
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4921d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov ebx, 1
mov dword [ebp - 0x18], ebx
test byte [0x498dec], bl
jne 0x42efb1
or dword [0x498dec], ebx
mov dword [ebp - 4], 0
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x498df4]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.004015f0
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov dword [ebp - 4], ebx
test byte [0x498dec], bl
jne 0x42eff7
or dword [0x498dec], ebx
mov byte [ebp - 4], 2
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040efa0
mov edi, eax
push 0x17
lea esi, [ebp - 0x3c]
mov dword [ebp - 4], 3
call fcn.0040c1f0
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ebx, 0x47bd18
mov byte [ebp - 4], 4
call fcn.004060a0
lea edx, [ebp - 0x28]
push edi
push edx
mov ebx, eax
mov byte [ebp - 4], 5
call fcn.00407390
add esp, 0x14
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f063
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f086
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f0a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040c2f0
push 0x17
lea esi, [ebp - 0x48]
call fcn.0040c1f0
push eax
lea edx, [ebp - 0x44]
push edx
mov ebx, 0x47bd18
mov byte [ebp - 4], 0xa
call fcn.004060a0
add esp, 0x10
mov esi, eax
mov bl, 0xb
mov eax, 1
mov byte [ebp - 4], bl
test byte [0x498dec], al
jne 0x42f105
or dword [0x498dec], eax
mov byte [ebp - 4], 0xc
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
lea eax, [ebp - 0x14]
push 0x498df4
push eax
mov ebx, esi
call fcn.00407390
add esp, 8
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f13b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f15e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
jne 0x42f1e0
mov edx, dword [ebp - 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [ebp - 0x14]
push eax
call esi
test eax, eax
jne 0x42f1e0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f1a6
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 - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f1cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.PROGRAMGROUP
lea ecx, [ebp - 0x24]
call fcn.00401c60
mov bl, 0x10
mov eax, 1
mov byte [ebp - 4], bl
test byte [0x498dec], al
jne 0x42f21e
or dword [0x498dec], eax
mov byte [ebp - 4], 0x11
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x1c]
push 0x498df4
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00430610
test eax, eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f25b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42f266
mov dword [ebp - 0x18], 0
mov esi, edi
add esi, 4
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ebx, str.Uninstall.exe
call fcn.004060a0
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, 0x480ac8
shr eax, 0x10
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x42f2cc
mov ecx, 0x480ac8
movzx edi, cx
push eax
push edi
call fcn.004016b0
add esp, 8
test eax, eax
je 0x42f2d9
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.00401870
jmp 0x42f2d9
mov ebx, 0x480ac8
lea edi, [ebp - 0x24]
call fcn.00401420
mov byte [ebp - 4], 0x14
test byte [0x498dec], 1
lea edx, [ebp - 0x24]
push edx
jne 0x42f30b
or dword [0x498dec], 1
mov byte [ebp - 4], 0x15
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], 0x14
mov eax, dword [0x498e00]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov edi, esp
push eax
call fcn.004015f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov bl, 0x16
mov byte [ebp - 4], bl
test byte [0x498dec], 1
jne 0x42f355
or dword [0x498dec], 1
mov byte [ebp - 4], 0x17
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x14
call fcn.0040efa0
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
mov byte [ebp - 4], 0x18
call fcn.00407390
add esp, 8
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0x19
call fcn.00430ab0
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f3a5
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 - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f3c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f3eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x47bfe0
lea ecx, [ebp - 0x30]
call fcn.00401c60
push 0x47bfe0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00401c60
push 0x47bfe0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1b
call fcn.00401c60
mov bl, 0x1c
mov byte [ebp - 4], bl
test byte [0x498dec], 1
jne 0x42f448
or dword [0x498dec], 1
mov byte [ebp - 4], 0x1d
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx]
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push esi
push 0x498e00
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call edx
test eax, eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x24]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f497
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 - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f4ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f4dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42f4e8
mov dword [ebp - 0x18], 0
push 0x1d
push str.http:__www.funshion.com_help_
lea ecx, [ebp - 0x20]
call fcn.00401b60
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x34], 0
jne 0x42f53a
mov ecx, 0x480ac8
movzx edi, cx
push 0
push edi
call fcn.004016b0
add esp, 8
test eax, eax
je 0x42f547
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.00401870
jmp 0x42f547
mov ebx, 0x480ac8
lea edi, [ebp - 0x24]
call fcn.00401420
mov byte [ebp - 4], 0x1f
test byte [0x498dec], 1
lea edx, [ebp - 0x24]
push edx
jne 0x42f579
or dword [0x498dec], 1
mov byte [ebp - 4], 0x20
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], 0x1f
mov eax, dword [0x498e08]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov edi, esp
push eax
call fcn.004015f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov bl, 0x21
mov byte [ebp - 4], bl
test byte [0x498dec], 1
jne 0x42f5c3
or dword [0x498dec], 1
mov byte [ebp - 4], 0x22
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0040efa0
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
mov byte [ebp - 4], 0x23
call fcn.00407390
add esp, 8
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0x24
call fcn.00430ab0
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f636
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f659
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x47bfe0
lea ecx, [ebp - 0x24]
call fcn.00401c60
push 0x47bfe0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x25
call fcn.00401c60
push 0x47bfe0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x26
call fcn.00401c60
mov bl, 0x27
mov byte [ebp - 4], bl
test byte [0x498dec], 1
jne 0x42f6b6
or dword [0x498dec], 1
mov byte [ebp - 4], 0x28
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx]
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
xor esi, esi
push esi
lea eax, [ecx + 4]
push eax
push 0x498e08
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call edx
test eax, eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x30]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f709
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f72c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f74f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42f756
mov dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
call fcn.0042fec0
test eax, eax
jne 0x42f769
mov dword [ebp - 0x18], esi
lea edx, [ebp - 0x14]
push edx
call fcn.004301d0
test eax, eax
jne 0x42f779
mov dword [ebp - 0x18], esi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x29
cmp dword [ebp - 0x34], esi
jne 0x42f7b9
mov eax, 0x480ac8
movzx edi, ax
push esi
push edi
call fcn.004016b0
add esp, 8
cmp eax, esi
je 0x42f7c6
push edi
push eax
lea ecx, [ebp - 0x24]
call fcn.00401870
jmp 0x42f7c6
mov ebx, 0x480ac8
lea edi, [ebp - 0x24]
call fcn.00401420
mov byte [ebp - 4], 0x2a
test byte [0x498dec], 1
lea ecx, [ebp - 0x24]
push ecx
jne 0x42f7f8
or dword [0x498dec], 1
mov byte [ebp - 4], 0x2b
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], 0x2a
mov eax, dword [0x498e14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov edi, esp
push eax
call fcn.004015f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov bl, 0x2c
mov byte [ebp - 4], bl
test byte [0x498dec], 1
jne 0x42f842
or dword [0x498dec], 1
mov byte [ebp - 4], 0x2d
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], bl
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 0x2a
call fcn.0040efa0
lea ecx, [ebp - 0x30]
push ecx
mov ebx, eax
mov byte [ebp - 4], 0x2e
call fcn.00407390
add esp, 8
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0x2f
call fcn.00430ab0
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f892
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f8b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f8d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x28
push str.http:__www.funshion.com_download_history
lea ecx, [ebp - 0x20]
call fcn.00401b60
push 0x47bfe0
lea ecx, [ebp - 0x2c]
call fcn.00401c60
push 0x47bfe0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x30
call fcn.00401c60
mov bl, 0x31
push 0x47bfe0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.00401c60
mov byte [ebp - 4], 0x32
test byte [0x498dec], 1
jne 0x42f945
or dword [0x498dec], 1
mov byte [ebp - 4], 0x33
call fcn.0040ec20
push 0x473fc0
call fcn.0044bc2e
add esp, 4
mov byte [ebp - 4], 0x32
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx]
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ecx + 4]
push eax
push 0x498e14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call edx
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
sete byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f997
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f9ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f9dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x42f9ea
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fa0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fa30
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 - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fa56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret