Function at 0x457490
Capabilities:
Check if file exists
Get file attributes
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2b92
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x674ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x30], edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push ebx
push str.CPlayerManager::AddPlayer
push str.__s__:_id__d___display__s_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x14
mov ecx, edi
push ebx
call fcn.004522e0
test eax, eax
je 0x457525
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45751e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
jmp 0x457f93
mov ecx, edi
call fcn.00451260
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0
call fcn.00452150
mov byte [ebp - 4], 1
mov edx, 0x63ca44
mov ecx, dword [ebp + 0xc]
nop dword [eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x457576
test ax, ax
je 0x457572
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x457576
add ecx, 4
add edx, 4
test ax, ax
jne 0x457550
xor eax, eax
jmp 0x45757b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
je 0x4575ff
mov edx, 0xc6
lea ecx, [ebp - 0x34]
call fcn.00401db0
mov esi, eax
mov edx, 0x99
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00401db0
mov byte [ebp - 4], 3
push dword [esi]
push ebx
push dword [eax]
lea eax, [ebp + 0xc]
push str._s_d_s
push eax
call fcn.00404790
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp - 0x6c]
add esp, 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4575df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457602
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x457602
or ebx, 0xffffffff
push dword [ebp + 0xc]
push dword [ebp - 0x78]
push str.CPlayerManager::AddPlayer
push str.__s__:_real_id__d___display__s_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x14
call fcn.0047d277
mov ecx, eax
test ecx, ecx
jne 0x457635
push 0x80004005
call fcn.004050a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x34]
push dword [ebp - 0x1c]
push str.BignoxVMS
push dword [edi + 0x44]
push str._s_s_s
push eax
call fcn.00404790
mov esi, dword [ebp - 0x34]
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45770a
push ecx
mov edi, esp
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.00404bc0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov edi, dword [ebp - 0x30]
lea ecx, [edi + 0x28]
call fcn.0044b2b0
test al, al
jne 0x45770a
push dword [ebp - 0x1c]
push str.CPlayerManager::AddPlayer
push str.__s__:_RemovePlayer_fail__s_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x10
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4576d2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4576f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x457514
sub esp, 0x18
mov byte [ebp - 0x61], 1
mov ecx, esp
push esi
call fcn.00409df0
mov cl, byte [ebp - 0x61]
call fcn.004196b0
add esp, 0x18
test al, al
jne 0x457798
push esi
push str.CPlayerManager::AddPlayer
push str.__s__:_removeFolder_fail__s_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x10
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45775c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4576f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x457514
lea eax, [edi + 0x28]
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x6c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x63ca44
call fcn.00404b00
push ecx
mov byte [ebp - 4], 5
mov edi, esp
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.00404bc0
mov ecx, dword [ebp - 0x6c]
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 4
call fcn.0044af50
test al, al
jne 0x457886
mov edi, dword [ebp - 0x68]
push edi
push str.CPlayerManager::AddPlayer
push str.__s__:_player_run_interval_count__d_
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0x10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
mov dword [ebp - 0x68], edi
cmp edi, 0xa
jle 0x4577a5
push str.CPlayerManager::AddPlayer
push str.__s__:_fail
call fcn.0040f620
push eax
call fcn.0043a270
add esp, 0xc
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45784a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4576f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x457514
push ecx
mov ecx, esp
xorps xmm0, xmm0
push dword [ebp - 0x1c]
movq qword [ebp - 0x24], xmm0
call fcn.00404b00
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
call fcn.00450910
mov byte [ebp - 4], 6
cmp dword [ebp - 0x20], 3
jne 0x4579a1
push str.Machine
lea ecx, [ebp - 0x68]
call fcn.00404b00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
mov eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00427b90
mov edi, eax
mov eax, dword [ebp - 0x24]
cmp edi, eax
je 0x4578fb
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00427300
test al, al
je 0x4578fd
mov eax, dword [ebp - 0x24]
mov edi, eax
cmp edi, ebx
je 0x4579a1
push str.HardDisk1
lea ecx, [ebp - 0x70]
call fcn.00404b00
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
mov eax, 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x70]
push eax
call fcn.00427b90
mov edi, eax
mov eax, dword [ebp - 0x24]
cmp edi, eax
je 0x457950
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00427300
test al, al
je 0x457952
mov eax, dword [ebp - 0x24]
mov edi, eax
cmp edi, ebx
je 0x4579a1
push str.HardDisk2
lea ecx, [ebp - 0x2c]
call fcn.00404b00
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov eax, 7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00427b90
mov edi, eax
mov eax, dword [ebp - 0x24]
cmp edi, eax
je 0x457997
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00427300
test al, al
je 0x457999
mov eax, dword [ebp - 0x24]
mov edi, eax
mov byte [ebp - 0x61], 0
cmp edi, ebx
jne 0x4579a5
mov byte [ebp - 0x61], 1
mov ecx, dword [ebp - 0x18]
or ebx, 0xffffffff
test cl, 4
je 0x4579d6
mov edx, dword [ebp - 0x2c]
and ecx, 0xfffffffb
mov dword [ebp - 0x18], ecx
add edx, 0xfffffff0
mov dword [ebp - 0x28], ecx
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4579d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 7
test cl, 2
je 0x457a08
mov edx, dword [ebp - 0x70]
and ecx, 0xfffffffd
mov dword [ebp - 0x18], ecx
add edx, 0xfffffff0
mov dword [ebp - 0x28], ecx
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457a08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 6
test cl, 1
je 0x457a2e
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457a2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x61], 0
je 0x457ae6
push ecx
mov edi, esp
mov dword [ebp - 0x74], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
push eax
call fcn.00404bc0
mov ecx, dword [ebp - 0x6c]
add esp, 4
add eax, 0x10
mov dword [edi], eax
call fcn.0044b2b0
push str.CPlayerManager::AddPlayer
push str.__s__:_get_uuid_fail
call fcn.0040f620
push eax
call fcn.0043a270
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
add esp, 0xc
push eax
push dword [eax]
lea eax, [ebp - 0x74]
push eax
call fcn.004134d0
push dword [ebp - 0x24]
call fcn.0047d17e
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457aaa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4576f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x457514
mov ecx, dword [ebp - 0x30]
call fcn.00455280
test al, al
jne 0x457b66
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push eax
push dword [eax]
lea eax, [ebp - 0x74]
push eax
call fcn.004134d0
push dword [ebp - 0x24]
call fcn.0047d17e
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457b2a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4576f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jmp 0x457514
push str.HardDisk2
lea ecx, [ebp - 0x70]
call fcn.00404b00
push str.HardDisk1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.00404b00
push str.Machine
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.00404b00
push ecx
mov byte [ebp - 4], 0xb
mov edi, esp
mov dword [ebp - 0x28], edi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
push eax
call fcn.00404bc0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.00426ac0
push ecx
mov edi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x18], edi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404bc0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x24]
call fcn.00426ac0
push ecx
mov edi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x38], edi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404bc0
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x24]
call fcn.00426ac0
push ecx
mov edi, esp
mov dword [ebp - 0x38], edi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404bc0
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x30]
mov ecx, edi
mov byte [ebp - 4], 0xb
push dword [ebp - 0x78]
push dword [ebp - 0x74]
call fcn.00452410
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457c69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, ebx
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457c87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457ca5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
call fcn.00453d90
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x18]
push 0x63ca44
mov dword [ebp - 0x18], 0
call fcn.00404b00
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [edi + 4]
push str._sclone__s_conf.ini
push eax
call fcn.00404790
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x10
push dword [ebp - 0x18]
push str.false
push str.root
push str.setting
call edi
xorps xmm0, xmm0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.0040f530
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
push 0x645580
mov dword [ebp - 0x28], 0
call fcn.00404b00
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2c]
push str.1280x720
mov dword [ebp - 0x2c], 0
call fcn.00404b00
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30]
push str.720x1280
mov dword [ebp - 0x30], 0
call fcn.00404b00
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 8]
cmp ecx, 0x4b0
jge 0x457d8f
push 0x6455b0
lea ecx, [ebp - 0x28]
call fcn.00404ab0
push str.800x480
lea ecx, [ebp - 0x2c]
call fcn.00404ab0
push str.480x800
lea ecx, [ebp - 0x30]
call fcn.00404ab0
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push str.h_dpi
push str.setting
call edi
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push str.v_dpi
push str.setting
call edi
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
push str.h_resolution
push str.setting
call edi
push dword [ebp - 0x18]
push dword [ebp - 0x30]
push str.v_resolution
push str.setting
call edi
push dword [ebp - 0x18]
push str.true
push str.manual_perform
push str.setting
call edi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
push dword [ebp - 0x18]
cmp eax, 2
jg 0x457e07
push 0x63ca7c
jmp 0x457e18
cmp eax, 4
jg 0x457e13
push 0x645650
jmp 0x457e18
push 0x645654
push 0x645648
push str.setting
call edi
call fcn.0044fd70
push dword [ebp - 0x18]
shrd eax, edx, 0x1e
shr edx, 0x1e
cmp eax, 2
jg 0x457e3f
push 0x645658
jmp 0x457e5c
cmp eax, 4
jg 0x457e4b
push str.1536
jmp 0x457e5c
cmp eax, 8
jg 0x457e57
push str.2048
jmp 0x457e5c
push str.4196
push 0x645664
push str.setting
call edi
mov byte [ebp - 4], 0x13
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457e86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457ea4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457ec2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00412290
mov byte [ebp - 4], 0xf
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457ee8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 6
jmp 0x457f04
push str.CPlayerManager::AddPlayer
push str.__s__:_success
call fcn.0040f620
push eax
call fcn.0043a270
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
add esp, 0xc
push eax
push dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.004134d0
push dword [ebp - 0x24]
call fcn.0047d17e
add esp, 4
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457f54
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457f72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x457f91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0x14]
xor ecx, ebp
call fcn.005c2ae8
mov esp, ebp
pop ebp
ret 8