Function at 0x453500
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f193a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x2c0]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x24], ebx
jne 0x4536f5
mov ecx, dword [edi + 0xcc]
lea eax, [esp + 0x20]
push ebx
push eax
add ecx, 4
call fcn.00473440
mov eax, dword [eax]
push 0x12
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ebp, eax
push ebp
mov dword [esp + 0x2c4], ebp
call dword [sym.imp.USER32.dll_GetMenuItemCount]
lea esi, [eax - 1]
mov dword [esp + 0x30], 0x30
cmp esi, 2
jl 0x453629
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0x30
push ecx
push 1
push esi
push ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
test ah, 1
je 0x45361b
cmp edi, ebx
je 0x45361b
mov eax, dword [edi + 0xc]
lea ebp, [edi + 0xc]
cmp eax, ebx
je 0x4535ce
push eax
call fcn.004de3a6
add esp, 4
mov dword [ebp], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4535e1
push eax
call fcn.004de3a6
add esp, 4
mov dword [edi + 0x10], ebx
push edi
call fcn.004de3a6
mov edi, dword [esp + 0x2c4]
add esp, 4
lea edx, [esp + 0x30]
mov dword [esp + 0x50], ebx
push edx
push 1
push esi
push edi
mov dword [esp + 0x44], 0x20
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push 0x400
push esi
push edi
call dword [sym.imp.USER32.dll_DeleteMenu]
mov ebp, edi
dec esi
cmp esi, 2
jge 0x453584
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0xd0]
lea eax, [esp + 0x20]
push 1
push eax
add ecx, 4
call fcn.00473440
mov ebp, dword [eax]
push ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_GetMenuItemCount]
lea esi, [eax - 1]
cmp esi, 2
jl 0x4536f5
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0x30
push ecx
push 1
push esi
push ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
test ah, 1
je 0x4536eb
cmp edi, ebx
je 0x4536eb
mov eax, dword [edi + 0xc]
lea ebp, [edi + 0xc]
cmp eax, ebx
je 0x4536a1
push eax
call fcn.004de3a6
add esp, 4
mov dword [ebp], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x4536b4
push eax
call fcn.004de3a6
add esp, 4
mov dword [edi + 0x10], ebx
push edi
call fcn.004de3a6
mov edi, dword [esp + 0x28]
add esp, 4
lea edx, [esp + 0x30]
mov dword [esp + 0x50], ebx
push edx
push 1
push esi
push edi
mov dword [esp + 0x44], 0x20
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push 0x400
push esi
push edi
call dword [sym.imp.USER32.dll_DeleteMenu]
mov ebp, edi
dec esi
cmp esi, 2
jge 0x453657
mov ecx, dword [0x5258b4]
mov eax, dword [0x5258b8]
push ecx
push eax
push eax
call fcn.00474230
add esp, 0xc
mov esi, eax
mov eax, dword [0x5258b8]
mov ecx, 0x5258b0
push eax
push esi
call fcn.0040e140
mov eax, dword [0x5258c8]
mov dword [0x5258b8], esi
cmp dword [eax - 8], ebx
je 0x453740
push 0x5258c8
push 1
push esi
mov ecx, 0x5258b0
call fcn.00473f40
lea ecx, [esp + 0x2c4]
push 0x516a38
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00402910
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0x2c0], 1
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x453a4a
mov edx, dword [esp + 0x18]
cmp dword [edx + 0xb0], ebx
jne 0x453a43
mov eax, dword [0x50d0e0]
lea ecx, [esp + 0x8c]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x45380e
lea edx, [esp + 0x8c]
shr edx, 0x10
jne 0x4537cc
xor eax, eax
lea ecx, [esp + 0x8c]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00407b60
jmp 0x45380e
lea edx, [esp + 0x8c]
push edx
call ebp
mov esi, eax
cmp esi, ebx
je 0x45380e
push esi
lea ecx, [esp + 0x14]
call fcn.00402190
test eax, eax
je 0x45380e
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x45380e
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push 0x510318
push eax
mov byte [esp + 0x2c0], 2
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4539e8
mov ecx, dword [esp + 0x10]
push 0x510310
push ecx
call fcn.004dec69
add esp, 8
test eax, eax
je 0x4539e8
mov al, byte [esp + 0x60]
test al, 6
jne 0x4539bf
test al, 0x10
jne 0x4539bf
mov edx, dword [0x50d0e0]
lea eax, [esp + 0x8c]
test eax, eax
mov dword [esp + 0x14], edx
je 0x4538d9
lea ecx, [esp + 0x8c]
shr ecx, 0x10
jne 0x453897
xor eax, eax
lea edx, [esp + 0x8c]
mov ax, dx
lea ecx, [esp + 0x14]
push eax
call fcn.00407b60
jmp 0x4538d9
lea eax, [esp + 0x8c]
push eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x4538d9
push esi
lea ecx, [esp + 0x18]
call fcn.00402190
test eax, eax
je 0x4538d9
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x4538d9
mov edi, dword [esp + 0x14]
mov eax, ecx
lea esi, [esp + 0x8c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 3
call fcn.00408c00
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
push ebx
push str..swf
lea ecx, [esp + 0x1c]
call fcn.00414af0
test eax, eax
jg 0x45391b
push ebx
push 0x50da1c
lea ecx, [esp + 0x1c]
call fcn.00414af0
test eax, eax
jle 0x453988
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c4]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0040d460
mov eax, dword [0x5258b8]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov ecx, 0x5258b0
mov byte [esp + 0x2c4], 4
call fcn.00473f40
mov eax, dword [esp + 0x1c]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2b8], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x453988
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453988
mov edx, dword [esp + 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2b8], 2
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4539bf
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4539bf
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2b8], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x453a1f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453a1f
jmp 0x453a0f
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2b8], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x453a1f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453a1f
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x453a43
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xb0], ebx
je 0x453794
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x5258b4]
cmp eax, ebx
jne 0x453a57
xor ebp, ebp
jmp 0x453a62
mov ebp, dword [0x5258b8]
sub ebp, eax
sar ebp, 2
mov eax, dword [0x5257c4]
mov dword [esp + 0x20], ebp
cmp eax, ebx
jne 0x453af3
cmp ebp, ebx
jle 0x453af3
cmp dword [0x5258c0], ebx
je 0x453b71
push ebx
call fcn.004de872
push eax
call fcn.004e0010
add esp, 8
call fcn.004e001d
cdq
idiv ebp
mov edi, dword [0x5258b4]
mov ecx, dword [0x5258cc]
mov esi, edx
mov eax, dword [edi + esi*4]
cmp ecx, eax
je 0x453b50
cmp dword [ecx - 0xc], ebx
jge 0x453ac5
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x453aca
cmp dword [eax - 0xc], ebx
jge 0x453adb
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, 0x5258cc
call fcn.004021f0
jmp 0x453b50
mov ecx, 0x5258cc
call fcn.00402350
mov esi, dword [edi + esi*4]
mov dword [0x5258cc], esi
lea eax, [esi - 0xc]
jmp 0x453b49
cmp dword [0x5258c0], ebx
je 0x453b71
mov eax, dword [0x5258cc]
mov ecx, dword [0x5258c4]
cmp eax, ecx
je 0x453b50
cmp dword [eax - 0xc], ebx
jge 0x453b1c
mov edx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x453b21
cmp dword [ecx - 0xc], ebx
jge 0x453b32
mov eax, dword [ecx - 8]
push ecx
push eax
mov ecx, 0x5258cc
call fcn.004021f0
jmp 0x453b50
mov ecx, 0x5258cc
call fcn.00402350
mov eax, dword [0x5258c4]
mov dword [0x5258cc], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [0x5258c0], ebx
je 0x453b71
mov ecx, dword [esp + 0x18]
push ebx
push 0xf9f
push 0x111
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [0x5258cc]
mov ecx, dword [0x5258c4]
push eax
push ecx
mov dword [esp + 0x24], ebx
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x453bbb
mov edx, dword [esp + 0x2c0]
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
push 8
push 0xfa2
push edx
mov dword [esp + 0x28], 1
call esi
mov eax, dword [esp + 0x24]
push 8
push 0xfa2
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
mov edi, 0xfa3
cmp ebp, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], ebx
jle 0x453eb8
or esi, 0xffffffff
jmp 0x453be4
mov edi, dword [esp + 0x18]
or esi, 0xffffffff
xor ebx, ebx
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453c04
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ebp, eax
jmp 0x453c06
xor ebp, ebp
push 0x14
mov dword [ebp], edi
mov dword [ebp + 4], esi
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453c2f
or ecx, 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
mov esi, eax
jmp 0x453c34
xor esi, esi
or ecx, 0xffffffff
mov edx, dword [esp + 0x2c]
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [0x5258b4]
mov ecx, dword [eax + edx*4]
cmp dword [ecx - 0xc], ebx
jl 0x453c5a
lea eax, [ecx - 0xc]
mov dword [esp + 0x10], ecx
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x453c81
mov ecx, dword [0x50d0e0]
mov dword [esp + 0x10], ecx
mov edi, dword [eax + edx*4]
cmp edi, ebx
jne 0x453c6f
xor eax, eax
jmp 0x453c76
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.004021f0
mov edx, dword [esp + 0x10]
mov byte [esp + 0x2b8], 5
mov eax, dword [edx - 8]
lea eax, [eax + eax + 2]
push eax
call fcn.004de48f
mov dword [ebp + 0x10], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
lea edx, [eax + eax + 2]
push edx
call fcn.004de48f
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
mov edi, dword [ebp + 0x10]
add esp, 8
mov eax, dword [eax - 8]
lea ecx, [eax + 1]
cmp ecx, ebx
jbe 0x453cd0
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x10]
push ecx
push edx
call fcn.004df3e0
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x10]
add esp, 8
mov eax, dword [eax - 8]
lea ecx, [eax + 1]
cmp ecx, ebx
jbe 0x453cfd
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
push ecx
push edx
call fcn.004df3e0
mov eax, dword [esp + 0x18]
push 0x5c
push eax
mov edi, dword [eax - 8]
call fcn.004dec29
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp eax, ebx
jne 0x453d2a
or eax, 0xffffffff
jmp 0x453d2e
sub eax, ecx
sar eax, 1
push 0x5c
push ecx
sub edi, eax
call fcn.004dec29
add esp, 8
cmp eax, ebx
jne 0x453d44
or eax, 0xffffffff
jmp 0x453d4a
sub eax, dword [esp + 0x10]
sar eax, 1
add edi, 0xfffffffb
inc eax
push edi
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
call fcn.00437060
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2b8], 6
mov ebx, dword [ecx - 8]
inc ebx
lea eax, [ebx + ebx]
push eax
call fcn.004de48f
add esp, 4
mov edi, eax
test ebx, ebx
mov dword [ebp + 0xc], edi
jbe 0x453d90
mov ecx, ebx
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
push edx
push eax
call fcn.004df3e0
lea eax, [ebx + ebx]
push eax
call fcn.004de48f
add esp, 0xc
mov edi, eax
test ebx, ebx
mov dword [esi + 0xc], edi
jbe 0x453dc0
mov ecx, ebx
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0xc]
push ecx
push edx
call fcn.004df3e0
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
mov edi, 0x100
jne 0x453e02
mov eax, dword [0x5258cc]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.004dec69
add esp, 8
test eax, eax
jne 0x453e02
mov dword [esp + 0x1c], 1
mov edi, 0x108
mov ecx, dword [ebp]
mov edx, dword [esp + 0x2c0]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
push ebp
push ecx
push edi
push edx
call ebx
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
push esi
push eax
push edi
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x50d0e4]
inc edx
mov dword [esp + 0x18], edx
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x2b8], 5
je 0x453e64
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453e64
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2b8], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x453e9b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x453e9b
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x453bdb
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
xor ebx, ebx
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453ed9
or edi, 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0x10], ebx
jmp 0x453ede
xor eax, eax
or edi, 0xffffffff
mov dword [eax], ebx
push eax
mov eax, dword [esp + 0x2c4]
push ebx
push 0x900
push eax
call esi
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453f0f
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x453f11
xor eax, eax
mov ebp, dword [esp + 0x24]
push eax
push ebx
push 0x900
push ebp
mov dword [eax], ebx
call esi
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453f3f
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
jmp 0x453f41
xor eax, eax
mov edi, 0xfa1
push eax
push edi
push 0x100
push ebp
mov dword [eax], edi
mov dword [eax + 4], edi
call esi
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453f76
or ecx, 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
jmp 0x453f78
xor eax, eax
mov ecx, dword [esp + 0x2c0]
push eax
push edi
push 0x100
push ecx
mov dword [eax], edi
mov dword [eax + 4], edi
call esi
mov eax, dword [0x5258c0]
mov edi, 0x100
cmp eax, ebx
je 0x453fa1
mov edi, 0x108
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453fc2
or ecx, 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x10], ebx
jmp 0x453fc4
xor eax, eax
push eax
push 0xfa0
push edi
push ebp
mov dword [eax], 0xfa0
mov dword [eax + 4], 0xfa0
call esi
push 0x14
call fcn.004de48f
add esp, 4
cmp eax, ebx
je 0x453ffc
or ebp, 0xffffffff
mov dword [eax + 0xc], ebx
mov dword [eax + 4], ebp
mov dword [eax], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0x10], ebx
jmp 0x454001
xor eax, eax
or ebp, 0xffffffff
mov edx, dword [esp + 0x2c0]
push eax
push 0xfa0
push edi
push edx
mov dword [eax], 0xfa0
mov dword [eax + 4], 0xfa0
call esi
mov eax, dword [esp + 0x28]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2b8], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x454056
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454056
mov edx, dword [esp + 0x28]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x2c4]
mov edx, dword [0x50d0e4]
pop edi
mov dword [esp + 0x2b4], ebp
lea ecx, [eax - 0xc]
pop esi
pop ebp
cmp ecx, edx
pop ebx
je 0x454096
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454096
mov edx, dword [esp + 0x2b4]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
add esp, 0x2ac
ret 8