Function at 0x433e6a
Capabilities:
Delete file

Disassembly:
mov eax, 0x56085b
call fcn.0053c1d0
sub esp, 0x1ec
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x434446
cmp byte [esi], bl
je 0x434446
mov eax, dword [0x5b096c]
add eax, 0x610
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x433eb2
mov dword [eax], ebx
xor edi, edi
inc edi
push edi
push 0x1b6
push 0x21
push esi
lea ecx, [ebp - 0xdc]
call fcn.0042b7c3
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ebp + ecx - 0xdc]
mov edx, dword [eax + 8]
and dl, 6
neg dl
mov byte [ebp - 4], 1
sbb edx, edx
not edx
test eax, edx
je 0x434422
test byte [ebp + ecx - 0xd4], 1
mov dword [ebp - 0x10], ebx
jne 0x433f82
push edi
push ebx
push ebx
call fcn.004338e1
mov esi, eax
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x28], esi
je 0x433fc1
lea eax, [ebp - 0xdc]
push esi
push eax
call fcn.00433d30
mov eax, dword [esi]
cmp word [eax + 4], 0xffff
pop ecx
pop ecx
je 0x43415f
cmp word [eax + 4], bx
je 0x43415f
push ebx
push esi
call fcn.00405430
mov ecx, eax
call fcn.0042d528
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x433f58
inc dword [eax]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x433f6f
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xd4], 1
je 0x433f02
lea ecx, [ebp - 0xdc]
call fcn.0042b8aa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.0042b864
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x572840
call fcn.0054dfcb
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x434448
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push edi
push 2
lea ecx, [ebp - 0x15c]
call fcn.00404a20
mov esi, 0x572a6c
push esi
push 0x572aa0
push 0x572a4c
push esi
push 0x572a48
push 0x10000000
push 0x572a40
push dword [ebp - 0x18]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x1a]
mov edx, 0x572a38
push eax
push dword [ebp - 0x1c]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x1e]
mov byte [ebp - 4], 2
push ecx
push dword [ebp - 0x22]
push ecx
push dword [ebp - 0x24]
push edx
push 0x15c
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push str..FunctionEx.cpp
call fcn.00405500
lea eax, [ebp - 0x44]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 3
jb 0x434059
mov eax, dword [eax + 4]
jmp 0x43405c
add eax, 4
push eax
lea eax, [ebp - 0x15c]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov byte [ebp - 4], 2
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.00402c50
lea eax, [ebp - 0x15c]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
call fcn.004028d0
mov ebx, 0x572840
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
call fcn.0054dfcb
xor esi, esi
jmp 0x4343fe
push edi
push 2
lea ecx, [ebp - 0x1f8]
call fcn.00404a20
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
push ecx
xor edx, edx
mov dx, word [eax + 6]
movzx eax, word [eax + 4]
mov ecx, 0x572bf8
push ecx
push str._PktLen
push edx
push ecx
push 0x5744c8
push eax
push ecx
lea eax, [ebp - 0x1f8]
push 0x5744c0
push eax
mov byte [ebp - 4], 4
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bbec
mov edi, 0x209
cmp dword [0x5b21c0], edi
mov ebx, 0x572840
jne 0x4343be
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x15c]
call fcn.00404a20
mov esi, 0x572a6c
push esi
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 5
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 6
jb 0x43423f
mov eax, dword [eax + 4]
jmp 0x434242
add eax, 4
push eax
push 0x572a4c
push esi
push 0x572a48
push edi
push 0x572a40
push dword [ebp - 0x18]
mov eax, 0x572a3c
push eax
push dword [ebp - 0x1a]
mov edx, 0x572a38
push eax
push dword [ebp - 0x1c]
mov ecx, 0x572a34
push edx
push dword [ebp - 0x1e]
push ecx
push dword [ebp - 0x22]
push ecx
push dword [ebp - 0x24]
push edx
push 0x167
push eax
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str..FunctionEx.cpp
call fcn.00405500
lea eax, [ebp - 0x44]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 7
jb 0x4342b0
mov eax, dword [eax + 4]
jmp 0x4342b3
add eax, 4
push eax
lea eax, [ebp - 0x15c]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.00402c50
push 0
push 1
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 5
call fcn.00402c50
lea eax, [ebp - 0x15c]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 4
call fcn.004028d0
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], ebx
call fcn.0054dfcb
mov esi, dword [ebp - 0x28]
push 1
mov ecx, esi
call fcn.00428dd5
lea ecx, [ebp - 0xdc]
call fcn.0042b8aa
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1ac]
mov byte [ebp - 4], 1
call fcn.004028d0
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], ebx
call fcn.0054dfcb
xor esi, esi
inc esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.0042b864
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
call fcn.0054dfcb
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x434448
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call fcn.0042b864
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x572840
call fcn.0054dfcb
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret