Function at 0x499d21
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca61b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x499d74
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
push 1
push 0x28a6
push dword [ebp - 0x6c]
push dword [ebp - 0x34]
call fcn.00499f7c
add esp, 0x10
jmp 0x499f6b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x76a5
mov dword [ebp - 0x74], str.gbmx_hfxbnfx_tnrle_sdk_xdobykjpp_wtldioub_wssidk_wlmejkj_lfsxvkt_anylzbclo_ouxkpqjcq
cmp dword [ebp - 0x24], 0x7827
jle 0x499e7b
push 0
push 0x244d
call dword [sym.imp.USER32.dll_ValidateRect]
and dword [ebp - 0x20], 0
jmp 0x499dcd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3af2
jge 0x499e73
and dword [ebp - 0x1c], 0
jmp 0x499de7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4130
jge 0x499e6e
and dword [ebp - 0x14], 0
jmp 0x499dfd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3c22
jge 0x499e69
and dword [ebp - 0x18], 0
jmp 0x499e13
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4a77
jge 0x499e67
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shl edx, cl
and eax, edx
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xa0]
call fcn.00401993
pop ecx
pop ecx
mov ecx, eax
call fcn.00450c0f
push eax
call fcn.004b40b7
pop ecx
lea ecx, [ebp - 0xa0]
call fcn.00450c05
jmp 0x499e0c
jmp 0x499df6
jmp 0x499de0
jmp 0x499dc6
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x7623
jge 0x499e97
push dword [ebp - 0x74]
call fcn.004b40b7
pop ecx
jmp 0x499eb3
or dword [ebp - 4], 0xffffffff
jmp 0x499ebd
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x499ef5
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x88], eax
push 0x3401
push 0
push dword [ebp - 0x88]
push dword [ebp - 0x4c]
push 0x2d66
call fcn.004835b9
add esp, 0x14
jmp 0x499f6b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x499f3d
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
push 1
mov ecx, dword [ebp - 0x48]
call fcn.00450e1d
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x499f6b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
push 0
mov ecx, dword [ebp - 0x70]
call fcn.00450e1d
mov eax, dword [eax]
add eax, 0x45cd
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret