Function at 0x10042ae4
Capabilities:
Clear file content
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073a6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10042b39
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x10042b34
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x100432eb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x158], 0xfffffff6
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10042b95
push 0x6d0
push 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10042bba
push 0
push 0x1d4c
push 0x3933
push 0x31a3
call fcn.100441a6
add esp, 0x10
and dword [ebp - 0x40], 0
jmp 0x10042bd0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x40], eax
jge 0x100432eb
push 2
lea ecx, [ebp - 0x58]
call fcn.10024d89
and dword [ebp - 4], 0
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x2c], 0xfffffffe
mov dword [ebp - 0x24], 1
mov dword [ebp - 0xa8], 0x10a83afd
mov dword [ebp - 0xf8], 0xfc353271
mov dword [ebp - 0xf4], 0xfc353271
mov dword [ebp - 0xf0], 0xfc353271
mov dword [ebp - 0xec], 0xfc353271
lea ecx, [ebp - 0x35]
call fcn.10009032
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x178]
call fcn.10024e1f
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x154]
call fcn.10024de5
mov byte [ebp - 4], 1
mov dword [ebp - 0x64], 0x1c76
mov dword [ebp - 0xbc], 0xbeba
mov dword [ebp - 0x18], 0
jmp 0x10042c9b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10042cb1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.10024e10
and dword [eax], 0
jmp 0x10042c94
mov dword [ebp - 0x18], 0
jmp 0x10042cc1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10042cd4
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x10], 0
jmp 0x10042cba
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x10], 1
jmp 0x10042cf9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x10], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10], 0
jl 0x10043085
mov dword [ebp - 0x3c], 0xcf865116
mov dword [ebp - 0x13c], 8
mov dword [ebp - 0x84], 0xd7d2a7e9
mov dword [ebp - 0xd4], 3
mov dword [ebp - 0x4c], 0xfffffff7
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0xe4], 8
mov dword [ebp - 0x28], 0
jmp 0x10042d5a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x10042d70
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x114], 0xd3b51ad
jmp 0x10042d53
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x58]
call fcn.10024e10
cmp dword [eax], 0
je 0x10042d8c
jmp 0x10043085
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x58]
call fcn.10024e10
mov dword [ebp - 0x8c], eax
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x58]
call fcn.10024e10
mov ecx, dword [ebp - 0x8c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0
jne 0x10042df1
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x58]
call fcn.10024e10
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x10042df1
and dword [ebp - 0xd8], 0
jmp 0x10042dfb
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xc0], 0xabfe
je 0x10042e20
mov dword [ebp - 0xb0], 1
jmp 0x10042e27
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xb0], eax
jge 0x10042e3b
mov dword [ebp - 0x60], 1
jmp 0x10042e3f
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x60]
jge 0x10042e53
mov dword [ebp - 0x90], 1
jmp 0x10042e5a
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x58]
call fcn.10024e10
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax]
jle 0x10042e7f
mov dword [ebp - 0x68], 1
jmp 0x10042e83
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xa8], eax
jg 0x10042ea0
mov dword [ebp - 0x70], 1
jmp 0x10042ea4
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x70], eax
jg 0x10042ebe
cmp dword [ebp - 0x84], 0
jne 0x10042ebe
and dword [ebp - 0x98], 0
jmp 0x10042ec8
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x98], eax
jl 0x10042edc
mov dword [ebp - 0x78], 1
jmp 0x10042ee0
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 9
jb 0x10042ef2
mov dword [ebp - 0xb8], 1
jmp 0x10042ef9
and dword [ebp - 0xb8], 0
push 2
lea ecx, [ebp - 0x154]
call fcn.10024e10
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
je 0x10042f19
mov dword [ebp - 0x80], 1
jmp 0x10042f1d
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0x80]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x114]
jl 0x10042f41
mov dword [ebp - 0xa0], 1
jmp 0x10042f48
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x114]
imul eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x94]
jne 0x10042f70
mov dword [ebp - 0x88], 1
jmp 0x10042f77
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x114]
cmp dword [ebp - 0x4c], eax
jge 0x10042fb2
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x10]
lea ecx, [ebp - 0x58]
call fcn.10024e10
cmp dword [eax], 0
je 0x10042fb2
mov dword [ebp - 0x5c], 1
jmp 0x10042fb6
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x5c], eax
jne 0x10042fc7
mov dword [ebp - 0x6c], 1
jmp 0x10042fcb
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x6c], eax
jne 0x10042fdc
mov dword [ebp - 0x74], 1
jmp 0x10042fe0
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xf500
jne 0x10042ff5
cmp dword [ebp - 0x3c], 0
jne 0x10042ff5
and dword [ebp - 0x7c], 0
jmp 0x10042ffc
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x2c]
sub eax, 0x3ccba8e0
cmp eax, dword [ebp - 0x84]
jne 0x10043018
mov dword [ebp - 0x48], 1
jmp 0x1004301c
and dword [ebp - 0x48], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x114]
cmp dword [ebp - 0x48], eax
jle 0x1004303a
mov dword [ebp - 0x9c], 1
jmp 0x10043041
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x9c], eax
jl 0x1004305b
mov dword [ebp - 0xa4], 1
jmp 0x10043062
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
jmp 0x10042ce4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.10024e0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10024e0b
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x1004317f
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.1003eba0
add esp, 0x14
mov dword [ebp - 0x15c], 0xb4e1a362
mov dword [ebp - 0x148], 2
mov dword [ebp - 0x140], 0x9c17633e
mov dword [ebp - 0x124], 0xfffffff9
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x12c], 0xcb8ce3e6
mov dword [ebp - 0x130], 0xda622a14
mov dword [ebp - 0x134], 0xfffffffc
mov dword [ebp - 0x170], 0xa233712
mov dword [ebp - 0x16c], 0xa233712
mov dword [ebp - 0x168], 0xa233712
mov dword [ebp - 0x164], 0xa233712
mov dword [ebp - 0x138], 0xbde6
mov dword [ebp - 0x160], 0xa82e
mov dword [ebp - 0x11c], 0xfffffff8
mov dword [ebp - 0xac], 0xae7
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
jmp 0x10042bc0
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 0x30], 0
jmp 0x10043196
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x100431ac
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x120], 5
jmp 0x1004318f
mov dword [ebp - 0x20], 0
jmp 0x100431bc
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x100431d8
push 0x3bcf
push 0x66e9
push 0
call fcn.10040710
add esp, 0xc
jmp 0x100431b5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xb4]
add ecx, dword [eax + 0xc]
push ecx
push 0x5295
push 0x781a
call fcn.100314e3
pop ecx
pop ecx
call eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc8]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x44]
call fcn.1003156b
add esp, 0xc
mov dword [ebp - 0xd0], 0x263126ff
push 1
lea ecx, [ebp - 0x104]
call fcn.10024d89
mov dword [ebp - 4], 2
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
call fcn.10043ea1
add esp, 0xc
push 0x1aab
push 0
push 0x2eaa
push 0x3ce5
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0xd0]
push eax
push 0x3d78
push 0x76e2
call fcn.10046ff6
add esp, 0x20
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100432bb
push 0x26bb
push 0xab9
push 0x5c6
push 0x1323
push 0
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.10024e0b
push 0
lea eax, [ebp - 0x44]
push eax
push 0x5bbc
push 0x3efc
lea eax, [ebp - 0x14]
push eax
call fcn.10047216
add esp, 0x14
jmp 0x10042bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret