Function at 0x408350
Capabilities:
Delete file

Disassembly:
mov eax, 0x3f0c
call fcn.004213e0
mov eax, dword [0x444e3c]
xor eax, esp
mov dword [esp + 0x3f08], eax
push ebx
push esi
mov esi, dword [esp + 0x3f18]
push edi
xor ebx, ebx
push 0x3a97
lea eax, [esp + 0x481]
push ebx
push eax
mov edi, ecx
mov byte [esp + 0x488], bl
call fcn.00421410
push 0x1ff
lea ecx, [esp + 0x28d]
push ebx
push ecx
mov byte [esp + 0x294], bl
call fcn.00421410
xor eax, eax
push 0x1ff
lea edx, [esp + 0x99]
push ebx
push edx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov byte [esp + 0x71], al
mov byte [esp + 0x30], bl
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov word [esp + 0x41], ax
mov byte [esp + 0x43], al
mov byte [esp + 0x44], bl
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov byte [esp + 0x59], al
mov byte [esp + 0x74], bl
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov word [esp + 0x85], ax
mov byte [esp + 0x87], al
mov byte [esp + 0x88], bl
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov byte [esp + 0x9d], al
mov byte [esp + 0xa0], bl
call fcn.00421410
lea eax, [esp + 0x30]
push eax
push 0x43a20c
push esi
call fcn.00405050
add esp, 0x30
test al, al
jne 0x40849c
push esi
push str.Failed_in_1_:__s
call fcn.00405da0
add esp, 8
jmp 0x408637
lea ecx, [esp + 0x20]
push ecx
push 0x43a250
push esi
call fcn.00405050
add esp, 0xc
test al, al
jne 0x4084c6
push esi
push str.Failed_in_2_:__s
call fcn.00405da0
add esp, 8
jmp 0x408637
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x284]
push str._s_s.zip
push ecx
call fcn.00420f5a
mov eax, dword [edi + 0x4c]
lea edx, [esp + 0x28c]
push edx
push eax
lea ecx, [esp + 0x94]
push str._sUpdate_s
push ecx
call fcn.00420f5a
add esp, 0x20
lea edx, [esp + 0x7c]
push edx
mov ecx, edi
call fcn.00407d20
test al, al
je 0x408543
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.004057b0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00404db0
add esp, 0x10
lea ecx, [edi + 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x408567
lea edx, [esp + 0x7c]
push edx
push str.Extract_Failed_:__s
call fcn.00405da0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00404db0
add esp, 0x10
mov dword [edi + 0x2c], ebx
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x47c]
push eax
call fcn.00404c90
lea ecx, [esp + 0x480]
push 0x43985e
push ecx
call fcn.00422b07
add esp, 0xc
test eax, eax
jne 0x4085a6
push ebx
call fcn.00404f30
add esp, 4
jmp 0x408637
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x480]
push 0x43a208
push eax
call fcn.00405050
add esp, 0xc
test al, al
je 0x408637
lea eax, [esp + 0x38]
lea edx, [eax + 1]
jmp 0x4085d0
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4085d0
sub eax, edx
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + eax + 0x489]
push eax
mov ecx, edi
call fcn.00407b90
test al, al
jne 0x408619
lea ecx, [esp + 0x38]
push ecx
push 0x43a208
call fcn.004057b0
lea edx, [esp + 0x40]
push edx
push 0x43a208
call fcn.00404db0
add esp, 0x10
cmp dword [edi + 0xf4], ebx
jg 0x40862d
mov eax, dword [edi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x408637
mov ecx, dword [edi + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esp + 0x3f14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004213c3
add esp, 0x3f0c
ret 4