Function at 0x436370
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3c40
call fcn.0052c010
mov eax, dword [0x575494]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
xor al, al
push edi
mov dword [ebp - 0x3c34], ecx
mov dword [ebp - 0x3c3c], esi
mov dword [ebp - 0x3c38], ebx
mov byte [ebp - 0x3c2d], al
test esi, esi
je 0x436a53
cmp word [esi], 0
je 0x436a53
test ebx, ebx
je 0x436a53
mov eax, esi
call fcn.004376f0
mov edi, eax
cmp edi, 0x138
je 0x436410
cmp edi, 0x148
je 0x436410
cmp edi, 0x570
je 0x436410
cmp edi, 0x574
je 0x436410
cmp edi, 0x578
je 0x436410
cmp edi, 0xda0
je 0x436410
cmp edi, 0xdc8
je 0x436410
cmp edi, 0xdd4
jne 0x436a6d
mov eax, esi
mov esi, dword [ebp - 0x3c34]
call fcn.00449600
test al, al
je 0x436a6d
cmp edi, 0x138
jne 0x43648a
mov ecx, edi
lea eax, [ebp - 0x28c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x436435
mov edi, dword [ebp - 0x3c34]
mov esi, 0x138
lea edx, [ebp - 0x28c]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov ax, word [ebp - 0x26c]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0x288]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0x268]
mov word [ebx + 0x20], ax
rep movsd dword es:[edi], dword [esi]
jmp 0x436a04
cmp edi, 0x148
jne 0x436519
mov ecx, edi
lea eax, [ebp - 0x154]
mov edi, edi
mov byte [eax], 0
inc eax
dec ecx
jne 0x4364a0
mov edi, dword [ebp - 0x3c34]
mov esi, 0x148
lea edx, [ebp - 0x154]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x12c]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
mov cx, word [ebp - 0x134]
mov word [ebx + 0x20], cx
mov ecx, dword [ebp - 0x128]
mov dword [ebx + 0x24], edx
mov edx, dword [ebp - 0x124]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0x120]
mov dword [ebx + 0x30], edx
rep movsd dword es:[edi], dword [esi]
jmp 0x436a04
cmp edi, 0x570
jne 0x4365ff
mov ecx, edi
lea eax, [ebp - 0x7fc]
lea ecx, [ecx]
mov byte [eax], 0
inc eax
dec ecx
jne 0x436530
mov edi, dword [ebp - 0x3c34]
mov esi, 0x570
lea edx, [ebp - 0x7fc]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov ax, word [ebp - 0x7dc]
mov edx, dword [ebp - 0x7d4]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0x7f8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x7d8]
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebp - 0x7cc]
mov word [ebx + 0x20], ax
mov eax, dword [ebp - 0x7d0]
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], ecx
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0x7c8]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x148]
test edi, edi
je 0x4365bf
lea ebx, [ebp - 0x6b4]
call fcn.00437760
mov ebx, dword [ebp - 0x3c38]
lea ecx, [ebx + 0xdb0]
test ecx, ecx
je 0x4365d4
lea eax, [ebp - 0x29c]
call fcn.00437a00
add ebx, 0xdd0
je 0x436a04
mov dl, byte [ebp - 0x28f]
mov al, byte [ebp - 0x290]
mov cl, byte [ebp - 0x28e]
mov byte [ebx + 1], dl
mov byte [ebx], al
mov byte [ebx + 2], cl
jmp 0x436a04
cmp edi, 0x574
jne 0x4366de
mov ecx, edi
lea eax, [ebp - 0xd74]
mov byte [eax], 0
inc eax
dec ecx
jne 0x436613
mov edi, dword [ebp - 0x3c34]
mov esi, 0x574
lea edx, [ebp - 0xd74]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov eax, dword [ebp - 0xd50]
mov dx, word [ebp - 0xd54]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0xd70]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xd4c]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xd44]
mov dword [ebx + 0x28], ecx
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0xd40]
mov word [ebx + 0x20], dx
mov edx, dword [ebp - 0xd48]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x148]
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
test edi, edi
je 0x4366a2
lea ebx, [ebp - 0xc2c]
call fcn.00437810
mov ebx, dword [ebp - 0x3c38]
lea ecx, [ebx + 0xdb0]
lea eax, [ebp - 0x814]
call fcn.00437a30
add ebx, 0xdd0
je 0x436a04
mov cl, byte [ebp - 0x803]
mov dl, byte [ebp - 0x804]
mov al, byte [ebp - 0x802]
mov byte [ebx + 1], cl
mov byte [ebx], dl
mov byte [ebx + 2], al
jmp 0x436a04
cmp edi, 0x578
jne 0x4367a3
mov ecx, edi
lea eax, [ebp - 0x12ec]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4366f2
mov edi, dword [ebp - 0x3c34]
mov esi, 0x578
lea edx, [ebp - 0x12ec]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov edx, dword [ebp - 0x12c8]
mov eax, dword [ebp - 0x12c4]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0x12e8]
rep movsd dword es:[edi], dword [esi]
mov cx, word [ebp - 0x12cc]
mov word [ebx + 0x20], cx
mov ecx, dword [ebp - 0x12c0]
mov dword [ebx + 0x24], edx
mov edx, dword [ebp - 0x12bc]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0x12b8]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x148]
mov dword [ebx + 0x30], edx
test edi, edi
je 0x436781
lea ebx, [ebp - 0x11a4]
call fcn.00437810
mov ebx, dword [ebp - 0x3c38]
lea ecx, [ebx + 0xdb0]
lea eax, [ebp - 0xd8c]
call fcn.00437a30
mov eax, dword [ebp - 0xd7c]
mov ecx, dword [ebp - 0xd78]
jmp 0x4369f8
cmp edi, 0xda0
jne 0x43686e
mov ecx, edi
lea eax, [ebp - 0x3c2c]
mov byte [eax], 0
inc eax
dec ecx
jne 0x4367b7
mov edi, dword [ebp - 0x3c34]
mov esi, 0xda0
lea edx, [ebp - 0x3c2c]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov eax, dword [ebp - 0x3c08]
mov dx, word [ebp - 0x3c0c]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0x3c28]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x3c04]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x3bfc]
mov dword [ebx + 0x28], ecx
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0x3bf8]
mov word [ebx + 0x20], dx
mov edx, dword [ebp - 0x3c00]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x148]
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], eax
test edi, edi
je 0x436840
lea edx, [ebp - 0x3ae4]
call fcn.004378c0
lea ecx, [ebx + 0xdb0]
lea eax, [ebp - 0x2ea4]
call fcn.00437a30
mov ecx, dword [ebp - 0x2e94]
mov edx, dword [ebp - 0x2e90]
mov dword [ebx + 0xdd0], ecx
mov dword [ebx + 0xdd4], edx
jmp 0x436a04
cmp edi, 0xdc8
jne 0x436937
mov ecx, edi
lea eax, [ebp - 0x20b4]
mov byte [eax], 0
inc eax
dec ecx
jne 0x436882
mov edi, dword [ebp - 0x3c34]
mov esi, 0xdc8
lea edx, [ebp - 0x20b4]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov ax, word [ebp - 0x2094]
mov edx, dword [ebp - 0x208c]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0x20b0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x2090]
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebp - 0x2084]
mov word [ebx + 0x20], ax
mov eax, dword [ebp - 0x2088]
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], ecx
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0x2080]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x148]
mov ecx, 0x31a
lea esi, [ebp - 0x1f6c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xdb0]
lea eax, [ebp - 0x1304]
call fcn.00437a30
mov edx, dword [ebp - 0x12f4]
mov eax, dword [ebp - 0x12f0]
mov dword [ebx + 0xdd0], edx
mov dword [ebx + 0xdd4], eax
jmp 0x436a04
cmp edi, 0xdd4
jne 0x436a0b
mov ecx, edi
lea eax, [ebp - 0x2e8c]
jmp 0x436950
mov byte [eax], 0
inc eax
dec ecx
jne 0x436950
mov edi, dword [ebp - 0x3c34]
mov esi, 0xdd4
lea edx, [ebp - 0x2e8c]
call fcn.00449680
cmp eax, esi
jne 0x436a0b
mov edx, dword [ebp - 0x2e68]
mov eax, dword [ebp - 0x2e64]
lea edi, [ebx + 4]
mov ecx, 7
lea esi, [ebp - 0x2e88]
rep movsd dword es:[edi], dword [esi]
mov cx, word [ebp - 0x2e6c]
mov word [ebx + 0x20], cx
mov ecx, dword [ebp - 0x2e60]
mov dword [ebx + 0x24], edx
mov edx, dword [ebp - 0x2e5c]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
lea edi, [ebx + 0x34]
mov ecx, 0x45
lea esi, [ebp - 0x2e58]
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x148]
mov ecx, 0x31a
lea esi, [ebp - 0x2d44]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xdb0]
mov dword [ebx + 0x30], edx
test ecx, ecx
je 0x4369ec
lea eax, [ebp - 0x20dc]
call fcn.00437a70
mov eax, dword [ebp - 0x20c0]
mov ecx, dword [ebp - 0x20bc]
mov dword [ebx + 0xdd4], ecx
mov dword [ebx + 0xdd0], eax
mov byte [ebp - 0x3c2d], 1
mov esi, dword [ebp - 0x3c34]
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x436a27
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0xffffffff
mov bl, byte [ebp - 0x3c2d]
test bl, bl
je 0x436a3e
mov edx, dword [ebp - 0x3c3c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 4
mov dword [ecx + 0xc], 0x57
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x3c2d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret 4