Function at 0x403330
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47f8c6
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 4], 0
sete al
test al, al
jne 0x403451
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x40339d
nop word [eax + eax]
push dword [esi + 8]
mov ecx, ebx
call fcn.004714e0
mov esi, dword [esi]
push edi
call fcn.004314a6
add esp, 4
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x403380
mov eax, dword [ebx]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov dword [ebx + 4], 0
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x4034c2
push ebx
sub esp, 0x18
lea edx, [esi + 0x10]
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4033e9
mov eax, dword [ecx]
jmp 0x4033eb
mov eax, ecx
push 0xffffffffffffffff
push 0
push edx
mov byte [eax], 0
call fcn.00403de0
call fcn.00405e70
add esp, 0x1c
cmp byte [esi + 0xd], 0
jne 0x403447
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40342c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x403447
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x403420
jmp 0x403447
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x403445
cmp esi, dword [eax + 8]
jne 0x403445
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x403435
mov esi, eax
cmp esi, dword [edi]
jne 0x4033c8
jmp 0x4034c2
lea ecx, [ebp - 0x60]
call fcn.0042ff50
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 1
call fcn.004301f0
push dword [ebp + 8]
push 0x402fe0
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x3c]
push eax
call fcn.00408780
add esp, 4
cmp dword [eax + 0x10], 0
sete al
test al, al
mov eax, dword [ebp - 0x28]
sete bl
cmp eax, 0x10
jb 0x4034a3
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00404120
test bl, bl
mov ebx, dword [ebp + 8]
je 0x4034b3
push ebx
call fcn.00405ed0
add esp, 4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0042ff90
cmp dword [edi + 4], 0
sete al
test al, al
je 0x4034d2
call fcn.004031c0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00403770
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx]
mov dword [ebp - 4], 2
mov esi, dword [ecx]
cmp esi, ecx
je 0x4035b5
nop
mov eax, dword [ebp + 0x10]
lea ebx, [esi + 0x10]
mov eax, dword [eax]
mov edx, eax
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x403529
mov edi, dword [ebx]
cmp dword [ecx + 0x10], edi
jae 0x40351f
mov ecx, dword [ecx + 8]
jmp 0x403523
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x403515
cmp edx, eax
je 0x40353c
mov ecx, dword [ebx]
cmp ecx, dword [edx + 0x10]
jb 0x40353c
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x10]
jmp 0x403542
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
cmp dword [ecx], eax
jne 0x403554
lea eax, [ebp - 0x1c]
push eax
push dword [ebx]
call fcn.00406aa0
add esp, 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push ebx
push 0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402990
cmp byte [esi + 0xd], 0
jne 0x4035a7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40358c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4035a7
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x403580
jmp 0x4035a7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4035a5
cmp esi, dword [eax + 8]
jne 0x4035a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x403595
mov esi, eax
mov eax, dword [ebp + 8]
cmp esi, dword [eax]
jne 0x403500
mov eax, dword [ebp - 0x1c]
mov esi, eax
cmp eax, dword [eax]
je 0x403697
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp byte [esi + 0xd], 0
mov ecx, esi
je 0x4035d2
mov eax, dword [esi + 8]
jmp 0x403618
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4035f0
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x403618
mov eax, ecx
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
je 0x4035e3
jmp 0x403618
mov edx, dword [esi + 4]
cmp byte [edx + 0xd], 0
jne 0x40360f
nop dword [eax]
cmp ecx, dword [edx]
jne 0x40360f
mov ecx, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x403600
cmp byte [ecx + 0xd], 0
mov eax, ecx
cmove eax, edx
push dword [eax + 0x10]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x403642
push 0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0xd], 0
je 0x40364d
mov esi, dword [esi + 8]
jmp 0x40368c
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x40366d
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x40368c
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x403660
jmp 0x40368c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x403685
cmp esi, dword [eax]
jne 0x403685
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x403676
cmp byte [esi + 0xd], 0
cmove esi, eax
mov eax, dword [ebp - 0x1c]
cmp esi, dword [eax]
jne 0x4035c5
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
jne 0x4036a8
call fcn.004031c0
mov eax, dword [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004717a0
push dword [ebp - 0x1c]
call fcn.004314a6
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret