Function at 0x49cdbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb2fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x49d06f
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x40], 0x3920
mov dword [ebp - 0x70], str.iosw_bem_uitp_ymqnteyt_nrot_opgh_gobfapf_mgjneii_gkt_iiywmyw_fcn_nwglmpuy
cmp dword [ebp - 0x40], 0x3c96
jle 0x49ceec
and dword [ebp - 0x34], 0
jmp 0x49ce3c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7dd8
jge 0x49ceec
and dword [ebp - 0x30], 0
jmp 0x49ce56
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x159b
jge 0x49cee7
and dword [ebp - 0x28], 0
jmp 0x49ce70
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x71bd
jge 0x49cee2
and dword [ebp - 0x20], 0
jmp 0x49ce86
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x328a
jge 0x49cee0
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
sar eax, cl
mov ecx, dword [ebp - 0x20]
shl eax, cl
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xdc]
call fcn.004019b1
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b8ce
push eax
call fcn.004b4d47
pop ecx
lea ecx, [ebp - 0xdc]
call fcn.0040b8c4
jmp 0x49ce7f
jmp 0x49ce69
jmp 0x49ce4f
jmp 0x49ce35
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x37d5
jge 0x49cf0b
push dword [ebp - 0x70]
call fcn.004b4d47
pop ecx
jmp 0x49cf27
or dword [ebp - 4], 0xffffffff
jmp 0x49cf31
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x49d020
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x49d016
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x49cfa5
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jg 0x49d014
mov dword [ebp - 0x1c], 0xfffffffc
mov dword [ebp - 0x1c], 0
jmp 0x49cfc4
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x49cff2
push 0x556f
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x648d
push 0
push 0x12d2
push dword [ebp - 0x3c]
push 1
push 1
call fcn.00495493
add esp, 0x24
jmp 0x49cfbd
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.0040bd1c
mov esi, eax
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.0040bd1c
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x49cf9a
jmp 0x49d01e
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x49d06a
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc4], eax
push 1
push dword [ebp - 0x80]
push 0
push 0x25b6
push 0x59c4
push dword [ebp - 0xc4]
push dword [ebp - 0x88]
push 0x4f8a
push 0
call fcn.004809d6
add esp, 0x24
jmp 0x49d28b
lea eax, [ebp + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x44], 0x1ec3
mov dword [ebp - 0xa4], str.zobrp_gga_rkfq
cmp dword [ebp - 0x44], 0x1ee5
jle 0x49d146
and dword [ebp - 0x38], 0
jmp 0x49d0be
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x6f17
jge 0x49d146
and dword [ebp - 0x24], 0
jmp 0x49d0d4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2b63
jge 0x49d141
and dword [ebp - 0x2c], 0
jmp 0x49d0ea
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6c4b
jge 0x49d13f
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
shl eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0xf4]
call fcn.004019b1
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b8ce
push eax
call fcn.004b4d47
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.0040b8c4
jmp 0x49d0e3
jmp 0x49d0cd
jmp 0x49d0b7
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x49d1e8
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x49d1b9
mov byte [ebp - 0x11], 0
push 0x21e7
push 0x706a
push 0x2c96
push 1
push 0x6ea7
push 0x20f9
push 1
push 0x1674
push 0x6ec7
push 0x1f23
lea eax, [ebp - 0x11]
push eax
push 1
push 0x34a4
push 0x21d2
push 0xe06
call fcn.0047dd18
add esp, 0x3c
jmp 0x49d1e6
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x49d1e6
push 0
push 0x1df9
push 0x14d9
push 0x3da
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
jmp 0x49d249
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x94]
push 0x5c58
push 1
push dword [ebp - 0x9c]
push 0x76ad
push 0x3e89
push 1
push 0x7e24
push 0x2b31
push 1
push 0x8c5
push 0x22bc
push 0x5bc1
push 1
push 0x5f2d
call fcn.0048bb72
add esp, 0x3c
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x1c0e
jge 0x49d265
push dword [ebp - 0xa4]
call fcn.004b4d47
pop ecx
jmp 0x49d281
or dword [ebp - 4], 0xffffffff
jmp 0x49d28b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret