Function at 0x432370
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b004b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4290
call fcn.00586b10
mov eax, dword [0x620024]
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 esi, ecx
cmp byte [esi + 0xa4], 5
mov dword [ebp - 0x424c], esi
mov dword [ebp - 0x4268], esi
jne 0x432b70
lea eax, [ebp - 0x427c]
xorps xmm0, xmm0
push eax
lea ebx, [esi + 0x9c]
movlpd qword [ebp - 0x427c], xmm0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
mov ecx, ebx
call fcn.0041bd60
mov eax, dword [ebp - 0x427c]
add esp, 4
or eax, dword [ebp - 0x4278]
jne 0x432b70
mov eax, 1
mov dword [ebp - 0x4240], 0x1000
mov dword [ebp - 0x4244], eax
mov dword [ebp - 0x422c], 0
call fcn.00449b3d
mov ecx, eax
test ecx, ecx
je 0x432b8e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4238], eax
lea ecx, [ebp - 0x4290]
mov dword [ebp - 4], 0
call fcn.0044c4f3
mov edx, 0x1000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4220]
call fcn.004352f0
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0xc]
push eax
mov dword [ebp - 0x4228], eax
mov dword [ebp - 0x4270], eax
mov dword [ebp - 0x4230], ebx
call ebx
lea ecx, [esi + 0x1c0]
mov eax, 0x140
push 0xe
push 0x5f71bc
mov word [esi + 0x1f8], ax
mov dword [ebp - 0x4250], ecx
mov dword [ebp - 0x426c], ecx
call fcn.00402d30
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
push dword [ebp - 0x4228]
call ebx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4324dd
push 0
push 0
push dword [esi + 0x16c]
push eax
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x4234], eax
call eax
jmp 0x4324e8
mov eax, dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x4234], eax
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 0x1000
mov dword [ebp - 0x4254], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x4258], eax
mov eax, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x425c], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x98], 0
mov dword [ebp - 0x4274], eax
nop dword [eax]
mov ecx, dword [ebp - 0x4244]
movzx eax, cx
inc ecx
push eax
mov dword [ebp - 0x4244], ecx
push ecx
lea ecx, [ebp - 0x220]
call fcn.0042bbf0
lea eax, [ebp - 0x220]
push eax
lea eax, [esi + 0x9c]
push eax
lea eax, [ebp - 0x4238]
push str.Ede_s_s
push eax
call fcn.00402b00
add esp, 0x18
xor eax, eax
cmp byte [esi + 0x206], al
mov ecx, 3
cmovne eax, ecx
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 1
push 0
push eax
push 0x40000000
push dword [ebp - 0x4238]
call dword [ebp - 0x4254]
mov dword [esi + 0x84], eax
cmp eax, 0xffffffff
je 0x432664
lea eax, [ebp - 0x4238]
push eax
push dword [ebp - 0x4288]
lea ecx, [ebp - 0x4290]
call fcn.0044c8e6
mov eax, dword [ebp - 0x422c]
mov byte [ebp - 4], 2
mov dword [esi + 0x8c], eax
xor al, al
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x88], edi
mov byte [ebp - 0x4221], al
nop word [eax + eax]
mov eax, dword [esi + 0x88]
or eax, dword [esi + 0x8c]
je 0x432627
push 0
push dword [esi + 0x38]
call dword [ebp - 0x4258]
test eax, eax
jne 0x43283f
mov byte [ebp - 0x4221], al
mov eax, dword [ebp - 0x422c]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x84]
mov dword [ebp - 0x4240], edi
mov dword [ebp - 0x422c], eax
call fcn.004266b0
push dword [esi + 0x84]
call dword [ebp - 0x4274]
cmp byte [ebp - 0x4221], 0
jne 0x432530
push dword [ebp - 0x4228]
call ebx
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov byte [esi + 0x1bc], 0x64
call dword [eax + 0x14]
mov ecx, esi
call fcn.00403d40
push dword [ebp - 0x4228]
call ebx
mov ecx, dword [ebp - 0x4250]
push 0xe
push 0x5f7204
call fcn.00402d30
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
push dword [ebp - 0x4228]
call ebx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4326c9
push 0
push 1
push dword [esi + 0x16c]
push eax
call dword [ebp - 0x4234]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
mov eax, dword [ebp - 0x4288]
xor ebx, ebx
mov dword [ebp - 0x423c], eax
test eax, eax
jle 0x432784
mov dword [ebp - 0x422c], ebx
nop
push dword [ebp - 0x4228]
call dword [ebp - 0x4230]
mov eax, dword [ebp - 0x422c]
lea ecx, [esi + 4]
cdq
idiv dword [ebp - 0x423c]
mov byte [esi + 0x1bc], al
mov eax, dword [esi + 4]
call dword [eax + 0x14]
push dword [ebp - 0x4228]
call dword [ebp - 0x4230]
mov eax, dword [esi + 0x168]
test eax, eax
je 0x43273f
push 0
push 1
push dword [esi + 0x16c]
push eax
call dword [ebp - 0x4234]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
cmp dword [ebp - 0x422c], 0
jl 0x432b98
cmp ebx, dword [ebp - 0x4288]
jge 0x432b98
mov eax, dword [ebp - 0x428c]
push dword [eax + ebx*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add dword [ebp - 0x422c], 0x64
inc ebx
cmp ebx, dword [ebp - 0x423c]
jl 0x4326f0
push 1
push 4
lea eax, [ebp - 0x423c]
push eax
call fcn.0044c4b5
test eax, eax
je 0x4327a8
mov edx, 4
lea ecx, [ebp - 0x423c]
call fcn.004343b0
push dword [ebp - 0x4228]
mov ebx, dword [ebp - 0x4230]
call ebx
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov byte [esi + 0x1bc], 0x64
call dword [eax + 0x14]
push dword [ebp - 0x4228]
call ebx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x4327e9
push 0
push 1
push dword [esi + 0x16c]
push eax
call dword [ebp - 0x4234]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
push 0x1000
lea eax, [ebp - 0x4220]
push 0
push eax
call fcn.00588550
add esp, 0xc
lea ecx, [ebp - 0x4290]
call fcn.0044c50a
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x4238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x432838
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x432b72
push 0
lea eax, [ebp - 0x4294]
push eax
push dword [esi + 0x88]
lea eax, [ebp - 0x4220]
push eax
push dword [esi + 0x84]
call dword [ebp - 0x425c]
test eax, eax
je 0x432960
mov eax, dword [esi + 0xb4]
push esi
mov eax, dword [eax + 0xa5]
call eax
add esp, 4
test al, al
je 0x432960
mov eax, dword [ebp - 0x4244]
movzx eax, ax
push eax
lea eax, [ebp - 0x4238]
push 0x5f71dc
push eax
call fcn.00402b00
add esp, 0xc
lea eax, [esi + 0xc]
push eax
call ebx
mov eax, dword [ebp - 0x4238]
mov edi, dword [esi + 0x1c0]
sub edi, 0x10
lea edx, [eax - 0x10]
cmp edx, edi
je 0x43290f
cmp dword [edi + 0xc], 0
jl 0x432900
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x432900
push edx
call fcn.00405670
add esp, 4
mov dword [ebp - 0x4240], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4328f5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4240]
add eax, 0x10
mov dword [esi + 0x1c0], eax
jmp 0x43290f
push dword [eax - 0xc]
lea ecx, [esi + 0x1c0]
push eax
call fcn.00402d30
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x4230]
lea eax, [esi + 0xc]
push eax
call ebx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x43293f
push 0
push 1
push dword [esi + 0x16c]
push eax
call dword [ebp - 0x4234]
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x14]
mov edi, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
mov byte [ebp - 0x4221], 1
jmp 0x43262d
lea edi, [esi + 0xc]
push edi
call ebx
push 0xe
lea ecx, [esi + 0x1c0]
push 0x5f71bc
call fcn.00402d30
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
mov ecx, ebx
call dword [eax + 0x14]
add dword [esi + 0x88], 0xffffffff
push edi
adc dword [esi + 0x8c], 0xffffffff
call dword [ebp - 0x4230]
push 0xffffffffffffffff
push 0xffffffffffffff9c
push dword [esi + 0x8c]
push dword [esi + 0x88]
call fcn.00586de0
add eax, 0x64000
mov ecx, ebx
adc edx, 0
shrd eax, edx, 0xc
mov byte [esi + 0x1bc], al
mov eax, dword [ebx]
call dword [eax + 0x14]
push 1
push ebx
lea ecx, [ebp - 0x42a0]
call fcn.0044c3e1
movzx eax, byte [esi + 0x1bc]
xor edx, edx
cmp dword [esi + 0x4c], 2
mov dword [ebp - 0x4248], eax
jne 0x432a12
imul eax, dword [esi + 0x1dc], 0x64
mov ecx, dword [esi + 0x1d8]
div ecx
xor edx, edx
mov dword [ebp - 0x4260], eax
mov eax, dword [ebp - 0x4248]
div ecx
mov ecx, dword [ebp - 0x4260]
add cl, al
jmp 0x432a49
imul eax, dword [esi + 0x1ec], 0x64
movzx ecx, byte [esi + 0x1f0]
mov edi, dword [esi + 0x1e8]
add eax, ecx
movzx ecx, byte [esi + 0x1f1]
div edi
imul ecx, edi
xor edx, edx
mov ebx, eax
lea edi, [esi + 0xc]
mov eax, dword [ebp - 0x4248]
div ecx
lea ecx, [eax + ebx]
lea ebx, [esi + 4]
mov byte [ebp - 4], 3
mov byte [esi + 0x1bd], cl
lea ecx, [ebp - 0x42a0]
call fcn.0044c483
push edi
mov byte [ebp - 4], 2
call dword [ebp - 0x4230]
mov eax, dword [esi + 0x168]
test eax, eax
je 0x432a84
push 0
push 1
push dword [esi + 0x16c]
push eax
call dword [ebp - 0x4234]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x4230]
mov edi, dword [ebp - 0x4240]
jmp 0x432600
xor al, al
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.00586281
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403300
call fcn.004498c5
int3